[ 
https://jira.codehaus.org/browse/MASSEMBLY-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli updated MASSEMBLY-591:
---------------------------------------

    Attachment: assembly-dash-classifier-patch.diff

Added patch to fix the problem locally to maven-assembly-plugin.
                
> 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, 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

        

Reply via email to