This feature has been contributed to m2e 1.5.0. If you're using it or a more recent version, the JBoss Tools version should be uninstalled.
The JBoss Tools team presents Maven Profiles Management, a new Maven Profile selection interface for m2e, that will ease switching between different profiles.
Rather than right-clicking on a project, going to the Properties > Maven page, then manually (mis)typing a list of active or disabled profile, you just use the Ctrl+Alt+P shortcut to open the new Maven Profile selection interface.
The new interface is also accessible from the Maven contextual menu : Right-click on project > Maven > Select Maven Profiles...
The list of available profiles is inferred from profiles defined in :
- the project pom.xml
- the project's parent hierarchy
- user and global maven settings.xml
When several projects are selected, only the common available profiles are displayed for selection. Common profiles are profiles defined in settings.xml or profiles having the same id in different pom.xml.
Learn more about this feature on the JBoss Tools blog
Maven Profiles Management is a part of JBoss Tools and included in JBoss Developer Studio , along with other maven related features.