How do I tell Maven to use the latest version of a dependency?

前端 未结 12 718
慢半拍i
慢半拍i 2020-11-21 11:37

In Maven, dependencies are usually set up like this:


  wonderful-inc         


        
12条回答
  •  广开言路
    2020-11-21 12:32

    Are you possibly depending on development versions that obviously change a lot during development?

    Instead of incrementing the version of development releases, you could just use a snapshot version that you overwrite when necessary, which means you wouldn't have to change the version tag on every minor change. Something like 1.0-SNAPSHOT...

    But maybe you are trying to achieve something else ;)

提交回复
热议问题