문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top