You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/12/29 00:23:55 UTC

[jira] Closed: (MSHADE-55) dependency conflict causes only .class files included in jar, not .properties

     [ http://jira.codehaus.org/browse/MSHADE-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MSHADE-55.
-----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

> 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
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>         Attachments: pom.xml
>
>
> 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