In my pom.xml I have the following property:
<properties>
<targetJar>${app.targetPath}/${app.targetName}-${app.version}.jar</targetJar>
</properties>
But really I don't know ${app.version}
! It may change in the future. Today it looks like: app-2.0.0.jar
. Tomorrow it may be app-2.3.1.jar
.
And I must allow it. What are possible solutions?
Your pom.xml has a <properties>
element that looks similar to this and is often located at the beginning of the file:
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<spring.framework.version>3.0.6.RELEASE</spring.framework.version>
<spring.batch.version>2.1.7.RELEASE</spring.batch.version>
</properties>
Within that element your version numbers are defined! They will not change by itself !
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.