我正在将我的版本从Karaf
2.2.2
升级到2.2.10
,但在查找一个工件时遇到问题:
Can't resolve bundle org.apache.karaf:org.apache.karaf.management:jar:2.2.10:
Failure to find org.apache.karaf:org.apache.karaf.management:jar:2.2.10
in http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced
这是karaf-standard-features.xml
Karaf
2.2.10
karaf-framework
<bundle>mvn:org.apache.karaf/org.apache.karaf.management/2.2.10</bundle>
{{1}}功能声明中宣告的内容:
{{1}}
我注意到主Maven回购中没有这个工件:
http://mvnrepository.com/artifact/org.apache.karaf/org.apache.karaf.management
但我不知道我还能在哪里找到它?
请指出我正确的Maven回购。
答案 0 :(得分:2)
似乎组ID和工件ID已更改(请参阅here):
<dependency>
<groupId>org.apache.karaf.management</groupId>
<artifactId>org.apache.karaf.management.server</artifactId>
<version>2.2.10</version>
</dependency>