Question

In the IntelliJ Maven Projects tree-view pane, you can see the Lifecycle tasks for all of the maven modules.

By default, these show "Basic Tasks Only". I can untick this, but then I see everything.....

Is it possible to add just one task (integration-test) to the "Basic Tasks Only" list?

i.e. can the IntelliJ Maven Integration plugin be configured?

Or can I write my own plugin to configure this at runtime?

Any tips appreciated. IntelliJ 12.1.4.

Was it helpful?

Solution

Maven plugin is not configurable like this, it is either showing only basic phases or full lifecycle. A typical workaround for your use case would be to create a Maven run configuration based on the phase you want to launch. If you really want to fine grain the visible phases inside the Maven tool window, you would have to modify the IntelliJ Community Edition, whose code is available, patches are always welcome by JetBrains.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top