You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Charles Moulliard <ch...@gmail.com> on 2012/10/22 17:20:29 UTC

Installation issue during build

Hi,

I try to build the project as explained here
http://incubator.apache.org/cloudstack/develop/environment.html but get two
errors

1) Maven build

mvn -P deps

INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack AWS API Bridge
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[WARNING] The parameter expression: 'project.build.resources' used in mojo:
'process' has been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the
reactor. Reason: Unable to get dependency information: Unable to read the
metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
parent: org.apache:apache for project:
org.apache.rampart:rampart-project:pom:1.5.1 for project
org.apache.rampart:rampart-project:pom:1.5.1
  org.apache.rampart:rahas:mar:1.5.1

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2)

Path to dependency:
1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT

Not a v4.0.0 POM. for project org.apache:apache at
/home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom


2) Ant

ant clean-all build-all

BUILD FAILED
/home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
following error occurred while executing this line:
/home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api.xml:34:
taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
 using the classloader AntClassLoader[]


Regards,

-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Re: Installation issue during build

Posted by Charles Moulliard <ch...@gmail.com>.
Hi,

In the meantime, I have tried to use this image (
http://ke4qqq.wordpress.com/2012/07/07/virtualized-cloudstack-development-environment/)
on a MacBook Pro where VirtualBox is installed. Unfortunately, the two VM
aren't started and I cannot create a new instance. As I'm currently working
on my presentation for ApacheCon 2012 about Cloud with Fuse &
JClouds/CloudStack, I would like to question cloudstack users if there is a
working scenario described somewhere to setup a private cloud using
Cloudstack ?

Regards,

Charles

On Tue, Oct 23, 2012 at 7:41 AM, Rohit Yadav <ro...@citrix.com> wrote:

> Refer:
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+development+environment+on+Mac+OS+X
>
> Looking at your file paths, looks like a Mac OSX; Install brew (most
> painless package manager for OSX):
> ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go<
> http://raw.github.com/mxcl/homebrew/go>)"
> brew doctor
>
> Install cdrtools: (no need to su root, this will take some time)
> brew install cdrtools
>
> Regards.
>
> On 23-Oct-2012, at 1:00 AM, Charles Moulliard <ch007m@gmail.com<mailto:
> ch007m@gmail.com>> wrote:
>
> I use maven 3 and this command mvn -P deps install does not help a lot as
> we have a new error :
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 49.615s
> [INFO] Finished at: Mon Oct 22 21:28:22 CEST 2012
> [INFO] Final Memory: 19M/81M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project
> cloud-console-proxy: Command execution failed. Cannot run program "mkisofs"
> (in directory
> "/Users/chmoulli/Apache/incubator-cloudstack/console-proxy/dist"): error=2,
> No such file or directory -> [Help 1]
> [ERROR]
>
> On Mon, Oct 22, 2012 at 8:25 PM, Chiradeep Vittal <
> Chiradeep.Vittal@citrix.com<ma...@citrix.com>> wrote:
>
> I think the latest (master) instructions are here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven
>
>
> Maven 3 is required.
>
> On 10/22/12 8:20 AM, "Charles Moulliard" <ch...@gmail.com> wrote:
>
> Hi,
>
> I try to build the project as explained here
> http://incubator.apache.org/cloudstack/develop/environment.html but get
> two
> errors
>
> 1) Maven build
>
> mvn -P deps
>
> INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack AWS API Bridge
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The parameter expression: 'project.build.resources' used in
> mojo:
> 'process' has been deprecated. Use 'project.resources' instead.
> [INFO] [remote-resources:process {execution: default}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve dependencies for one or more projects in the
> reactor. Reason: Unable to get dependency information: Unable to read the
> metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
> parent: org.apache:apache for project:
> org.apache.rampart:rampart-project:pom:1.5.1 for project
> org.apache.rampart:rampart-project:pom:1.5.1
> org.apache.rampart:rahas:mar:1.5.1
>
> from the specified remote repositories:
> apache.snapshots (http://repository.apache.org/snapshots),
> central (http://repo1.maven.org/maven2)
>
> Path to dependency:
> 1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT
>
> Not a v4.0.0 POM. for project org.apache:apache at
> /home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom
>
>
> 2) Ant
>
> ant clean-all build-all
>
> BUILD FAILED
> /home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
> following error occurred while executing this line:
> /home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api.x
> ml:34:
> taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
> using the classloader AntClassLoader[]
>
>
> Regards,
>
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>
>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>
>


-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Re: Installation issue during build

Posted by Rohit Yadav <ro...@citrix.com>.
Refer:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+development+environment+on+Mac+OS+X

Looking at your file paths, looks like a Mac OSX; Install brew (most painless package manager for OSX):
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go<http://raw.github.com/mxcl/homebrew/go>)"
brew doctor

Install cdrtools: (no need to su root, this will take some time)
brew install cdrtools

Regards.

On 23-Oct-2012, at 1:00 AM, Charles Moulliard <ch...@gmail.com>> wrote:

I use maven 3 and this command mvn -P deps install does not help a lot as
we have a new error :

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 49.615s
[INFO] Finished at: Mon Oct 22 21:28:22 CEST 2012
[INFO] Final Memory: 19M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project
cloud-console-proxy: Command execution failed. Cannot run program "mkisofs"
(in directory
"/Users/chmoulli/Apache/incubator-cloudstack/console-proxy/dist"): error=2,
No such file or directory -> [Help 1]
[ERROR]

On Mon, Oct 22, 2012 at 8:25 PM, Chiradeep Vittal <
Chiradeep.Vittal@citrix.com<ma...@citrix.com>> wrote:

I think the latest (master) instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven


Maven 3 is required.

On 10/22/12 8:20 AM, "Charles Moulliard" <ch...@gmail.com> wrote:

Hi,

I try to build the project as explained here
http://incubator.apache.org/cloudstack/develop/environment.html but get
two
errors

1) Maven build

mvn -P deps

INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack AWS API Bridge
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[WARNING] The parameter expression: 'project.build.resources' used in
mojo:
'process' has been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the
reactor. Reason: Unable to get dependency information: Unable to read the
metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
parent: org.apache:apache for project:
org.apache.rampart:rampart-project:pom:1.5.1 for project
org.apache.rampart:rampart-project:pom:1.5.1
org.apache.rampart:rahas:mar:1.5.1

from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2)

