[ https://issues.apache.org/jira/browse/MRELEASE-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359384#comment-16359384 ]
Robert Scholte commented on MRELEASE-935: ----------------------------------------- This should be implemented as a new [VersionPolicy|https://maven.apache.org/maven-release/maven-release-api/apidocs/index.html]. That's the preferred way to solve this. Something like {{KeepVersionPolicy}} (or some better name...) Also be aware there are more special placeholders, not just ${revision} > Support for expression in 'version' tag > --------------------------------------- > > Key: MRELEASE-935 > URL: https://issues.apache.org/jira/browse/MRELEASE-935 > Project: Maven Release Plugin > Issue Type: New Feature > Affects Versions: 2.5.3 > Reporter: Andrea Scarpino > Priority: Critical > Attachments: support_for_revision_in_version.patch > > > The release plugin doesn't support a version value that points to a property > which define the version. > Everytime I use the plugin, the version in the current POM loose the > expression. Maybe it could work using the property to which it points? > {noformat} > $ grep '<version>' pom.xml > <version>${parent.project.version}</version> > $ grep '<parent.project.version>' pom.xml > <parent.project.version>0.0.1-SNAPSHOT</parent.project.version> > {noformat} > Could you please implement this or point me to the files that handle this? -- This message was sent by Atlassian JIRA (v7.6.3#76005)