Nexus 3 : how to get latest snapshot?

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

    I found the answer in another post here: Nexus 3 Rest api to check if component exist

    I commented in the

    found = found.unique().sort(); 
    

    line and called it with the following parameters:

    -d',,,-SNAPSHOT,latest'
    

    YMMV but this did it for me. I was then able to construct a wget with the result of this query.

提交回复
热议问题