maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Chapon (JIRA)" <>
Subject [jira] [Commented] (MRELEASE-951) Release plugin ignores developmentVersion property
Date Fri, 23 Dec 2016 15:22:58 GMT


Luc Chapon commented on MRELEASE-951:

it works with --batch-mode if I put the developmentVersion in the properties section of the
main pom.xml


So, developmentVersion is taken into account either interactively, or in batch mode if specified
as a pom property, but not in batch mode and specified on the command line by -D.

> Release plugin ignores developmentVersion property
> ---------------------------------------------------------------------
>                 Key: MRELEASE-951
>                 URL:
>             Project: Maven Release Plugin
>          Issue Type: Bug
>         Environment: maven-release-plugin 2.5.3
>            Reporter: Robert Patrick
> I created my file with the following content:
> tag=myproject-2.0.0
> releaseVersion=2.0.0
> developmentVersion=2.1.0-SNAPSHOT
> and invoked the release plugin with:
> mvn --batch-mode release:prepare
> After running the maven-release-plugin, the POM version was set to 2.0.1-SNAPSHOT even
though I told it to set it to 2.1.0-SNAPSHOT.

This message was sent by Atlassian JIRA

View raw message