Maven profiles are inherited from parent projects to child projects. In IDEA profiles inherited from parent project are not shown in 'Maven projects' tool window.
Steps to reproduce:
- Unzip the attached sample. It has two projects: 'sample-parent' project, with profile 'parent-profile' and 'sample-child' project with profile 'child-profile'
- Execute mvn install from command line for 'sample-parent' project and than for 'sample-child' project
- Open 'sample-child' project in IDEA
Expected behavior:
The 'Profiles' tree in 'Maven projects' tool window shows both 'parent-profile' and 'child-profile' profiles
Actual behavior:
The 'Profiles' tree in 'Maven projects' tool window shows only 'child-profile' profile, but not the 'parent-profile' profile, while you may run 'sample-child' with 'parent-profile' from command line (mvn install -P parent-profile)