Issue Type: Improvement Improvement
Affects Versions: 2.1-alpha-2
Assignee: Unassigned
Created: 18/May/13 6:27 PM
Description:

There currently does not seem to be a simple way of dropping the '-SNAPSHOT' portion of the version, while still overriding the release portion (such as to have a release version like "1.el6").

Attempting to simply override the release, without also overriding the version, causes the plugin to complain with:

[WARNING] error: line 2: Illegal char '-' in: Version: X.X.X-SNAPSHOT

instead of normal substitution rules documented for the auto-versioning of the release attribute.


It would be nice to automatically, or with a configuration option, strip the '-SNAPSHOT' off the version as is done when one doesn't specify a release attribute, but throw it away instead of using it for the time-stamped release attribute, if a user has overridden the release attribute in the plugin configuration.

This improvement would enable testing of building an RPM prior to tagging a release.

Project: Mojo RPM Plugin
Priority: Major Major
Reporter: Christopher Tubbs
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to