Maven check for updated dependencies in repository

后端 未结 6 721
借酒劲吻你
借酒劲吻你 2020-11-29 15:45

Is there a Maven plugin that allows you to check if there are newer versions of dependencies available in the repository?

Say, you are using dependency X with versio

6条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 16:17

    In projects with a large number of dependancies, you sometimes keep your versions in a properties section.

        
            3.15.0
            1.11.763
            3.3.6
    
    

    In the case where you are only interested in updates to those versions, you can use the following command

    mvn versions:display-property-updates

    This gives a more condensed view and only returns the versions you need to update in the properties section.

提交回复
热议问题