maven发布插件的Bamboo问题

时间:2013-11-07 07:05:52

标签: maven jenkins maven-release-plugin bamboo

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

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]

0 个答案:

没有答案