How do I provide URL access to the latest snapshot of an artifact in Nexus 2.x?

前端 未结 4 1988
陌清茗
陌清茗 2020-12-23 16:17

I would like to provide a simple URL that will always return the latest version of a snapshot version of an artifact. By simple I mean that the URL doesn\'t change, or requ

4条回答
  •  情书的邮戳
    2020-12-23 17:09

    Every repository has its own url (you can see it in the Repository browser). If you open it, you can browse through the group and artifact ids to your artifact. That's your url, for example like this: http://nexushost.domain/content/repositories/snapshots/com/example/group/artifact/1.2.3-SNAPSHOT/1.2.3-SNAPSHOT.jar

提交回复
热议问题