Nexus 3 : how to get latest snapshot?

前端 未结 5 1649
日久生厌
日久生厌 2021-02-10 05:20

As we all know Nexus 3 does not have REST API yet, which is very weird for me. I can only download artifacts manually using wget or curl. But as I\'m using Maven 3, all the snap

5条回答
  •  囚心锁ツ
    2021-02-10 06:12

    This is currently not possible. We are looking at use cases like this one specifically as we build the REST API and you should expect this functionality in the nearish future.

    As alluded to in the comments, you might have a use case where it would be best to still use Nexus Repository Manager 2, for the time being. If you are handy with Groovy and scripting, you might also extend Nexus Repository Manager 3 via the Integration API to do what you describe (and I for one would love to see that). More info on using that is here: https://books.sonatype.com/nexus-book/reference3/scripting.html

提交回复
热议问题