I have a parent tag in pom.xml like this:
<parent><groupId>com.de</groupId><artifactId>MyApplication</artifactId><version>2.5.7-SNAPSHOT</version><relativePath>../pom.xml</relativePath></parent>
Also I have different profiles:
<profiles><profile><id>default-environment-settings</id><properties><app.env>dev</app.env></properties><activation><activeByDefault>true</activeByDefault></activation></profile><profile><id>xyz</id><properties><app.env>profile2</app.env></properties><activation><activeByDefault>false</activeByDefault></activation></profile><profiles>
Now I want that my application's version is managed by profiles not as a global parent so that each profile can have it's private version number.