How to stop IntelliJ IDEA from creating new annotation processor profiles when a pom file is changed

254 views Asked by At

I am using IntelliJ IDEA with Maven to write Java application. I have created several modules, created a custom annotation processor profile with a custom Production sources directory property and moved the modules to that profile. I have also enabled the setting that automatically imports the dependencies from the pom.xml file when they are added or changed.

The problem that I am facing is that whenever I change the pom.xml file, IntelliJ creates a new annotation processor profile for each module. I have tried configuring the Production sources directory property for each new module, but they are returned to their default values when the pom is changed again. I have tried using the default profile instead of creating a custom one, but the result is the same.

How can I configure IntelliJ to stop changing the annotation processor profiles?

0

There are 0 answers