Matt smith opened MPH-182 and commented
Steps to reproduce:
- Create a Java project with Maven.
- Set a new property called
java.version and set the value to a different value from your installed JDK.
- Run mvn help:evaluate and use the expression
${java.version}
- The Java version that will be output will be your JDK version, not the property value.
Ideal behaviour:
- Value that is output is the value that is within the
java.version property.
Workaround:
- Set another property (e.g.
something) to the value ${java.version}
- Run mvn help:evaluate and use the expression
${something}
- The correct property value will be output.
Attachments:
2 votes, 3 watchers
Matt smith opened MPH-182 and commented
Steps to reproduce:
java.versionand set the value to a different value from your installed JDK.${java.version}Ideal behaviour:
java.versionproperty.Workaround:
something) to the value${java.version}${something}Attachments:
2 votes, 3 watchers