Maven. Ignored Files
Use this page to specify the pom.xml files or their paths of Maven modules, which you want to exclude from the Maven project.
Enter the comma-separated list of paths to be ignored during the build. Wildcards are honored. For example, entering
Check the individual files to be ignored during the build. If you have a multi-module project, IntelliJ IDEA lists all POM files of your project. Selecting the checkbox against a POM file will equal ignoring the project or module in the Maven structure. You can also use the Maven tool window to ignore or unignore projects from the importing.