[ 
https://issues.apache.org/jira/browse/MRELEASE-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Scarpino updated MRELEASE-935:
-------------------------------------
    Description: 
The release plugin doesn't support a version value that points to a property 
which define the version. Could you please implement this or point me to the 
files that handle this?

$ 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>

$ mvn release:prepare -DreleaseVersion=1.0
[WARNING] 'version' contains an expression but should be a constant.

  was:
The release plugin doesn't support a version value that points to a property 
which define the version. Could you please implement this or point me to the 
files that handle this?

```
$ 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>

$ mvn release:prepare -DreleaseVersion=1.0
[WARNING] 'version' contains an expression but should be a constant.
```


> 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
>
> The release plugin doesn't support a version value that points to a property 
> which define the version. Could you please implement this or point me to the 
> files that handle this?
> $ 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>
> $ mvn release:prepare -DreleaseVersion=1.0
> [WARNING] 'version' contains an expression but should be a constant.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to