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

The plugin should merge the profiles on a release:perform

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0-beta-4
    • Fix Version/s: None
    • Component/s: perform
    • Labels:
      None

      Description

      In my super-pom, I have set the following arguments:

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-release-plugin</artifactId>
              <configuration>
                <arguments>-Dmaven.test.skip.exec=true -P m1-deploy</arguments>
                <useReleaseProfile>false</useReleaseProfile>
              </configuration>
            </plugin>
      

      I want to skip the tests during a release and enable a profile that will also deploy the artifacts in my maven1 repository.

      However for some projects I want to enable more profiles on the command line.
      After the prepare, they are written in the release.properties and executed by the perform goal.
      However, maven does not support multiple -P arguments on the command line.

      I would be nice if the plugin could detect and merge multiple -P arguments

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                dcendents Daniel Beland
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: