maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-591) Empty classifier in dependency causes extra dash
Date Wed, 24 Oct 2012 14:09:13 GMT

    [ https://jira.codehaus.org/browse/MASSEMBLY-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312196#comment-312196
] 

Antonio Petrelli commented on MASSEMBLY-591:
--------------------------------------------

Wow I almost forgot about this bug. 10 months to apply a patch... Anyway thank you.
                
> 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
>            Assignee: Dennis Lundberg
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: assemblybug.zip, assembly-dash-classifier-patch.diff
>
>
> 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

        

Mime
View raw message