Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to add Maven phase to IntelliJ?

Is it possible to add the "integration-test" phase that Maven offer in IntelliJ? Or does that make no sense?

like image 372
LuckyLuke Avatar asked Nov 03 '22 12:11

LuckyLuke


1 Answers

If your pom.xml includes the Failsafe plugin in its build configuration (see the Failsafe usage page) then in the Maven Projects view in IntelliJ, you should see [ProjectName] -> Plugins -> failsafe -> failsafe:integration-test. Double-click on it to run the integration-test goal (note it's a goal, not a phase) or right-click on it and click "Create..." to add an IntelliJ run configuration for the integration-test goal.

like image 67
Mark Peters Avatar answered Nov 10 '22 00:11

Mark Peters