Maven plugin version not specified

后端 未结 3 1211
闹比i
闹比i 2021-02-05 06:30

I have just noticed that plugin\'s version is optional in maven. I can still build my module without specifying it. Let\'s take an example with maven-bundle-plugin.



        
3条回答
  •  被撕碎了的回忆
    2021-02-05 07:22

    There are few steps maven follows to resolve the plugin version. It is documented as in Resolving Plugin Versions section of http://maven.apache.org/guides/introduction/introduction-to-plugin-registry.html

    The documentation seems to have been moved, since 7yrs of this post. It is available at Maven 3.x Compatibility Notes as @ceilfors mentioned in his answer.

提交回复
热议问题