我正在将Google App Engine,Spring和Tiles2添加到同一个项目中,出于某种原因,Apache Maven会出现此错误。
Missing artifact org.apache.commons:com.springsource.org.apache.commons.collections:jar:3.2.1:compile
这是我的pom.xml,其中包含依赖:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.collections</artifactId>
<version>3.2.1</version>
<type>pom</type>
</dependency>
答案 0 :(得分:5)
我通过添加以下存储库解决了这个问题:
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>EBR Spring Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>EBR External Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>