Is it possible to add Maven phase to IntelliJ?

intellij-idea, java, maven

Solution

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.

Problem

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

Original source