首页 文章

如何通过Nexus获取Spring-roo org.springframework.roo.annotations工件

提问于
浏览
1

如何通过Nexus获取Spring-roo org.springframework.roo.annotations神器?

我们使用Nexus作为maven存储库服务器 . 我创建了新的Spring Roo项目,但org.springframework.roo.annotations无法在Eclipse(实际上是STS)或通过 mvn package 解析 . 我已将Nexus中的Spring-roo存储库添加为http://spring-roo-repository.springsource.org/release/并将其添加到公共组中 .

我不知道是否有办法强制maven下载依赖项,以便我可以使用不同的Nexus配置 . 我认为上面的配置是直截了当的 .

我已经通过Nexus Remote "Browse Remote"检查了http://spring-roo-repository.springsource.org/release/远程存储库,并看到那里存在所需的jar .

1 回答

  • 2

    Nexus解决了这个问题:

    • 添加远程存储库spring-roo-repository

    • 添加spring spring-roo-repository作为分组piblic的最后一项

    • 等待一段时间(在我的情况下几个小时,因为我不知道如何让本地maven再次检查丢失的工件)

相关问题