org.apache.maven.report.projectinfo.dependencies.Dependencies.mapArtifactFiles(DependencyNode,
Map) wreaks havoc upon artifacts file names
------------------------------------------------------------------------------------------------------------------------------------------
Key: MPIR-146
URL: http://jira.codehaus.org/browse/MPIR-146
Project: Maven 2.x Project Info Reports Plugin
Issue Type: Bug
Components: dependencies
Affects Versions: 2.1
Environment: all
Reporter: Kay Schubert
org.apache.maven.report.projectinfo.dependencies.Dependencies.mapArtifactFiles(org.apache.maven.shared.dependency.tree.DependencyNode,
java.util.Map), line "anode.getArtifact().setFile( projartifact.getFile() );".
The culprit is when anode.getArtifact() returns the main jar-artifact, and
projartifact is the test-jar-artifact. As you can see, the main jar-artifact's
file name is set to that of the test-jar-artifact.
When this happens, a subsequently executed javadoc goal composes an erroneous
classpath.
--
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