Having a maven project build its own dependencies?

前端 未结 7 2249
故里飘歌
故里飘歌 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:30

    This is not possible in Maven 1, 2 or 3.

    I'd recommend to give up this idea, because Maven's whole purpose is to enforce standardized development process. Don't fight the structure, just create a parent POM module and make the WAR module and other dependencies underneath it.

提交回复
热议问题