0
mvn -P deps                                                    
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.cloudstack:cloudstack:4.0.1-incubating-SNAPSHOT (/usr/local/apache-cloudstack-4.0.1-incubating-src/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org and 'parent.relativePath' points at wrong local POM @ line 23, column 11: Unknown host repo.maven.apache.org -> [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 

有谁能够帮我?

4

1 回答 1

0

在 CloudStack 4.0.0-incubating 之后尝试主要版本的 Maven 说明

要编译 Apache CloudStack,请转到 cloudstack 源文件夹并运行:

mvn -P developer clean install

要部署 Apache CloudStack,请运行:

mvn -P developer -pl developer,tools/devcloud -Ddeploydb

接下来部署数据库:

mvn -P developer -pl tools/devcloud -Ddeploysvr

于 2013-04-24T08:25:39.667 回答