Maven: Using a Plugin Based On Profile

后端 未结 2 1397
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-13 15:37

I have a file which maintains a build-number for release build. Everytime a release build is made, this number is incremented and the file is saved into svn repository.

2条回答
  •  迷失自我
    2021-02-13 16:38

    Using pluginManagement will not cause the build plugin to run. It is used to specify plugin version and configuration information to child POMs. Also you're missing the 'profile' child element of 'profiles'. Lastly, unless you plan on activating the profile via -P, you'll need some activation criteria.

提交回复
热议问题