Hey,
I know it’s a little bit gold but i have maven with component war with this file pom :
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>workflow</groupId>
<artifactId>Portal</artifactId>
<version>${version-prod}</version>
<packaging>war</packaging>
<name>Portal</name>
And on my file pom.xml , i want get my war with this content :
<properties>
<project.version>2019</project.version>
</properties>
<dependencies>
<dependency>
<groupId>workflow</groupId>
<artifactId>Portal</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
</dependencies>
And when i build in Jenkins not works but when in my pom of my war there is <version>2019</version> this works.
I want that this works with <version>${version-prod}</version>
Someone have any idea please community ansible ???
Thank you very much !! :)
Regards
Karther