This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250449 - Support Transitive dependency excludes (Maven 3.2.x+)
Summary: Support Transitive dependency excludes (Maven 3.2.x+)
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 15:03 UTC by terje7601
Modified: 2017-01-18 12:33 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-02-16 15:03:15 UTC
Since Maven 3.2.1, a new feature called "Transitive dependency excludes" ( http://maven.apache.org/docs/3.2.1/release-notes.html ) is available. This allows to use "*" as a wildcard, to exclude all transitive dependencies without having to specify them.

However, NetBeans does not support this feature:
- in the "Source" view of pom.xml, it gives warnings:
       'dependencies.dependency.exclusions.exclusion.groupId' for com.mycompany:myartifact:jar with value '*' does not match a valid id pattern.
       'dependencies.dependency.exclusions.exclusion.artifactId' for com.mycompany:myartifact:jar with value '*' does not match a valid id pattern.
- in the "Graph" view of pom.xml, it still shows the excluded dependencies

PS: resolving this bug should go together with upgrading the Maven version that is bundled with NetBeans (at least to version 3.2.1, but preferably to 3.2.5+)
Comment 1 malinkody 2017-01-18 12:33:59 UTC
I've been watching this issue, since its annoying me whenever I edit a pom.xml file. It doesn't really affect the work outside of being eye candy. 

Still not fixed in 8.2.