[ https://issues.apache.org/jira/browse/MDEP-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MDEP-234: --------------------------------------- Description: For example, check out http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/web/ (note: you'll need to specify the xwiki remote repo in your settings.xml as mentioned here: http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven ) When you run "mvn dependency:tree" (or dependency:list) you get: {noformat} [INFO] [dependency:tree {execution: default-cli}] [INFO] com.xpn.xwiki.products:xwiki-enterprise-web:war:2.1-SNAPSHOT [INFO] +- com.xpn.xwiki.platform:xwiki-web-standard:war:2.1-SNAPSHOT:compile [INFO] +- com.xpn.xwiki.platform.plugins:xwiki-plugin-watchlist:jar:1.20-SNAPSHOT:compile [INFO] +- com.xpn.xwiki.platform.plugins:xwiki-plugin-jodatime:jar:1.4-SNAPSHOT:compile ... {noformat} As you can see the com.xpn.xwiki.platform:xwiki-web-standard:war dependency doesn't contain any transitive deps but it has several of them (see http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/pom.xml ) This is probably because the general artifact resolver stops at WAR packaging types. While this is probably fine when executing a maven project, it isn't when listing all project dependencies. Thanks was: For example, check out http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/web/ (note: you'll need to specify the xwiki remote repo in your settings.xml as mentioned here: http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven ) When you runt "mvn dependency:tree" (or dependency:list) you get: {noformat} [INFO] [dependency:tree {execution: default-cli}] [INFO] com.xpn.xwiki.products:xwiki-enterprise-web:war:2.1-SNAPSHOT [INFO] +- com.xpn.xwiki.platform:xwiki-web-standard:war:2.1-SNAPSHOT:compile [INFO] +- com.xpn.xwiki.platform.plugins:xwiki-plugin-watchlist:jar:1.20-SNAPSHOT:compile [INFO] +- com.xpn.xwiki.platform.plugins:xwiki-plugin-jodatime:jar:1.4-SNAPSHOT:compile ... {noformat} As you can see the com.xpn.xwiki.platform:xwiki-web-standard:war dependency doesn't contain any transitive deps but it has several of them (see http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/pom.xml ) This is probably because the general artifact resolver stops at WAR packaging types. While this is probably fine when executing a maven project, it isn't when listing all project dependencies. Thanks > Make the list and tree mojos support listing transitive dependencies for war > artifact types > ------------------------------------------------------------------------------------------- > > Key: MDEP-234 > URL: https://issues.apache.org/jira/browse/MDEP-234 > Project: Maven Dependency Plugin > Issue Type: Improvement > Components: tree > Affects Versions: 2.1 > Reporter: Vincent Massol > Priority: Major > Attachments: overlay-example-project.zip > > > For example, check out > http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/web/ > (note: you'll need to specify the xwiki remote repo in your settings.xml as > mentioned here: > http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven ) > When you run "mvn dependency:tree" (or dependency:list) you get: > {noformat} > [INFO] [dependency:tree {execution: default-cli}] > [INFO] com.xpn.xwiki.products:xwiki-enterprise-web:war:2.1-SNAPSHOT > [INFO] +- com.xpn.xwiki.platform:xwiki-web-standard:war:2.1-SNAPSHOT:compile > [INFO] +- > com.xpn.xwiki.platform.plugins:xwiki-plugin-watchlist:jar:1.20-SNAPSHOT:compile > [INFO] +- > com.xpn.xwiki.platform.plugins:xwiki-plugin-jodatime:jar:1.4-SNAPSHOT:compile > ... > {noformat} > As you can see the com.xpn.xwiki.platform:xwiki-web-standard:war dependency > doesn't contain any transitive deps but it has several of them > (see http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/pom.xml ) > This is probably because the general artifact resolver stops at WAR packaging > types. While this is probably fine when executing a maven project, it isn't > when listing all project dependencies. > Thanks -- This message was sent by Atlassian Jira (v8.3.4#803005)