Nexus 3 : how to get latest snapshot?

前端 未结 5 1716
日久生厌
日久生厌 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:03

    Using the new REST API on Nexus v3 (exact version 3.17.0) the following request to retrieve the latest snapshot worked for me:

    /service/rest/v1/search/assets/download?sort=version&maven.artifactId=artifactId&maven.baseVersion=x.y.z-SNAPSHOT&maven.extension=jar
    

提交回复
热议问题