Hi,

a few days ago I have posted a request on the Maven user list for some
way to create a source bundle for an artifact which not only includes
the artifact's source (as produced by source:jar) but also the sources
of its transitive dependencies. I was told that the closest approach
to this is using the maven-dependency-plugin by specifying the dependency
sources to include. However, in general, this results in duplicated
dependency declarations in the POM file and, furthermore, the transitive
dependency sources are not automatically included.

Therefore, I was thinking of having some kind of source:jar-with-dependencies
mojo which grabs all available sources of the transitive dependencies
and produces a JAR source bundle out of them.

A concrete example where having such a source bundle would be handy is the
Maven embedder assembly which is used in the "Maven2 Plugin for Eclipse"
project: For that project, the source bundle could then be attached to the
embedder assembly, thereby facilitating the development/debugging.

So, the reason for this post is to maybe get some feedback about whether
such a mojo would be interesting to have or whether there would be some
other, better way to go about this. I would then eventually open a JIRA
issue on the subject depending on the feedback.

So, any ideas/feedback are welcome! Thanks in advance!

Best regards,
  Ovidio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to