Can I use a profile configuration with rpm-maven-plugin that sets the
<release> tag only when I prepare a release?

Something like
    <profiles>
        <profile>
            <id>rpm-release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>rpm-maven-plugin</artifactId>
                        <version>2.1-alpha-4</version>
                        <configuration>
                            <release>${buildNumber}</release>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

Perhaps in conjunction with a maven-release-plugin profile?



--
View this message in context: 
http://mojo.10943.n7.nabble.com/Fix-or-override-for-MRPM-142-tp44422p44637.html
Sent from the User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to