[ 
https://jira.codehaus.org/browse/MRELEASE-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MRELEASE-288:
------------------------------------

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

{code:xml}
      <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>
{code}
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


  was:

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


    
> The plugin should merge the profiles on a release:perform
> ---------------------------------------------------------
>
>                 Key: MRELEASE-288
>                 URL: https://jira.codehaus.org/browse/MRELEASE-288
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 2.0-beta-4
>            Reporter: Daniel Beland
>
> In my super-pom, I have set the following arguments:
> {code:xml}
>       <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>
> {code}
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to