nexus - 如何重命名 Nexus Repository 3 中的存储库?

标签 nexus nexus3

我正在从 Nexus2 迁移到 Nexus3,并尝试在此过程中进行一些清理。

我真的很想重命名我正在迁移的一些存储库,因为 repositoryID 不如存储库名称那么清晰。在 Nexus 3 中,repositoryId 和 repositoryName 是同一件事,但迁移采用 repositoryId 并删除 repositoryName。

有什么办法可以改变repositoryId吗?

最佳答案

在 NXRM3 中无法更改存储库 ID

不幸的是,NXRM3 中没有独特的 ID 和名称字段。

就我而言,他们必须选择一个来使用,那就是 id,因为名称没有针对被重复的完整验证。因此,他们将不得不编写某种仍然可能不正确的存储库名称翻译算法。

唯一的解决方案是重新创建所有存储库并相应地命名它们。

关于nexus - 如何重命名 Nexus Repository 3 中的存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47063008/

相关文章:

docker - Docker容器要使用相同的Nexus卷?

docker - 启用领域中通常概述的Docker Bearer token 领域

ansible - 如何使用ansible playbook在 "nexus local user and role"中创建 "sonatype nexus"

java - Jenkins - Ant 构建 Maven 部署

node.js - 如何在 yarn 中指定本地注册表?

nexus - 使用运行的计划任务删除快照但不删除工件

maven deploy 使用快照但 404 用于发布

Android 将 kotlin 源代码部署到 maven 存储库

linux - 如何使用 wget 从 Sonatype Nexus 下载工件

maven - 如何备份所有 Nexus 3 Artifact ?