Path to dependency:
1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT

Not a v4.0.0 POM. for project org.apache:apache at
/home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom


2) Ant

ant clean-all build-all

BUILD FAILED
/home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
following error occurred while executing this line:
/home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api.x
ml:34:
taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
using the classloader AntClassLoader[]


Regards,

--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com


Re: Installation issue during build

Posted by Chiradeep Vittal <Ch...@citrix.com>.
I think you are almost there. You need 'mkisofs'. Pointers here:
http://s.apache.org/BLR


On 10/22/12 12:30 PM, "Charles Moulliard" <ch...@gmail.com> wrote:

>I use maven 3 and this command mvn -P deps install does not help a lot as
>we have a new error :
>
>[INFO]
>------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO]
>------------------------------------------------------------------------
>[INFO] Total time: 49.615s
>[INFO] Finished at: Mon Oct 22 21:28:22 CEST 2012
>[INFO] Final Memory: 19M/81M
>[INFO]
>------------------------------------------------------------------------
>[ERROR] Failed to execute goal
>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project
>cloud-console-proxy: Command execution failed. Cannot run program
>"mkisofs"
>(in directory
>"/Users/chmoulli/Apache/incubator-cloudstack/console-proxy/dist"):
>error=2,
>No such file or directory -> [Help 1]
>[ERROR]
>
>On Mon, Oct 22, 2012 at 8:25 PM, Chiradeep Vittal <
>Chiradeep.Vittal@citrix.com> wrote:
>
>> I think the latest (master) instructions are here:
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Mave
>>n
>>
>>
>> Maven 3 is required.
>>
>> On 10/22/12 8:20 AM, "Charles Moulliard" <ch...@gmail.com> wrote:
>>
>> >Hi,
>> >
>> >I try to build the project as explained here
>> >http://incubator.apache.org/cloudstack/develop/environment.html but get
>> >two
>> >errors
>> >
>> >1) Maven build
>> >
>> >mvn -P deps
>> >
>> >INFO]
>> 
>>>------------------------------------------------------------------------
>> >[INFO] Building Apache CloudStack AWS API Bridge
>> >[INFO]    task-segment: [install]
>> >[INFO]
>> 
>>>------------------------------------------------------------------------
>> >[WARNING] The parameter expression: 'project.build.resources' used in
>> >mojo:
>> >'process' has been deprecated. Use 'project.resources' instead.
>> >[INFO] [remote-resources:process {execution: default}]
>> >[INFO]
>> 
>>>------------------------------------------------------------------------
>> >[ERROR] BUILD ERROR
>> >[INFO]
>> 
>>>------------------------------------------------------------------------
>> >[INFO] Failed to resolve dependencies for one or more projects in the
>> >reactor. Reason: Unable to get dependency information: Unable to read
>>the
>> >metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
>> >parent: org.apache:apache for project:
>> >org.apache.rampart:rampart-project:pom:1.5.1 for project
>> >org.apache.rampart:rampart-project:pom:1.5.1
>> >  org.apache.rampart:rahas:mar:1.5.1
>> >
>> >from the specified remote repositories:
>> >  apache.snapshots (http://repository.apache.org/snapshots),
>> >  central (http://repo1.maven.org/maven2)
>> >
>> >Path to dependency:
>> >1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT
>> >
>> >Not a v4.0.0 POM. for project org.apache:apache at
>> >/home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom
>> >
>> >
>> >2) Ant
>> >
>> >ant clean-all build-all
>> >
>> >BUILD FAILED
>> >/home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
>> >following error occurred while executing this line:
>> 
>>>/home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api
>>>.x
>> >ml:34:
>> >taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
>> > using the classloader AntClassLoader[]
>> >
>> >
>> >Regards,
>> >
>> >--
>> >Charles Moulliard
>> >Apache Committer / Sr. Enterprise Architect (RedHat)
>> >Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>>
>>
>
>
>-- 
>Charles Moulliard
>Apache Committer / Sr. Enterprise Architect (RedHat)
>Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com


Re: Installation issue during build

Posted by Charles Moulliard <ch...@gmail.com>.
I use maven 3 and this command mvn -P deps install does not help a lot as
we have a new error :

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 49.615s
[INFO] Finished at: Mon Oct 22 21:28:22 CEST 2012
[INFO] Final Memory: 19M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project
cloud-console-proxy: Command execution failed. Cannot run program "mkisofs"
(in directory
"/Users/chmoulli/Apache/incubator-cloudstack/console-proxy/dist"): error=2,
No such file or directory -> [Help 1]
[ERROR]

On Mon, Oct 22, 2012 at 8:25 PM, Chiradeep Vittal <
Chiradeep.Vittal@citrix.com> wrote:

> I think the latest (master) instructions are here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven
>
>
> Maven 3 is required.
>
> On 10/22/12 8:20 AM, "Charles Moulliard" <ch...@gmail.com> wrote:
>
> >Hi,
> >
> >I try to build the project as explained here
> >http://incubator.apache.org/cloudstack/develop/environment.html but get
> >two
> >errors
> >
> >1) Maven build
> >
> >mvn -P deps
> >
> >INFO]
> >------------------------------------------------------------------------
> >[INFO] Building Apache CloudStack AWS API Bridge
> >[INFO]    task-segment: [install]
> >[INFO]
> >------------------------------------------------------------------------
> >[WARNING] The parameter expression: 'project.build.resources' used in
> >mojo:
> >'process' has been deprecated. Use 'project.resources' instead.
> >[INFO] [remote-resources:process {execution: default}]
> >[INFO]
> >------------------------------------------------------------------------
> >[ERROR] BUILD ERROR
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO] Failed to resolve dependencies for one or more projects in the
> >reactor. Reason: Unable to get dependency information: Unable to read the
> >metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
> >parent: org.apache:apache for project:
> >org.apache.rampart:rampart-project:pom:1.5.1 for project
> >org.apache.rampart:rampart-project:pom:1.5.1
> >  org.apache.rampart:rahas:mar:1.5.1
> >
> >from the specified remote repositories:
> >  apache.snapshots (http://repository.apache.org/snapshots),
> >  central (http://repo1.maven.org/maven2)
> >
> >Path to dependency:
> >1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT
> >
> >Not a v4.0.0 POM. for project org.apache:apache at
> >/home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom
> >
> >
> >2) Ant
> >
> >ant clean-all build-all
> >
> >BUILD FAILED
> >/home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
> >following error occurred while executing this line:
> >/home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api.x
> >ml:34:
> >taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
> > using the classloader AntClassLoader[]
> >
> >
> >Regards,
> >
> >--
> >Charles Moulliard
> >Apache Committer / Sr. Enterprise Architect (RedHat)
> >Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>
>


-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Re: Installation issue during build

Posted by Chiradeep Vittal <Ch...@citrix.com>.
I think the latest (master) instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven


Maven 3 is required.

On 10/22/12 8:20 AM, "Charles Moulliard" <ch...@gmail.com> wrote:

>Hi,
>
>I try to build the project as explained here
>http://incubator.apache.org/cloudstack/develop/environment.html but get
>two
>errors
>
>1) Maven build
>
>mvn -P deps
>
>INFO]
>------------------------------------------------------------------------
>[INFO] Building Apache CloudStack AWS API Bridge
>[INFO]    task-segment: [install]
>[INFO]
>------------------------------------------------------------------------
>[WARNING] The parameter expression: 'project.build.resources' used in
>mojo:
>'process' has been deprecated. Use 'project.resources' instead.
>[INFO] [remote-resources:process {execution: default}]
>[INFO]
>------------------------------------------------------------------------
>[ERROR] BUILD ERROR
>[INFO]
>------------------------------------------------------------------------
>[INFO] Failed to resolve dependencies for one or more projects in the
>reactor. Reason: Unable to get dependency information: Unable to read the
>metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
>parent: org.apache:apache for project:
>org.apache.rampart:rampart-project:pom:1.5.1 for project
>org.apache.rampart:rampart-project:pom:1.5.1
>  org.apache.rampart:rahas:mar:1.5.1
>
>from the specified remote repositories:
>  apache.snapshots (http://repository.apache.org/snapshots),
>  central (http://repo1.maven.org/maven2)
>
>Path to dependency:
>1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT
>
>Not a v4.0.0 POM. for project org.apache:apache at
>/home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom
>
>
>2) Ant
>
>ant clean-all build-all
>
>BUILD FAILED
>/home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
>following error occurred while executing this line:
>/home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api.x
>ml:34:
>taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
> using the classloader AntClassLoader[]
>
>
>Regards,
>
>-- 
>Charles Moulliard
>Apache Committer / Sr. Enterprise Architect (RedHat)
>Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com