You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "luke w patterson (JIRA)" <ji...@codehaus.org> on 2008/10/03 20:31:09 UTC

[jira] Updated: (MNG-3769) Excluding transitive dependencies does not work

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

luke w patterson updated MNG-3769:
----------------------------------

    Attachment: MNG-3769-debugging-info.zip

With the pom.xml from attachment 1, I captured some info that might be useful for anyone debugging this.  

See MNG-3769-debugging-info.zip


step 0:

        created empty local repo directory /2.0.9-repo
        created empty local repo directory /2.1.0-M1-repo


step 1: using maven 2.0.9 pointing to /2.0.9-repo, ran org.apache.maven.plugins:maven-dependency-plugin:2.0:tree, goal completed
        console capture is in step1-2.0.9-tree.txt
        content listing of /2.0.9-repo is in step1-2.0.9-repo-contents.txt

step 2: using maven 2.1.0-M1 pointing to /2.1.0-M1-repo, ran org.apache.maven.plugins:maven-dependency-plugin:2.0:tree, goal completed
        console capture is in step2-2.1.0-M1-tree.txt
        content listing of /2.1.0-M1-repo is in step2-2.1.0-M1-repo-contents.txt

step 3: using maven 2.1.0-M1 pointing to /2.0.9-repo, ran org.apache.maven.plugins:maven-dependency-plugin:2.0:tree, goal failed
        console capture is in step3-2.1.0-M1-tree.txt
        content listing of /2.0.9-repo is in step3-2.0.9-repo-contents.txt


> Excluding transitive dependencies does not work
> -----------------------------------------------
>
>                 Key: MNG-3769
>                 URL: http://jira.codehaus.org/browse/MNG-3769
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.1.0-M1
>            Reporter: Dirk Olmes
>            Priority: Blocker
>         Attachments: MNG-3769-debugging-info.zip, pom.xml
>
>
> I'm trying to exclude transitive dependencies of a dependency. This works fine with 2.0.9, however it does not work with 2.1.0-M1.
> Run {{mvn dependency:tree}} on the attached pom.xml with 2.0.9 and note how there is no javax.activation in the tree. Re-run with 2.1.0-M1 and note how javax.activation shows up in the dependencies tree.

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