我正在使用没有m2e的Maven,我的mvn install失败了,因为一个插件在Maven中心库里不再可用。 我使用的是一个2008年的旧pom.xml文件,并且必须使用maven-cdk-plugin版本3.3.3.Final。
由于它不再可用,我从别人的电脑上获取了它,并将其放入了我的.m2本地存储库中。 .m2\org\richfaces\cdk\maven-cdk-plugin\3.3.3.Final
然而,我仍然遇到了这个错误。
[ERROR] Plugin org.richfaces.cdk:maven-cdk-plugin:3.3.3.Final or one of its depe
ndencies could not be resolved: Failed to read artifact descriptor for org.richf
aces.cdk:maven-cdk-plugin:jar:3.3.3.Final: Failure to find org.richfaces.cdk:mav
en-cdk-plugin:pom:3.3.3.Final in http://uk.maven.org/maven2 was cached in the lo
cal repository, resolution will not be reattempted until the update interval of
UK has elapsed or updates are forced -> [Help 1]
为什么他要检查maven2呢?它已经在我的本地代码库里了啊!D: 谢谢。