maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S L (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MDEP-234) Make the list and tree mojos support listing transitive dependencies for war artifact types
Date Tue, 27 Oct 2015 13:58:27 GMT

     [ https://issues.apache.org/jira/browse/MDEP-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S L updated MDEP-234:
---------------------
    Attachment:     (was: overlay-example-project.zip)

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message