maven build and install
Answered
I am starting to migrate my environment from Eclipse to IntelliJ.
I first created a bom-pom-master project that most POMs will use as a parent. I then created a core-lib project and setup the POM to inherit from the bom-pom-master.
The obvious reason is that when I built the bom-pom-master project it did not "install" onto the repository, so the core-lib project fails to see it.
I realize I can manually run install, but I know that IntelliJ is able to automatically perform both steps on build or even execute. How do I do that?
Please sign in to leave a comment.
You can configure IntelliJ IDEA to run Maven goals:
https://www.jetbrains.com/help/idea/work-with-maven-goals.html.
You can also set them to run before/after compilation:
https://www.jetbrains.com/help/idea/work-with-maven-goals.html#trigger_goal