How does IntelliJ create artifacts from pom files?

We have a big project that uses Maven. I do not use mvn idea:idea, I just open the maven project in IntelliJ, and most of the work is done in terms of setting up artifacts.

Some parameters of the artifact that I need to do manually, since the artifact created in IntelliJ is not identical to the one that was created at startup mvn clean installfrom the command line. Every time a pom file changes, I need to reapply these manual settings. (These are the settings for the EJB and EAR artifact, if that changes anything.)

Is there any way to get IntelliJ for these steps automatically for me? Or is there an article I can read about how IntelliJ generates artifact settings from pom files?

Thanks in advance:)

[EDIT]

To be clear, the pom file is already imported automatically when there are changes. These are the manual changes that I applied after the previous lost import, which I would like to know how to automatically recover.

+3
source share
1 answer

Starting with version 10.0, IDEA can be configured to automatically re-import changes to POM files.

+1
source

All Articles