日期:2014-05-18  浏览次数:20696 次

请高手指教我的maven2为什么创建失败了?
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-surefire-plugin
:pom:2.4.3' from repository AsiainfoCUVSD (http://vsd.asiainfo.com/maven): Error
 transferring file: Connection timed out: connect
Downloading: http://repos.zeroturnaround.com/maven2/org/apache/maven/plugins/mav
en-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-surefire-plugin
:pom:2.4.3' from repository zt-repo (http://repos.zeroturnaround.com/maven2): Er
ror transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
re-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-surefire-plugin
:pom:2.4.3' from repository central (http://repo1.maven.org/maven2): Error trans
ferring file: Connection refused: connect
[INFO] ------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-surefire-plugin

Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in reposi
tory: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-surefire-plugin:pom:2.4.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  jboss2 (https://repository.jboss.org/nexus/content/groups/public),
  bonecp-repo (http://jolbox.com/bonecp/downloads/maven),
  AsiainfoCUVSD (http://vsd.asiainfo.com/maven),
  zt-repo (http://repos.zeroturnaround.com/maven2),
  jboss (http://repository.jboss.com/maven2)

 for project org.apache.maven.plugins:maven-surefire-plugin


[INFO] ------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Thu Mar 28 08:49:33 GMT 2013
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------