$ mvn tomcat:run
[INFO] Scanning for projects...
Downloading: http://objectstyle.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.9/maven-eclipse-plugin-2.9.pom
Downloading/Downloaded: ... [Many more POMs and JARs]
[WARNING] The POM for org.codehaus.mojo:tomcat-maven-plugin:jar:2.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.151s
[INFO] Finished at: Thu Nov 06 17:07:49 PST 2014
[INFO] Final Memory: 13M/322M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.codehaus.mojo:tomcat-maven-plugin:2.2 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for
org.codehaus.mojo:tomcat-maven-plugin:jar:2.2: Failure to find
org.codehaus.mojo:tomcat-maven-plugin:pom:2.2 in
http://objectstyle.org/maven2/ was cached in the local repository,
resolution will not be reattempted until the update interval of objectstyle
has elapsed or updates are forced -> [Help 1]
主要pom.xml文件是在http://kopy.io/NfcicMaven:哪里是org.codehaus.mojo的POM:tomcat-maven-plugin:jar:2.2?
什么是 “本地仓库”?
简而言之,我现在该做什么?
我的代码从https://github.com/cloudfoundry/uaa/叉子其中有8个引用此同一组/神器对超过5个不同的POM文件的工作,所以我怀疑这是问题。回到上游并没有多大的帮助,因为该项目在2014年7月从马文迁移到了Gradle时,删除了pom文件。 – Eric 2014-11-07 18:55:42