0

我正在尝试将一些工作从詹金斯迁移到竹子,我在这里遇到了一些问题。每当我在竹子中运行作业时,都会收到以下错误:

build   06-Nov-2013 15:46:08    [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands (execute-cli) on project standalone-d1: Execution execute-cli of goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands failed: Plugin org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final or one of its dependencies could not be resolved: Failed to collect dependencies at org.jboss.as.plugins:jboss-as-maven-plugin:jar:7.4.Final -> org.jboss.as:jboss-as-cli:jar:7.2.0.Final-redhat-8 -> org.jboss.remotingjmx:remoting-jmx:jar:1.1.0.Final-redhat-1 -> org.jboss.remoting3:jboss-remoting:jar:3.2.15.GA-redhat-1: Failed to read artifact descriptor for org.jboss.remoting3:jboss-remoting:jar:3.2.15.GA-redhat-1: Could not transfer artifact org.jboss.remoting3:jboss-remoting:pom:3.2.15.GA-redhat-1 from/to apache-repos (http://repository.apache.org): Connection to http://repository.apache.org refused: Connection refused -> [Help 1]
build   06-Nov-2013 15:46:08    [ERROR] 
build   06-Nov-2013 15:46:08    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build   06-Nov-2013 15:46:08    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build   06-Nov-2013 15:46:08    [ERROR] 
build   06-Nov-2013 15:46:08    [ERROR] For more information about the errors and possible solutions, please read the following articles:
build   06-Nov-2013 15:46:08    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
build   06-Nov-2013 15:46:08    [ERROR] 
build   06-Nov-2013 15:46:08    [ERROR] After correcting the problems, you can resume the build with the command
build   06-Nov-2013 15:46:08    [ERROR]   mvn <goals> -rf :standalone-d1

我对那种东西很陌生,所以我不太确定,为了帮助我解决这个问题可能需要什么信息。因此,如果你们能告诉我,我应该在这篇文章中添加什么,那就太好了,这样你们就知道,我可以从哪里开始寻找解决方案。

对我来说,它看起来缺少一些依赖项,但我找不到任何丢失的工件。我的同事说,这可能是 maven-release-plugin 的问题,因为他之前也遇到过类似的问题。虽然他们也无法解决这些问题,但他们很确定,这与插件有关。

更新:将代理信息添加到 后settings.xml,我现在收到另一个错误:

build   07-Nov-2013 09:17:14    [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands (execute-cli) on project standalone-d1: Execution execute-cli of goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands failed: I/O Error could not execute operation '{
build   07-Nov-2013 09:17:14    [ERROR] "address" => [],
build   07-Nov-2013 09:17:14    [ERROR] "operation" => "read-attribute",
build   07-Nov-2013 09:17:14    [ERROR] "name" => "launch-type"
build   07-Nov-2013 09:17:14    [ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
build   07-Nov-2013 09:17:14    [ERROR] -> [Help 1]
4

0 回答 0