You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by chetan mehrotra <ch...@gmail.com> on 2010/04/14 16:25:14 UTC
Artifact type getting changed
I was trying to use the Assembly plugin to create a zip consisting of
javadoc, source and class jar files. The Maven project consist of multi
module projects.While writing the assembler descriptor I observed that type
for source jar was getting changed depedending on the phases included in
lifecycle. After putting debug point in assembly plugin code it was observed
that
<groupId>:<artifactId>:java-source:sources
<groupId>:<artifactId>:jar:sources
As I was using the includes without any pattern the source jar got missed
sometimes. I had to change it to a pattern to get the jar included.
Any pointers on why this would be happening?
Chetan Mehrotra
PS: As the project structure is a bit complex one so cannot attach a project
which reproduces the issue.