Maven - Parent Pom - Child Inheritance

前端 未结 3 738
-上瘾入骨i
-上瘾入骨i 2020-12-25 13:51

I am attempting to make a maven parent pom setup where I don\'t have to declare any plugin information in my child pom, everything is taken from the parent pom.

I es

3条回答
  •  Happy的楠姐
    2020-12-25 14:41

    You can't avoid naming the plugin in the child pom, cause how should maven know which plugin are you using. The pluginManagement section is intended for defining the versions of plugin furthermore it's used to define a default configuration.

提交回复
热议问题