You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2014/03/28 19:00:00 UTC

[jira] (MRELEASE-793) Release version hinting - stripping SNAPSHOT with unsupported versioning

    [ https://jira.codehaus.org/browse/MRELEASE-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343784#comment-343784 ] 

Robert Scholte commented on MRELEASE-793:
-----------------------------------------

[~simonetripodi] and I are working on MRELEASE-431. This would be a nice case to confirm our new API. 

> Release version hinting - stripping SNAPSHOT with unsupported versioning
> ------------------------------------------------------------------------
>
>                 Key: MRELEASE-793
>                 URL: https://jira.codehaus.org/browse/MRELEASE-793
>             Project: Maven Release Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.3.2
>            Reporter: Michal Minicki
>            Priority: Minor
>
> I have a minor request. I know we shouldn't use unsupported versioning scheme but unfortunately we do.
> The version cannot be parsed in such case (obviously), so release version is hinted incorrectly. But maybe you could hint the release version by stripping "-SNAPSHOT" if it is present? It feels like a trivial thing to do without major refactoring. I'm mean just for the first question alone ("What is the release version for ...")
> {code}
> [INFO] Checking dependencies and plugins for snapshots ...
> [WARNING] Error parsing version, cannot determine next version: Unable to parse the version string: "R.22.9-SNAPSHOT"
> What is the release version for "Windykacja MVNO"? (pl.cyfrowypolsat:windykacja-mvno) 1.0: : R.22.9
> What is SCM release tag or label for "Windykacja MVNO"? (pl.cyfrowypolsat:windykacja-mvno) windykacja-mvno-R.22.9: :
> [WARNING] Error parsing version, cannot determine next version: Unable to parse the version string: "R.22.9-SNAPSHOT"
> What is the new development version for "Windykacja MVNO"? (pl.cyfrowypolsat:windykacja-mvno) 1.1-SNAPSHOT: : R.22.10-SNAPSHOT
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)