[ http://jira.codehaus.org/browse/MSOURCES-7?page=comments#action_68740 ]
Ovidio Mallo commented on MSOURCES-7: ------------------------------------- Hi Brett, this would certainly be a good alternative as, after all, the idea is to have an analogon to an assembly and, furthermore, the assembly plugin already supports nice things such as the <dependencySet> element. However, you would need some way to tell the assembly plugin to take the sources of the resolved dependencies instead of the dependencies themselves (which will typically be the binaries). Of course, a simple flag for telling the assembly plugin to take the sources instead would probably already suffice even though I'm not sure how elegant this would be... In any case, using the assembly plugin would certainly involve _much_ less work! > add mojo for creating a source bundle > ------------------------------------- > > Key: MSOURCES-7 > URL: http://jira.codehaus.org/browse/MSOURCES-7 > Project: Maven 2.x Sources Plugin > Type: New Feature > Versions: 2.0.1 > Reporter: Ovidio Mallo > > > I think it would be nice to have some mojo "source:jar-with-dependencies" or > something similar which not only includes the artifact's sources into the JAR > but also those of its transitive dependencies. This would e.g. allow to > create a source bundle for an assembly created with Maven. > As a concrete example, the "Maven 2.x Plugin for Eclipse" project, which is > no Maven but a simple PDE project, uses the MavenEmbedder assembly. There, it > would be very handy to also have such a source bundle to attach to the > assembly JAR file inside Eclipse for developing and especially for debugging. > Would there maybe be any interest (beside my single use case :-)) in such a > feature? If so, I would eventually give it a try myself if I find the time... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira