Olivier, I think this still needs some discussion. What's the problem
with the activation of the release profile by default? Many Apache
projects depend up on this updated profile and if we just gank it out
to the Maven pom, it will break them all. I think perhaps we can make
it a property to make it easier for people to override with their own
profile, but we need to have this activated by default.

On Mon, Jan 31, 2011 at 3:48 PM,  <ol...@apache.org> wrote:
> Author: olamy
> Date: Mon Jan 31 20:48:26 2011
> New Revision: 1065772
>
> URL: http://svn.apache.org/viewvc?rev=1065772&view=rev
> Log:
> [MPOM-1] apache-release does unwanted things in the prepare goal.
> move <arguments>-Papache-release</arguments> to maven parent pom.
>
> Modified:
>    maven/pom/trunk/asf/pom.xml
>    maven/pom/trunk/maven/pom.xml
>
> Modified: maven/pom/trunk/asf/pom.xml
> URL: 
> http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?rev=1065772&r1=1065771&r2=1065772&view=diff
> ==============================================================================
> --- maven/pom/trunk/asf/pom.xml (original)
> +++ maven/pom/trunk/asf/pom.xml Mon Jan 31 20:48:26 2011
> @@ -189,8 +189,7 @@ under the License.
>           <version>2.1</version>
>           <configuration>
>             <useReleaseProfile>false</useReleaseProfile>
> -            <goals>deploy</goals>
> -            <arguments>-Papache-release</arguments>
> +            <goals>deploy</goals>
>           </configuration>
>         </plugin>
>         <!-- END SNIPPET: release-plugin-configuration -->
>
> Modified: maven/pom/trunk/maven/pom.xml
> URL: 
> http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1065772&r1=1065771&r2=1065772&view=diff
> ==============================================================================
> --- maven/pom/trunk/maven/pom.xml (original)
> +++ maven/pom/trunk/maven/pom.xml Mon Jan 31 20:48:26 2011
> @@ -593,6 +593,20 @@ under the License.
>       <url>scp://people.apache.org/www/maven.apache.org</url>
>     </site>
>   </distributionManagement>
> +
> +  <build>
> +    <pluginManagement>
> +      <plugins>
> +        <plugin>
> +          <groupId>org.apache.maven.plugins</groupId>
> +          <artifactId>maven-release-plugin</artifactId>
> +          <configuration>
> +            <arguments>-Papache-release</arguments>
> +          </configuration>
> +        </plugin>
> +      </plugins>
> +    </pluginManagement>
> +  </build>
>
>   <reporting>
>     <plugins>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to