Having a maven project build its own dependencies?

前端 未结 7 2248
故里飘歌
故里飘歌 2021-02-13 03:40

With maven is it possible to have a top-level project who\'s packaging type is \"war\" which will build itself and all of its dependent modules (packaged as jar) and have the bu

7条回答
  •  南旧
    南旧 (楼主)
    2021-02-13 04:37

    In parent pom, you have to define a sequential order of modules to be compiled. You can add a war packing module to the last in that list. It will simply aggregate all previous compiled code together.

提交回复
热议问题