Eric TOUTUT created MDEP-351:
--------------------------------

             Summary: dependency:tree is not resolved on assembly project with 
ear dependency type
                 Key: MDEP-351
                 URL: https://jira.codehaus.org/browse/MDEP-351
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: tree
    Affects Versions: 2.4
         Environment: Maven 3.0.4, Windows Vista
            Reporter: Eric TOUTUT
         Attachments: assembly-projects.zip

I'd like to get complete dependency:tree on an assembly project that depends on 
ear artifacts

When dependency type is ear, the tree ends at 1st level :
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ assembly ---
[INFO] demo.assembly:assembly:pom:1.0-SNAPSHOT
[INFO] \- demo.assembly:deploy:ear:1.0-SNAPSHOT:compile

If i change dependency type to pom, the tree is complete (i see ear's modules) :
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ assembly ---
[INFO] demo.assembly:assembly:pom:1.0-SNAPSHOT
[INFO] \- demo.assembly:deploy:pom:1.0-SNAPSHOT:compile
[INFO]    \- demo.assembly:webservice:ejb:1.0-SNAPSHOT:compile
[INFO]       \- javax.ejb:ejb-api:jar:3.0:compile

Best regards
Eric

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to