Hi I am trying to achieve something like this:
In a parent pom, I have
Compil
Yes you can activate the profile depending one or variety of parameters like env
variables.
...
development
!environment.type
If you are trying to have different packaging depending on X than you can use the assembly plugin and do your magic there http://maven.apache.org/plugins/maven-assembly-plugin/
More on the activation property