I have been able to make it work with the following configuration
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>prepare</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.1-alpha-4</version>
<configuration>
<release>testing</release>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Running:
mvn -P release release:prepare
mvn release:perform
But I guess I wouldn't need the maven-release-plugin in this profile.
--
View this message in context:
http://mojo.10943.n7.nabble.com/Fix-or-override-for-MRPM-142-tp44422p44639.html
Sent from the User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email