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

Maven to exclude list/wildcard of groupId's or artifactId's from particular repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Settings
    • None

    Description

      Let's say an artifact with GAV :: com.abc : xyz : 0.0.1-SNAOPSHOT is present in repositoryA and repositoryB.

      Want Maven settings to define in such a way, so-that maven only try to pull artifact xyz from repositoryA.
      In other words, wants repositoryA to be used only to pull xyz artifact or any artifact from com.abc group.

      To achieve same, an includes/excludes xml chunk can be defined under repository definition for repositoryB within settings.xml

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kasingal Kapil Singal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: