Nexus を使用している場合、Spring Roo (1.2.3.RELEASE) プロジェクトをコンパイルできません。
mvn は roo.annotations:jar が見つからないと言います
[ERROR] Failed to execute goal on project Roo123: Could not resolve dependencies for project com.example.roo:Roo123:jar:0.1.0.BUILD-SNAPSHOT: Failure to find org.springframework.roo:org.springframework.roo.annotations:jar:1.2.3.RELEASE in http://192.168.16.232:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
ただし、この jar は既にローカルの Maven リポジトリにあります。
Nexus を無効にすると、.m2\settings.xml の名前を変更して正常に動作します。
settings.xml にはミラーが 1 つだけ構成されています
<mirror>
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://192.168.16.232:8081/nexus/content/groups/public</url>
</mirror>
Nexus の設定方法
( http://spring-roo-repository.springsource.org/releaseをプロキシ リポジトリとして追加しても役に立ちません)
更新: 写真を追加します。左側に spring-roo-repository を追加しても役に立ちません。以下の2つの長い回答も役に立ちません。