Michal Minicki created MRELEASE-793:
---------------------------------------

             Summary: Release version hinting - stripping SNAPSHOT with 
unsupported versioning
                 Key: MRELEASE-793
                 URL: https://jira.codehaus.org/browse/MRELEASE-793
             Project: Maven 2.x Release Plugin
          Issue Type: Improvement
    Affects Versions: 2.3.2
            Reporter: Michal Minicki


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to