Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0.9
-
Fix Version/s: None
-
Component/s: Bootstrap & Build
-
Labels:None
-
Environment:2.0.9, JDK 1.6_07, Windows XPSP3
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
>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.
The way to reproduce this error is simple, even with an empty repository executing the these command with the given pom :
mvn org.codehaus.mojo:dashboard-maven-plugin:1.0.0-beta-1:dashboard
mvn dashboard:dashboard