如何通过API在nexus存储库管理器中搜索依赖项?

问题描述 投票:0回答:1

我的所有存储库都在关系列表中。我想要一个可用于在该关系中搜索特定依赖项的API。对于前-如果我想要'ojdbc'依赖项,那么我应该只提供'ojdbc',并且api应该在nexus中搜索并向我返回依赖项列表,其中包含诸如groupId,artifactId和version之类的信息(如果存在多个匹配项,则为多个) )。

另外,我可以修改相同的查询以使用用户提供的groupId,artifactId和版本进行过滤吗?

spring maven nexus
1个回答
0
投票

我了解Nexus提供的REST API,可用于搜索资产,甚至获取该资产。请通过-https://help.sonatype.com/repomanager3/rest-and-integration-api

搜索资产或组件-https://help.sonatype.com/repomanager3/rest-and-integration-api/search-api

© www.soinside.com 2019 - 2024. All rights reserved.