如何使用bluemix中的maven修复构建

时间:2016-06-16 14:07:52

标签: maven ibm-cloud devops

我在Bluemix上创建了一个示例应用程序(java自由配置文件)。 当我尝试在Bluemix devops上构建应用程序时(我不对代码进行更改)。我有这个错误消息:

Cloning the 'master' branch from repo 'https://P90MSG01:3041/git/abderrazak/sia-test-build'
[INFO] Scanning for projects...
[INFO] Downloading: http://repo.maven.apache.org/maven2/net/wasdev/maven/parent/java7-parent/1.4/java7-parent-1.4.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project net.wasdev.wlp.sample:JavaHelloWorldApp:1.0-SNAPSHOT (/home/pipeline/1366b39e-02e6-4b9d-bb71-89d6d65b202d/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact net.wasdev.maven.parent:java7-parent:pom:1.4 from/to central (http://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:80 [repo.maven.apache.org/151.101.44.215] failed: Connection refused and 'parent.relativePath' points at no local POM @ line 5, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Finished: FAILED

有原因吗? 谢谢。

1 个答案:

答案 0 :(得分:0)

根据Bluemix Status Page今天,DevOps Delivery Pipeline服务遇到了一些现在应该修复的问题。一些用户遇到管道作业问题。 我建议你现在再试一次,它应该可行。