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 Patrick (Jira)" <ji...@apache.org> on 2023/04/13 22:15:00 UTC
[jira] [Comment Edited] (MRELEASE-1119) release plugin ignores developmentVersion
[ https://issues.apache.org/jira/browse/MRELEASE-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712110#comment-17712110 ]
Robert Patrick edited comment on MRELEASE-1119 at 4/13/23 10:14 PM:
--------------------------------------------------------------------
{quote}I just ran a release process using the 3.0.0 version of the maven-release-plugin with a release.properties file like this:
{{tag=release-3.0.4}}
{{releaseVersion=3.0.4}}
{{developmentVersion=3.1.0-SNAPSHOT}}
After running {{{}mvn -B release:prepare release:perform{}}}, the pom.xml version is 3.0.5-SNAPSHOT.
{quote}
[~khmarbaise] I thought I was very clear in the original description.
# I created a release.properties file with the tag, releaseVersion, and developmentVersion properties defined in it.
# From the command-line at the basedir, I ran: {{mvn -B release:prepare release:perform}}
The root level POM has a [declaration|https://github.com/oracle/weblogic-deploy-tooling/blob/main/pom.xml#L321-L330] for the maven-release-plugin. No profiles or anything relevant in settings.xml
was (Author: rhpatrick00):
{quote}I just ran a release process using the 3.0.0 version of the maven-release-plugin with a release.properties file like this:
{{tag=release-3.0.4}}
{{releaseVersion=3.0.4}}
{{developmentVersion=3.1.0-SNAPSHOT}}
After running {{{}mvn -B release:prepare release:perform{}}}, the pom.xml version is 3.0.5-SNAPSHOT.
{quote}
[~khmarbaise] I thought I was very clear in the original description.
# I created a release.properties file with the tag, releaseVersion, and developmentVersion properties defined in it.
# From the command-line at the basedir, I ran: {{mvn -B release:prepare release:perform}}
The root level POM has a [declaration|https://github.com/oracle/weblogic-deploy-tooling/blob/main/pom.xml#L321-L330] for the maven-release-plugin.
> release plugin ignores developmentVersion
> -----------------------------------------
>
> Key: MRELEASE-1119
> URL: https://issues.apache.org/jira/browse/MRELEASE-1119
> Project: Maven Release Plugin
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Robert Patrick
> Assignee: Karl Heinz Marbaise
> Priority: Major
>
> I just ran a release process using the 3.0.0 version of the maven-release-plugin with a release.properties file like this:
> {{tag=release-3.0.4}}
> {{releaseVersion=3.0.4}}
> {{developmentVersion=3.1.0-SNAPSHOT}}
> After running {{mvn -B release:prepare release:perform}}, the pom.xml version is 3.0.5-SNAPSHOT.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)