$ 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