Make IntelliJ IDEA another pom file for maven project

I have a Maven project imported into IntelliJ IDEA. For technical reasons, we have two pom files - pom.xml and pom-local.xml .

I can use the alternate pom file manually using mvn -f pom-local.xml install . IDEA uses pom.xml , but I cannot find any way to change it to pom-local.xml . Any ideas on how to make IDEA use an alternate pom file?

+6
source share

All Articles