0
我剛剛安裝了SpringSource工具包2.7.1的全新副本,並試圖從SVN,導入工作項目時,我嘗試建立它,我得到以下錯誤:新鮮Eclipse中缺少Maven2的文物安裝
31/07/11 17:15:04 ART: Missing artifact taglibs:standard:jar:1.1.2:compile
31/07/11 17:15:04 ART: Missing artifact cglib:cglib:jar:2.1_3:compile
31/07/11 17:15:04 ART: Missing artifact org.springframework:spring-context:jar:3.0.5.RELEASE:compile
31/07/11 17:15:04 ART: Missing artifact org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
31/07/11 17:15:04 ART: Missing artifact org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
31/07/11 17:15:04 ART: Missing artifact org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
...
31/07/11 17:15:04 ART: Maven Builder: FULL_BUILD requireFullBuild
31/07/11 17:15:04 ART: [WARN]
31/07/11 17:15:04 ART: [WARN] Some problems were encountered while building the effective model for com.asd:si:war:1.0.0-BUILD-SNAPSHOT
31/07/11 17:15:04 ART: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 312, column 12
31/07/11 17:15:04 ART: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 373, column 12
31/07/11 17:15:04 ART: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 320, column 12
31/07/11 17:15:04 ART: [WARN]
31/07/11 17:15:04 ART: [WARN] It is highly recommended to fix these problems because they threaten the stability of your build.
31/07/11 17:15:04 ART: [WARN]
31/07/11 17:15:04 ART: [WARN] For this reason, future Maven versions might no longer support building such malformed projects.
31/07/11 17:15:04 ART: [WARN]
在我的pom.xml中配置好所有依賴關係,這個項目在其他安裝中工作正常...
任何想法?謝謝
其他裝置是什麼意思?這些其他安裝在不同的機器上嗎? – mkro
請注意:如果使用隨sts 2.7.1提供的嵌入式maven,則maven爲版本3.檢查您的settings.xml是否與其他安裝中安裝的相同。 –
@mkro:你是對的,在其他機器上。 –