building Maven modules

Is there a way to build modules under a parent from the Project view, that is, without opening the module project in a new window? It would be nice to be able to right click on the pom.


1 comment

Hi Marvin,

Looks like it can't be done from 'Project' view, but it can be done 'Maven projects' tool window:

1. Open the toolwindow: it should be in right panel, if it is not there it can be opened with 'Ctrl-Shift-A', 'Maven projects',
2. Find the project, it can be done by typing project name in the toolwindow.
3. Expand the project, expand 'Lifecycle' and run the desired goal. Usually what people need is 'install', which means 'build, run unit tests and publish artifacts to local repository'.


Please sign in to leave a comment.