I have three profiles in my pom.xml for our application…
- dev (for use on a developer’s)
- qa (for use on our internal qa server)
- prod (production).
When we run our maven build all three profiles ouput a war file with the same name. I would like to output $profilename-somearbitraryname.war
Any ideas?
You’ve answered yourself correctly:
but there is a simpler way to redefine WAR name:
No
maven-war-pluginis needed.