custom pom.xml filename in maven multimodule

前端 未结 3 1008
暗喜
暗喜 2021-01-04 10:00

I have a maven3 multimodule project, and for a strange reason i need to customize POM filename for one of my child module (ie: module-pom.xml)

Is it possible to conf

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-04 10:45

    You can override default pom.xml. Maven have -f command option.

    mvn -f /pom.xml clean install
    

提交回复
热议问题