Okay, moved a bit further by running mvn -P deps, but still have an error 
message:


[INFO] Building jar: 
/home/andrei/cloudstack/cloudstack/plugins/event-bus/rabbitmq/target/cloud-mom-rabbitmq-4.4.0.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-plugin-example-dns-notifier ---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-mom-rabbitmq ---
[ERROR] Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2.1 or one of 
its dependencies could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2.1: Could not transfer 
artifact org.apache.maven.plugins:maven-assembly-plugin:pom:2.2.1 from/to 
central (http://repo.maven.apache.org/maven2): Connection reset -> [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/PluginResolutionException
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-plugin-planner-skip-heurestics ---
[INFO] Building jar: 
/home/andrei/cloudstack/cloudstack/plugins/deployment-planners/user-concentrated-pod/target/cloud-plugin-planner-user-concentrated-pod-4.4.0.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-plugin-planner-user-concentrated-pod ---
make: *** [build-indep-stamp] Error 1



Thanks for your help

andrei


----- Original Message -----
From: "Andrei Mikhailovsky" <and...@arhont.com>
To: users@cloudstack.apache.org
Sent: Tuesday, 12 August, 2014 12:32:20 PM
Subject: Re: working howto for building cloudstack from sources

Erik,

just tried to follow the guide in the link that you've sent 
(http://www.terbolo.us/?p=5) and have the following error:

[INFO] Scanning for projects...
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom
Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: 
Connection reset
Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.cloudstack:cloudstack:4.4.0 
(/home/andrei/cloudstack/cloudstack/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): 
Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, 
column 11 -> [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
make: *** [build-indep-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Any idea on how to fix it?

My build platform is Ubuntu 12.04

Thanks

Andrei

----- Original Message -----
From: "Erik Weber" <terbol...@gmail.com>
To: users@cloudstack.apache.org
Sent: Tuesday, 12 August, 2014 10:35:11 AM
Subject: Re: working howto for building cloudstack from sources

On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky <and...@arhont.com>
wrote:

> Hello guys,
>
> I was hoping someone could share a working howto on building cloudstack
> from sources. In particular, I am planning to build 4.4.0 .deb packages
> with several cherrypicks and my build server is Ubuntu 12.04 with the
> latest updates.
>
> I've followed two different howtos, both from the cloudstack website, but
> unfortunately, they are a bit different and they produce different errors
> when executing "mvn3 -P deps".
>
> Thanks
>
>

Try this: http://www.terbolo.us/?p=5

A word of advice; cherry-picking can have unforseen consequences if done in
the wrong order, or if you miss a commit.
ie. one commit might depend on another and cause havoc if that isn't there.

Erik

Reply via email to