You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kay Schubert (JIRA)" <ji...@codehaus.org> on 2009/01/07 10:38:19 UTC

[jira] Created: (MPIR-146) org.apache.maven.report.projectinfo.dependencies.Dependencies.mapArtifactFiles(DependencyNode, Map) wreaks havoc upon artifacts file names

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

        

[jira] Updated: (MPIR-146) org.apache.maven.report.projectinfo.dependencies.Dependencies.mapArtifactFiles(DependencyNode, Map) wreaks havoc upon artifacts file names

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPIR-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MPIR-146:
---------------------------------

    Priority: Blocker  (was: Major)

> 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
>            Priority: Blocker
>
> 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

        

[jira] Closed: (MPIR-146) org.apache.maven.report.projectinfo.dependencies.Dependencies.mapArtifactFiles(DependencyNode, Map) wreaks havoc upon artifacts file names

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPIR-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MPIR-146.
--------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 2.2

fixed in [r748352|http://svn.apache.org/viewvc?rev=748352&view=rev]

> 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
>            Assignee: Vincent Siveton
>            Priority: Blocker
>             Fix For: 2.2
>
>
> 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