Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1607

Provide the ability to globally exclude a dependency

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0
    • None
    • Plugins and Lifecycle
    • None

    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?)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            carlos Carlos Sanchez Gonzalez
            memelet Barry Kaplan
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment