Sonatype Nexus 3 - get latest snapshot

前端 未结 10 1471
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 06:28

We\'ve just upgraded out nexus installation to the latest release (3.x). Is there any way to get the latest version of a given snapshot artifact? Nexus 2 had a nice API whic

10条回答
  •  梦毁少年i
    2020-12-31 06:56

    If you ask for x.y.z-SNAPSHOT then by default the latest x.y.z-timestamp snapshot version will be downloaded. No need to do anything additional

    If you're asking to find the latest x.y.z-SNAPSHOT version where the x, y, z are guessed - Nexus never had this functionality (it worked only for plugins). And I don't think there is any good use case for this. If this is needed, you're probably doing something wrong. You always should work with a specific version. Actually even for the 1st functionality I can't think of good use cases.

提交回复
热议问题