Maven project build details

Answered

Hello,
I have a maven project.

If I click on the Build / Build module '....', does it trigger a mvn clean package or something like that.

What is the maven life-cycle when using the build via the menu ?

Is it possible to see the maven output as if I launch a mvn command in the terminal ?

Thanks.

0
1 comment

If you have the Settings (Preferences on macOS) | Build, Execution, Deployment | Build Tools | Maven | Runner | Delegate IDE build/run actions to Maven option enabled only then IDE actually calls the Maven build when you invoke Build /Build <module name> actions. Then IDE will call mvn clean install command. If this option is not enabled, IDE uses it's own builder which calls the javac directly. The output in both cases is printed in the Build tool window.

0

Please sign in to leave a comment.