How to activate profile by means of maven property?

Edit, complete rewrite, as i understand the question now.

See this forum post:

profile activation is based on SYSTEM properties.
you cannot activate profiles based on properties defined in your pom
you cannot activate profiles based on system properties defined after the
build plan has started execution

Leave a Comment