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

When releaseVersion and developmentVersion are passed in command-line but are empty should be treated as not-defined

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.4
    • prepare
    • None

    Description

      In my case I would like to pass releaseVersion and developmentVersion taken from user input, e.g. from Hudson Release Plugin:

      release:prepare release:perform -DreleaseVersion=${RELEASE_VERSION} -DdevelopmentVersion=${DEVELOPMENT_VERSION}
      

      however if user leaves input fields empty it would be nice if maven-release-plugin would treat empty values as non-defined and fallback to default behaviour: inherit the next version from pom. Currently it breaks down with message 'Unable to parse the version string ""'.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            dma_k Dmitry Katsubo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: