How can I execute several maven plugins within a single phase and set their respective execution order?

前端 未结 2 1392
谎友^
谎友^ 2021-02-07 06:43

I would like to breakup certain phases in the maven life cycle into sub phases. I would like to control the execution flow from one sub-phase to another, sort of like with ant d

2条回答
  •  -上瘾入骨i
    2021-02-07 07:13

    Plugins bound to the same phase should be executed in the same order as they are listed in the POM. Under certain circumstances (e.g. if you bind the same plugin to a phase twice, like the antrun plugin), this may not occur but this is a bug (see MNG-2258 and the related issue MNG-3719).

提交回复
热议问题