Collapsing parent POM into the child

后端 未结 3 897
半阙折子戏
半阙折子戏 2021-02-09 21:44

Given a maven project with a parent POM - including mostly plugin and dependency versions - how can I generate a POM which takes the information from the parent, places it into

3条回答
  •  青春惊慌失措
    2021-02-09 22:38

    Would mvn help:effective-pom do what you need? You can send the output to a file with -Doutput=new-pom.xml.

提交回复
热议问题