[ 
https://issues.apache.org/jira/browse/MSHARED-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17358277#comment-17358277
 ] 

Gabriel Belingueres commented on MSHARED-788:
---------------------------------------------

I think it is for the best. In the verbose IT, in the expected-verbose.txt 
file, there are 3 cases that IMO are wrong (presenting as a cycle the same 
artifact as a direct dependency):

1) batik-anim:

+- org.apache.xmlgraphics:batik-anim:jar:1.7:compile
 | +- (org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-dom:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-ext:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-parser:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-anim:jar:1.7:compile - omitted for cycle)

2) batik_svg-dom:

+- org.apache.xmlgraphics:batik-svg-dom:jar:1.7:compile
 | +- (org.apache.xmlgraphics:batik-svg-dom:jar:1.7:compile - omitted for cycle)

 

3) batik-bridge (appears twice as a direct dependency at the same level):

\- org.apache.xmlgraphics:batik-bridge:jar:1.7:compile
 +- org.apache.xmlgraphics:batik-anim:jar:1.7:compile
 | +- (org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-dom:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-ext:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-parser:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-anim:jar:1.7:compile - omitted for cycle)
 | +- (org.apache.xmlgraphics:batik-svg-dom:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-util:jar:1.7:compile - omitted for 
duplicate)
 | +- (xml-apis:xml-apis:jar:1.3.04:compile - omitted for duplicate)
 | \- (xml-apis:xml-apis-ext:jar:1.3.04:compile - omitted for duplicate)
 +- org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile
 | \- (org.apache.xmlgraphics:batik-util:jar:1.7:compile - omitted for 
duplicate)
 +- org.apache.xmlgraphics:batik-css:jar:1.7:compile
 | +- (org.apache.xmlgraphics:batik-ext:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-util:jar:1.7:compile - omitted for 
duplicate)
 | +- (xml-apis:xml-apis:jar:1.3.04:compile - omitted for duplicate)
 | \- (xml-apis:xml-apis-ext:jar:1.3.04:compile - omitted for duplicate)
 +- org.apache.xmlgraphics:batik-dom:jar:1.7:compile
 | +- (org.apache.xmlgraphics:batik-css:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-ext:jar:1.7:compile - omitted for duplicate)
 | +- (org.apache.xmlgraphics:batik-util:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-xml:jar:1.7:compile - omitted for duplicate)
 | +- (xalan:xalan:jar:2.6.0:compile - omitted for duplicate)
 | +- (xml-apis:xml-apis:jar:1.3.04:compile - omitted for duplicate)
 | \- (xml-apis:xml-apis-ext:jar:1.3.04:compile - omitted for duplicate)
 +- org.apache.xmlgraphics:batik-ext:jar:1.7:compile
 | \- (xml-apis:xml-apis:jar:1.3.04:compile - omitted for duplicate)
 +- (org.apache.xmlgraphics:batik-bridge:jar:1.7:compile - omitted for cycle)
 +- org.apache.xmlgraphics:batik-gvt:jar:1.7:compile
 | \- (org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile - omitted for 
duplicate)
 +- org.apache.xmlgraphics:batik-parser:jar:1.7:compile
 | +- (org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile - omitted for 
duplicate)
 | +- (org.apache.xmlgraphics:batik-util:jar:1.7:compile - omitted for 
duplicate)
 | \- (org.apache.xmlgraphics:batik-xml:jar:1.7:compile - omitted for duplicate)
 +- (org.apache.xmlgraphics:batik-bridge:jar:1.7:compile - omitted for cycle)

 

> Add functionality to collect raw dependencies in Maven 3+
> ---------------------------------------------------------
>
>                 Key: MSHARED-788
>                 URL: https://issues.apache.org/jira/browse/MSHARED-788
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-dependency-tree
>    Affects Versions: maven-dependency-tree-3.0, maven-dependency-tree-3.0.1
>            Reporter: Gabriel Belingueres
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: maven-dependency-tree-3.1.0
>
>          Time Spent: 10m
>
> Add funcionality allowing to collect raw project dependencies. Add a layer to 
> hide against Maven 3's sonatype aether and Maven 3.1+ eclipse aether.
> This could be used to implement dependencyConvergence and 
> requireUpperBoundDeps enforcer rules.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to