Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I would like to be able to exclude all transitive dependencies from a certain dependencies. This is especially useful when depending on an artifact with a classifier that may not have the same dependencies as the main artifact. Currently the only way to do this is by excluding each dependency individually which requires significant effort and is prone to becoming out of date. The following syntax is one possibility.
Exclude all transitive dependencies
<exclusion> <groupId>*</groupId> </exclusion>
Exclude transitive dependencies with the groupId "org.company"
<exclusion> <groupId>org.company</groupId> <artifactId>*</artifactId> </exclusion>
Attachments
Attachments
Issue Links
- is duplicated by
-
MNG-5537 Remove invalid warnings
- Closed
- is related to
-
MNG-2315 Add option to exclude all transitive dependencies for a particular one
- Closed
-
MEAR-73 Property to disable transitive dependencies resolving
- Closed
- relates to
-
MNG-7843 Allow glob patterns in dependency exclusions
- Closed
-
MENFORCER-269 RequireUpperBoundDeps does not consider wildcard (*) excluded transitive dependencies
- Closed