Maven 2 & 3

Provide the ability to globally exclude a dependency

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Plugins and Lifecycle
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

Some dependencies you simply never want downloaded no matter what. For example, when using jdk 1.5 xml-apis.jar causes headaches. But many projects require this dependency.

Therefore it would be nice to support a 'never' download setting. Maybe:

<dependencyManagement>
<excludedDependencies>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</dependency>
</excludedDependencies>
</dependencyManagement>

(Or is there another way to do this now?)

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: