Maven update dependencies in POM

前端 未结 5 1498
深忆病人
深忆病人 2020-12-07 15:34

Are there any preexisting Maven plugins or commands to update the dependencies in the POM? Example: (if this was in my POM)



        
5条回答
  •  粉色の甜心
    2020-12-07 16:20

    you can use dependencyManagement in your parent pom:

    
          
              
                  commons-lang
                  commons-lang
                  2.4
              
          
    
    

    this way, you need to change the version only once in the parent POM

提交回复
热议问题