Maven exec:java goal on a multi-module project

前端 未结 3 1629
星月不相逢
星月不相逢 2020-12-05 13:05

I\'m trying to run exec-maven-plugin\'s exec:java goal on a simple two-module project where one module depends on the other. So far I can\'t find a

3条回答
  •  情深已故
    2020-12-05 13:36

    See this answer for a single-command alternative without mvn install:

    https://stackoverflow.com/a/26448447/1235281

    By using skip in the parent pom.xml, you can tell Maven to only run exec:java on a specific submodule.

    GitHub: https://github.com/Oduig/mavenfiddle

提交回复
热议问题