Reputation: 18597
In Eclipse one could see the maven build log by going to Console
window, clicking new and then selecting Maven Console
.
How could I see maven log output in IntelliJ?
Upvotes: 21
Views: 31509
Reputation: 116
I had the same problem with seeing no console output.
Reason was, I had a non-existing JRE in my Maven configuration, and running Maven from the Maven toolbar opened neither the Run tab nor displayed any kind of error message.
Check: Settings > Build, Execution, Deployment > Build Tools > Maven > Runner > JRE
Upvotes: 0
Reputation: 9
IDEA is calling Maven via API so there is no regular console output available.
Upvotes: 0
Reputation: 2844
If you configure a Maven Launch-Configuration and execute it the according Maven build output will be displayed in the Run
-Tab by default:
(Note: There is a Tab Logs
where you can configure additional log relevant settings such as logging to a file).
If you dont like to setup a Run-Configuration for each Maven build (in Intellij as it seems you cant just right click a pom.xml
and click run as...
) you can call Maven directly from the Tab Terminal
(Note: In my scenario the system variable M2_HOME
was set to the maven installation directory and added to the windows PATH
variable - after that you can run mvn
from any directory - especially from directories containing pom.xml
files)
Upvotes: 8