【问题标题】:How to retrieve content in Nexus 3.0 with script API?如何使用脚本 API 在 Nexus 3.0 中检索内容?
【发布时间】:2017-02-13 19:56:30
【问题描述】:

如何检索 Nexus 3 所请求工件的内容,例如 /service/local/artifact/maven/content 在 Nexus 2 中?

我没有在 Intellij IDEA 中看到任何脚本 API。

我可以将哪个 API 用于获取工件、列出工件名称、版本号等 maven 工件操作...?

【问题讨论】:

    标签: maven-2 nexus sonatype


    【解决方案1】:

    没有用于获取工件、列出工件名称、版本号等的 API。REST API 在实现时可能会包含这些功能。

    【讨论】:

      【解决方案2】:

      如前所述,Nexus Repository Manager 3 目前没有 REST API,但稍后会推出。暂时的替代方案是使用我们的脚本 API 来完成您需要的事情,因为它允许您推出自己的 REST API:

      https://books.sonatype.com/nexus-book/3.0/reference/scripting.html

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2023-03-23
        • 2012-12-30
        • 1970-01-01
        • 2012-08-26
        • 2012-12-31
        • 1970-01-01
        相关资源
        最近更新 更多