How does Maven resolve plugin versions?

后端 未结 3 1836
难免孤独
难免孤独 2021-02-19 00:49

I\'m reading the docs and still confused as to how Maven is deciding which versions of plugins to download.

For example, consider this simple scenario:

  1. an
3条回答
  •  南笙
    南笙 (楼主)
    2021-02-19 01:33

    Every version of Maven binaries has certain versions of plugin versions hardcoded. That's to make a somewhat reproducible build in the cases when user doesn't provide his own version information. Which you are encouraged to do and once you populate section with the plugin versions of your choice, the build will start using it.

提交回复
热议问题