Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-793

Release version hinting - stripping SNAPSHOT with unsupported versioning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 2.3.2
    • None
    • None
    • None

    Description

      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 ...")

      [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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              martel MichaƂ Minicki
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: