如何解决BUILD FAILURE项目教程DevKit mulesoft

时间:2015-03-11 13:38:41

标签: maven mule-studio

我正在尝试第一次使用mulesoft的DevKit,我正在关注mulesoft的链接:http://www.mulesoft.org/documentation/display/current/Tutorial+-+Barn+Connector。我已经从Mule工作室安装了DevKit插件,之后我尝试创建Anypoint连接器项目,就像导游说的那样,但我发现了Maven的问题。 我的错误是:

[INFO] Downloading: http://repository.mulesoft.org/releases/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
[INFO] Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
[INFO] Downloading: http://repository.mulesoft.org/snapshots/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml from/to codehaus-plugin-snapshots (http://snapshots.repository.codehaus.org): Connect to http-proxy.xxx.com:80 [http-proxy.xxx.com/xxx] failed: Connection timed out: connect
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml from/to mulesoft-plugin-releases (http://repository.mulesoft.org/releases/): Connect to http-proxy.xxx.com:80 [http-proxy.xxx.com/xxx] failed: Connection timed out: connect
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml from/to mulesoft-plugin-snapshots (http://repository.mulesoft.org/snapshots/): Connect to http-proxy.xxx.com:80 [http-proxy.xxx.com/xxx] failed: Connection timed out: connect
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to http-proxy.xxx.com:80 [http-proxy.xxx.com/xxx] failed: Connection timed out: connect
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:27 min
[INFO] Finished at: 2015-03-11T13:05:19+01:00
[INFO] Final Memory: 16M/223M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-jar-plugin' from the repositories [local (C:\Users\s\.m2\repository), codehaus-plugin-snapshots (http://snapshots.repository.codehaus.org), mulesoft-plugin-releases (http://repository.mulesoft.org/releases/), mulesoft-plugin-snapshots (http://repository.mulesoft.org/snapshots/), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

如何解决?

2 个答案:

答案 0 :(得分:0)

似乎在maven下载依赖项时发生了一些事情,尝试生成另一个新的连接器。

答案 1 :(得分:-1)

您是否检查过具有指定版本的Maven JAR?

相关问题