You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marek Gregor (JIRA)" <ji...@apache.org> on 2017/01/25 11:29:26 UTC
[jira] [Updated] (MNG-6162) Maven dependency:tree doesn't show
transitive dependencies of war dependency
[ https://issues.apache.org/jira/browse/MNG-6162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marek Gregor updated MNG-6162:
------------------------------
Description:
When I have following dependency:
{code:xml}
<dependency>
<groupId>com.company.project</groupId>
<artifactId>project-war-artifact</artifactId>
<version>1.0-SNAPSHOT</version>
*<type>war</type>*
</dependency>
{code}
then running dependency:tree will print:
{noformat}
com.company.project:complete-web:war:1.0-SNAPSHOT
[INFO] +- com.company.project:project-war-artifact:war:1.0-SNAPSHOT:compile
[INFO] +-...
{noformat}
but will not show transitive dependencies of module project-war-artifact. In spite of this state, transitive dependencies are correctly bundled to final artifact (in this case complete-web.war).
was:
When I have following dependency:
<dependency>
<groupId>com.company.project</groupId>
<artifactId>project-war-artifact</artifactId>
<version>1.0-SNAPSHOT</version>
*<type>war</type>*
</dependency>
then running dependency:tree will print:
com.company.project:complete-web:war:1.0-SNAPSHOT
[INFO] +- com.company.project:project-war-artifact:war:1.0-SNAPSHOT:compile
[INFO] +-...
but will not show its transitive dependencies, but in spite of this, transitive dependencies are correctly bundled to final artifact (in this case complete-web.war)
> Maven dependency:tree doesn't show transitive dependencies of <type>war</type> dependency
> ------------------------------------------------------------------------------------------
>
> Key: MNG-6162
> URL: https://issues.apache.org/jira/browse/MNG-6162
> Project: Maven
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.3.9
> Reporter: Marek Gregor
>
> When I have following dependency:
> {code:xml}
> <dependency>
> <groupId>com.company.project</groupId>
> <artifactId>project-war-artifact</artifactId>
> <version>1.0-SNAPSHOT</version>
> *<type>war</type>*
> </dependency>
> {code}
> then running dependency:tree will print:
> {noformat}
> com.company.project:complete-web:war:1.0-SNAPSHOT
> [INFO] +- com.company.project:project-war-artifact:war:1.0-SNAPSHOT:compile
> [INFO] +-...
> {noformat}
> but will not show transitive dependencies of module project-war-artifact. In spite of this state, transitive dependencies are correctly bundled to final artifact (in this case complete-web.war).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)