Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Manage maven project version by profiles not by parent

$
0
0

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.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>