[ https://jira.codehaus.org/browse/MASSEMBLY-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285887#comment-285887 ]
Antonio Petrelli commented on MASSEMBLY-591: -------------------------------------------- Using Maven 3.0.3 as a dependency for maven-assembly-plugin the bug still exists. > Empty classifier in dependency causes extra dash > ------------------------------------------------ > > Key: MASSEMBLY-591 > URL: https://jira.codehaus.org/browse/MASSEMBLY-591 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2.2 > Reporter: Antonio Petrelli > Priority: Minor > Attachments: assemblybug.zip > > > When having a dependency with an empty classifier element, adding it as a > dependency set causes an extra dash to appear in the file name. > For example, when I add a dependency of this type (notice the empty > classifier element): > [snip] > <dependency> > <groupId>org.apache.tiles</groupId> > <artifactId>tiles-api</artifactId> > <version>2.2.2</version> > <classifier /> > </dependency> > [/snip] > and I put it inside the assembly descriptor: > [snip] > <dependencySets> > <dependencySet> > <outputDirectory>/</outputDirectory> > </dependencySet> > </dependencySets> > [/snip] > I see that the tiles-api jar contains an extra dash in its name: > tiles-api-2.2.2-.jar -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira