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

[regression] Repositories from inactive profiles are used for artifact resolution

    XMLWordPrintableJSON

Details

    Description

      e.g. the following snippet from the {{setttings.xml}

      <profile>
        <id>apache-staging</id>
        <repositories>
          <repository>
            <id>apache.staging</id>
            <url>https://repository.apache.org/content/groups/staging</url>
            <snapshots>
            	<enabled>false</enabled>
            </snapshots>
          </repository>
        </repositories>
      </profile>
      

      causes Maven to query r.a.o. for artifacts although the profile hasn't been activated.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: