I have a parent project that defines a property, for example:
<properties>
<myproject-version>1.0</myproject-version>
</properties>
In a 'child' project I use
<parent>
<groupId>com.home</groupId>
<artifactId>my-modules</artifactId>
<version>${myproject-version}</version>
</parent>
Everything works nice, but when Maven installs jar in repository, it creates pom like
<parent>
<groupId>com.home</groupId>
<artifactId>my-modules</artifactId>
<version>${myproject-version}</version>
</parent>
And I need that value of my-version to be replaced with 1.0
<parent>
<groupId>com.home</groupId>
<artifactId>my-modules</artifactId>
<version>1.0</version>
</parent>
Is there any way to do that? I need 1.0 because of some compilation problems that occure when other projects use my project as dependency. (They look for a version ${myproject-version} instead of '1.0'