Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: maven-dependency-tree-1.2
-
Fix Version/s: None
-
Component/s: maven-dependency-tree
-
Labels:None
-
Environment:vista
-
Number of attachments :
Description
DefaultDependencyTreeBuilder does not seem to handle managed version ranges. I have attached a JUnit test that throws the NPE.
I ran into this issue when using the maven-bundle-plugin, which uses DefaultDependencyTreeBuilder. I've also attached the full maven project that reproduces this. The scenario is:
bundle-all-test: root project, defines dependency on log4j with a version range and runtime scope in dependencyManagement
proj1: jar project depending on log4j, reducing scope to compile
proj2: pom project depending on proj1
To reproduce, run 'mvn org.apache.felix:maven-bundle-plugin:bundleall' in the proj2 directory.
Issue Links
- is duplicated by
-
MSHARED-77
DependencyTreeResolutionListener throws NullPointerException
-
- relates to
-
MSHARED-77
DependencyTreeResolutionListener throws NullPointerException
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | maven-dependency-tree-fix [ 41907 ] |
| Project | Maven 2 [ 10500 ] | Maven Shared Components [ 11761 ] |
| Component/s | Dependencies [ 12028 ] | |
| Affects Version/s | 2.0.9 [ 13801 ] | |
| Key | MNG-4159 | MSHARED-101 |
| Component/s | maven-dependency-tree [ 13264 ] | |
| Complexity | Intermediate | |
| Affects Version/s | maven-dependency-tree 1.2 [ 14530 ] |
| Link |
This issue relates to |
| Link |
This issue is duplicated by |