Can I add a Maven phase to IntelliJ?

Can I add the integration-test phase that Maven offers in IntelliJ? Or does it make no sense?

+4
source share
1 answer

If your pom.xml includes the pom.xml plugin in its build configuration (see the Failsafe Usage Page ), then in Maven projects in IntelliJ, you should see [ProjectName] → Plugins → fail-safe → fail-safe: integration test . Double-click it to launch the integration-test target (pay attention to the target, not the phase) or right-click on it and click "Create ..." to add the IntelliJ launch configuration for the integration target.

+2
source

Source: https://habr.com/ru/post/1442539/


All Articles