Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.1.0-M1
-
Component/s: Dependencies
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
I'm trying to exclude transitive dependencies of a dependency. This works fine with 2.0.9, however it does not work with 2.1.0-M1.
Run mvn dependency:tree on the attached pom.xml with 2.0.9 and note how there is no javax.activation in the tree. Re-run with 2.1.0-M1 and note how javax.activation shows up in the dependencies tree.
Activity
luke w patterson
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MNG-3769-debugging-info.zip [ 37382 ] |
luke w patterson
made changes -
| Attachment | MNG-3769-debugging-info-2.zip [ 37383 ] |
Brett Porter
made changes -
| Fix Version/s | 2.1.0-M2 [ 14587 ] | |
| Summary | Excluding transitive dependencies does not work | [regression] Excluding transitive dependencies does not work |
Brett Porter
made changes -
| Fix Version/s | 2.0.10 [ 14112 ] |
Brett Porter
made changes -
| Summary | [regression] Excluding transitive dependencies does not work | [regression] Excluding relocated transitive dependencies does not work |
Benjamin Bentmann
made changes -
| Attachment | mng-3769.txt [ 38982 ] |
John Casey
made changes -
| Assignee | John Casey [ jdcasey ] |
John Casey
made changes -
| Resolution | Fixed [ 1 ] | |
| Assignee | John Casey [ jdcasey ] | Jason van Zyl [ jason ] |
| Status | Open [ 1 ] | Closed [ 6 ] |
With the pom.xml from attachment 1, I captured some info that might be useful for anyone debugging this.
See
MNG-3769-debugging-info.zipstep 0:
created empty local repo directory /2.0.9-repo
created empty local repo directory /2.1.0-M1-repo
step 1: using maven 2.0.9 pointing to /2.0.9-repo, ran org.apache.maven.plugins:maven-dependency-plugin:2.0:tree, goal completed
console capture is in step1-2.0.9-tree.txt
content listing of /2.0.9-repo is in step1-2.0.9-repo-contents.txt
step 2: using maven 2.1.0-M1 pointing to /2.1.0-M1-repo, ran org.apache.maven.plugins:maven-dependency-plugin:2.0:tree, goal completed
console capture is in step2-2.1.0-M1-tree.txt
content listing of /2.1.0-M1-repo is in step2-2.1.0-M1-repo-contents.txt
step 3: using maven 2.1.0-M1 pointing to /2.0.9-repo, ran org.apache.maven.plugins:maven-dependency-plugin:2.0:tree, goal failed
console capture is in step3-2.1.0-M1-tree.txt
content listing of /2.0.9-repo is in step3-2.0.9-repo-contents.txt