[ 
http://jira.codehaus.org/browse/MSHADE-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184468#action_184468
 ] 

Benjamin Bentmann commented on MSHADE-55:
-----------------------------------------

If a full-blown example project isn't feasible, at least the POM snippet 
showing the bits for the Shade Plugin and the corresponding debug output from 
Maven would be appreciated.

> dependency conflict causes only .class files included in jar, not .properties
> -----------------------------------------------------------------------------
>
>                 Key: MSHADE-55
>                 URL: http://jira.codehaus.org/browse/MSHADE-55
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: Maven 2.0.9, Windows
>            Reporter: rick gordon
>            Priority: Minor
>
> My pom had a direct dependency on one version of a jar (3.3.5), but several 
> of the transitive dependencies had a dependency on a later version (3.3.6). 
> Looking at maven debug output (-X) I could see that it was choosing the 3.3.5 
> version because it was 'nearer' than the the 3.3.6 version. But when 
> including it, it would only include the .class files and skip a .properties 
> file in it. Switching the original dependency to the newer version (3.3.6) 
> 'fixed' the problem, so that the .properties file was now included.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to