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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment