[
http://jira.codehaus.org/browse/MOJO-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135336#action_135336
]
Chris Ryan commented on MOJO-929:
---------------------------------
I have a partial fix for this http://jira.codehaus.org/browse/MOJO-1125.
It's not ideal and currently doesn't use timestamps for the SNAPSHOT portion,
however it stops RPM complaining/not working properly with versions containing
'-'.
It simply converts '-' to '_' in version strings.
> Would be nice with more graceful handling of the release strings used by the
> maven release plugin
> -------------------------------------------------------------------------------------------------
>
> Key: MOJO-929
> URL: http://jira.codehaus.org/browse/MOJO-929
> Project: Mojo
> Issue Type: Wish
> Components: rpm
> Reporter: Chris Searle
> Priority: Minor
>
> It seems that RPMs have a profound dislike of - in versions. This conflicts
> somewhat with the -SNAPSHOT ideas in the release plugin.
> It would be nice if we could detect these and handle them so that we could
> use the actual version variable for the artifact rather than having to code
> around it - this would help in that we could then avoid changing the pom when
> releasing a new rpm.
> I'm not sure of the best route - but - we could perhaps create a timestamped
> version for -SNAPSHOT builds?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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