Qualified and unqualified actifact does not resolve dependencies identically
----------------------------------------------------------------------------

                 Key: MNG-3721
                 URL: http://jira.codehaus.org/browse/MNG-3721
             Project: Maven 2
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 2.0.9
         Environment: 2.0.9, JDK 1.6_07, Windows XPSP3
            Reporter: Fabrice Daugan
            Priority: Blocker
         Attachments: output-qualified-offline.txt, output-qualified.txt, 
output-unqualified-offline.txt, output-unqualified.txt, pom.xml

>mvn org.codehaus.mojo:dashboard-maven-plugin:1.0.0-beta-1:dashboard
and
>mvn dashboard:dashboard

executions does not output same things :
First output :
Invalid class loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.

Second output :
No error

This is not a plugin dependant issue, but a maven one.The dependencies are not 
resolved the same way.

Qualified as blocker since we are using two different dashbord plugins :
"org.codehaus.mojo:dashboard-maven-plugin" and 
"com.xebia.mojo:maven-dashboard-plugin"

So we need the qualified name to differenciate them, and also fails our site 
generation.
As attachment the two outputs in debug mode for offline and not offline 
versions and the pom to reproduce the error.
You'll see the "commons-logging:commons-logging:jar:1.1:compile" line in the 
"[DEBUG] Plugin dependencies for:" section, present in the unqualified output, 
but not in qualified output for offline/online version.



-- 
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