Unable to start mvn clean install for a different project in multi-module project

Answered

I am using the 2020.3 version. My project structure is as attached, it is multiple projects within a project.

 

Whenever click on the "Maven Goals" and run mvn clean install, it only does this to one of the projects, pmt-util, although I have chosen a different project it keeps running that Maven command for that particular project. Can someone help me on how I can run the mvn clean install for the other projects? Please do let me know if you want more information.

0
1 comment

Hello,

If you are referring to the Run Anything window, there's a drop-down list in the upper right hand corner where you can choose the context that you would like the command to be executed in: whole project, a module (subproject), or a directory.

More information on working with Maven goals in IntelliJ IDEA: https://www.jetbrains.com/help/idea/work-with-maven-goals.html

0

Please sign in to leave a comment.