Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1041

releaseProfiles parameter has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.0-M1
    • None
    • None
    • None

    Description

      We select a repository to be used in the deploy-goal via a deploy.repository variable, which is set to the production repository when we release a library. Following the maven-release-plugin documentation we configured it like this:

      <build>
        <plugin>
          <artifactId>maven-release-plugin</artifactId> 
          <configuration>                 
            <releaseProfiles>release</releaseProfiles>   
          </configuration>          
        </plugin>
      </build>
      
      <profiles>
        <profile>
          <id>release</id>
          <properties>
            <deploy.repository>prod.mvn</deploy.repository>
          </properties>
        </profile>
      </profile>

      This doesn't work with version 3.0.0-M1. help:show-profiles shows that the release-profile is not activated.

      After downgrading to maven-release-plugin v 2.5.3 it works as expected.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              zisi Simon Zilliken
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: