Using IntelliJ IDEA with Maven projects that use the “generate-sources” or “process-classes” lifecycle phases

前端 未结 1 673
死守一世寂寞
死守一世寂寞 2021-02-19 18:16

I\'m working on a Maven project that uses a plugins bound to the generate-sources and process-classes lifecycle phases. When the project is im

1条回答
  •  Happy的楠姐
    2021-02-19 18:48

    Unfortunately, the only two options for the maven Lifecycle in IntelliJ are Basic and Full (Cog -> untick Show Basic Phases Only).

    If you are happy with it running the full suite of phases you can just run the full set, but otherwise the best option is just to add all the appropriate ones to a run configuration and run that on its own.

    0 讨论(0)
提交回复
热议问题