Issue Details (XML | Word | Printable)

Key: MNG-2031
Type: New Feature New Feature
Status: Closed Closed
Resolution: Duplicate
Priority: Critical Critical
Assignee: Carlos Sanchez
Reporter: Guillaume Nodet
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

Easily disable / exclude transitive dependencies

Created: 02/Feb/06 07:07 AM   Updated: 23/May/06 04:11 PM   Resolved: 23/May/06 04:11 PM
Component/s: Dependencies
Affects Version/s: 2.0.2
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 

Complexity: Intermediate


 Description  « Hide

Transitive dependencies are cool, however, the limitations are very difficult to work around.

  • specification dependencies
  • jarjar dependencies (spring.jar includes all spring-xxx.jar, so no need to include them)
  • remove warning on relocations for transitive dependencies (it's always difficult to tell users: that's not an error, and we can not do anything)
  • poms on ibiblio are all in m2 and never change
  • exclusions for transitive deps can be overriden if manually included

One cool feature would be to allow disabling transitive dependencies in the following ways:

  • disable all transitive deps
  • enable transitive dependencies only for modules of the same project
  • enable transitive deps for specific groupIds
  • disable transitive deps for specific groupIds
  • have a tag/attribute to exclude all transitive deps for one dependency (instead of having list all exclusions)


There are no comments yet on this issue.