I have a very simple question, but I Googled and somehow I couldn\'t find it. I was wondering how can I get the
Run Maven goals You can use several ways to run Maven goals such as use the Run Anything window, use the context menu in the Maven tool window, or create a run configuration for one or several Maven goals.
Run a Maven goal from the Run Anything window
https://www.jetbrains.com/help/idea/work-with-maven-goals.html#run_goal
https://www.journaldev.com/33645/maven-commands-options-cheat-sheet
Maven Commands
Let’s look into some popular and must know maven commands. We will use a sample Maven project to showcase the command output.
This command cleans the maven project by deleting the target directory. The command output relevant messages are shown below.