my issue is that I'm trying to use a variable which is defined inside the parent pom to use it as the version number for the child pom. The only thing special here is that the variable is defined inside a profile of the parent. But when the project deploys to the nexus server, it doesn't change the ${versionstring} section in the pom nor as the filename. (Which it should do)
Hope someone has an idea. Thanks for reading. :)
--- Visual setup ---
parent:
<version>${versionstring}</version>
<properties>
<projectVersion>1.0</versionstring>
</properties>
<profiles>
<profile>
<id>example</id>
<properties>
<versionstring>${projectVersion}-SNAPSHOT</versionstring>
</properties>
</profile>
</profiles>
child:
<version>${versionstring}</version>
<parent>
<artifactId>***</artifactId>
<groupId>***</groupId>
<version>1.14.0.0-SNAPSHOT</version>
</parent>