[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-pluginReason: 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.3from 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] ------------------------------------------------------------------------
这是咋回事了?mavenjava
: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-pluginReason: 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.3from 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] ------------------------------------------------------------------------
这是咋回事了?mavenjava
解决方案 »
- 关于java.lang.NullPointerException问题
- java调用codesoft,如何给lab文件中的变量赋值?那个invoke怎么写啊?
- 请问谁下载了struts2.18并解压成功的啊?我下载两次都是解压失败
- 请各位过来人提提建议
- DAO
- windows 2003 msmq 急 急 急
- apache 服务器中有没有限制 接收请求中文件的大小?
- www.jhost.cn 支持ssh,mysql,php免费空间 邀请码更新
- 字符串替换的问题,我想好好长时间都没有解决
- 连接oracle的问题
- 关于struts2一个很神奇的问题
- servlet 下载Excel输出流,输出流已实现就是不知道怎么下载,并提升保存
把你的pom.xml 贴出来看看
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
请教!!!!!!!!!!!!!!!!!!!!!
C:\Users\tangxin\.m2这个目录下面创建一个settings.xml。内容如下: <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository />
<interactiveMode />
<usePluginRegistry />
<offline />
<pluginGroups />
<servers />
<proxies>
<!-- 使用代理上网 -->
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username></username>
<password></password>
<host>172.16.1.35</host>
<port>80</port>
<nonProxyHosts>localhost|127.0.0.1</nonProxyHosts>
</proxy>
</proxies>
<profiles />
<activeProfiles />
</settings>