How to list all activated profiles in mvn in a multimodule project
maven, maven-profiles
Solution
I double-checked this and indeed, inherited profiles aren't listed when `mvn help:active-profiles` is being called. This is with `maven-help-plugin` version 2.1.1.
There is even a bug-report about this: MPH-79.
As a workaround, you can use older version:
mvn org.apache.maven.plugins:maven-help-plugin:2.0.2:active-profiles ...
Problem
mvn help:active-profiles only list the profiles activate within the project + system settings you call it in. It does not list the profiles that have been enabled/activated from i.e. the parent pom. Any any way to actually see the full list of activated profiles by other means than trial-and-error to look at what properties are enabled or not ?