I\'m trying to activate a maven profile using a property defined inside pom.xml
:
[...]
In recent maven versions (3.5+?) you can create a .mvn
folder at the root of your project and a file .mvn/maven.config
. In this file you can then activate profiles or set properties as you would do on the command line.
-Dactivate.myprofile=true
activate a profile directly
-Pmyprofile
Hopefully maven5 will get support for Mixins, which will probably make build settings more reusable.