Running a specific Maven plugin goal from the command line in a sub-module of a multi-module reactor project

前端 未结 4 1707
半阙折子戏
半阙折子戏 2020-11-29 04:49

I\'m looking for a general technique here, but let\'s give a specific example. I have a multi-module project and I\'d like to run the exec:java goal from the co

4条回答
  •  攒了一身酷
    2020-11-29 05:13

    Pascal's suggestion is probably what you want. Note that it is not currently possible to first compile the dependencies, then run (exec:exec etc.) the app, in a single Maven command: https://jira.codehaus.org/browse/MNG-5059

提交回复
热议问题