I did
$ mvn
$ deps/install-non-oss.sh
$ mvn -P deps -pl deps
I still see errors
ant build-all
Buildfile: build.xml
[echo] Using build parameters from
/home/anthony/vmops/master-cloudstack-oss/build/build-cloud.properties
[echo] Using company info from
/home/anthony/vmops/master-cloudstack-oss/build/cloud.properties
[echo] Using override file from
/home/anthony/vmops/master-cloudstack-oss/build/replace.properties
[echo] Using build parameters from
/home/anthony/vmops/master-cloudstack-oss/build/build-cloud.properties
[echo] Using company info from
/home/anthony/vmops/master-cloudstack-oss/build/cloud.properties
[echo] Using override file from
/home/anthony/vmops/master-cloudstack-oss/build/replace.properties
BUILD FAILED
/home/anthony/vmops/master-cloudstack-oss/build.xml:48: The following error
occurred while executing this line:
/home/anthony/vmops/master-cloudstack-oss/build/build-aws-api.xml:34: taskdef
class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
Total time: 0 seconds
> -----Original Message-----
> From: Chiradeep Vittal [mailto:[email protected]]
> Sent: Tuesday, September 04, 2012 6:26 PM
> To: CloudStack DeveloperList
> Subject: Re: maven install failed
>
> Check this:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Ma
> ven
>
> You can do mvn -P deps -pl deps
>
> On 9/4/12 5:51 PM, "Anthony Xu" <[email protected]> wrote:
>
> >I'm using ubuntu 12.04 64 bit.
> >
> >Execution of maven install under directory deps failed.
> >
> >Does anyone meet this issue?
> >
> >
> >Thanks
> >Anthony
> >
> >
> >
> >
> >
> >Downloading:
> >http://repo1.maven.org/maven2/com/cloud/com/vmware/vmware-
> apputils/1.0/vmw
> >are-apputils-1.0.jar
> >[INFO] Unable to find resource
> >'com.cloud.com.citrix:netscaler-sdx:jar:1.0' in repository central
> >(http://repo1.maven.org/maven2)
> >[INFO] Unable to find resource
> >'com.cloud.com.vmware:vmware-apputils:jar:1.0' in repository central
> >(http://repo1.maven.org/maven2)
> >[INFO]
> >----------------------------------------------------------------------
> --
> >[ERROR] BUILD ERROR
> >[INFO]
> >----------------------------------------------------------------------
> --
> >[INFO] Failed to resolve dependencies for one or more projects in the
> >reactor. Reason: Missing:
> >----------
> >1) com.cloud.com.netapp:manageontap:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.netapp
> >-DartifactId=manageontap -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.netapp
> >-DartifactId=manageontap -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2) org.apache.cloudstack:cloud-plugin-netapp:jar:4.0.0-
> SNAPSHOT
> > 3) com.cloud.com.netapp:manageontap:jar:1.0
> >
> >2) com.cloud.com.f5:icontrol:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.f5
> >-DartifactId=icontrol -Dversion=1.0 -Dpackaging=jar -
> Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.f5
> >-DartifactId=icontrol -Dversion=1.0 -Dpackaging=jar -
> Dfile=/path/to/file
> >-Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-network-srx:jar:4.0.0-SNAPSHOT
> > 3) com.cloud.com.f5:icontrol:jar:1.0
> >
> >3) org.libvirt:libvirt:jar:0.4.8
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=org.libvirt -
> DartifactId=libvirt
> >-Dversion=0.4.8 -Dpackaging=jar -Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=org.libvirt -
> DartifactId=libvirt
> >-Dversion=0.4.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> >-DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-hypervisor-kvm:jar:4.0.0-SNAPSHOT
> > 3) org.libvirt:libvirt:jar:0.4.8
> >
> >4) com.cloud.com.vmware:vmware-vim:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.vmware
> >-DartifactId=vmware-vim -Dversion=1.0 -Dpackaging=jar -
> Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.vmware
> >-DartifactId=vmware-vim -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-hypervisor-vmware:jar:4.0.0-
> SNAPSHOT
> > 3) org.apache.cloudstack:cloud-vmware-base:jar:4.0.0-SNAPSHOT
> > 4) com.cloud.com.vmware:vmware-vim:jar:1.0
> >
> >5) com.cloud.com.citrix:netscaler:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.citrix
> >-DartifactId=netscaler -Dversion=1.0 -Dpackaging=jar -
> Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.citrix
> >-DartifactId=netscaler -Dversion=1.0 -Dpackaging=jar -
> Dfile=/path/to/file
> >-Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-network-netscaler:jar:4.0.0-
> SNAPSHOT
> > 3) com.cloud.com.citrix:netscaler:jar:1.0
> >
> >6) com.cloud.com.vmware:vmware-vim25:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.vmware
> >-DartifactId=vmware-vim25 -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.vmware
> >-DartifactId=vmware-vim25 -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-hypervisor-vmware:jar:4.0.0-
> SNAPSHOT
> > 3) org.apache.cloudstack:cloud-vmware-base:jar:4.0.0-SNAPSHOT
> > 4) com.cloud.com.vmware:vmware-vim25:jar:1.0
> >
> >7) com.cloud.com.citrix:netscaler-sdx:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.citrix
> >-DartifactId=netscaler-sdx -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.citrix
> >-DartifactId=netscaler-sdx -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-network-netscaler:jar:4.0.0-
> SNAPSHOT
> > 3) com.cloud.com.citrix:netscaler-sdx:jar:1.0
> >
> >8) com.cloud.com.vmware:vmware-apputils:jar:1.0
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=com.cloud.com.vmware
> >-DartifactId=vmware-apputils -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the
> file
> >there:
> > mvn deploy:deploy-file -DgroupId=com.cloud.com.vmware
> >-DartifactId=vmware-apputils -Dversion=1.0 -Dpackaging=jar
> >-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1) org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> > 2)
> >org.apache.cloudstack:cloud-plugin-hypervisor-vmware:jar:4.0.0-
> SNAPSHOT
> > 3) org.apache.cloudstack:cloud-vmware-base:jar:4.0.0-SNAPSHOT
> > 4) com.cloud.com.vmware:vmware-apputils:jar:1.0
> >
> >----------
> >8 required artifacts are missing.
> >
> >for artifact:
> > org.apache.cloudstack:cloud-deps:jar:4.0.0-SNAPSHOT
> >
> >from the specified remote repositories:
> > apache.snapshots (http://repository.apache.org/snapshots),
> > central (http://repo1.maven.org/maven2)
> >
> >
> >
> >[INFO]
> >----------------------------------------------------------------------
> --
> >[INFO] For more information, run Maven with the -e switch
> >[INFO]
> >----------------------------------------------------------------------
> --
> >[INFO] Total time: 4 seconds
> >[INFO] Finished at: Tue Sep 04 17:50:25 PDT 2012
> >[INFO] Final Memory: 31M/172M
> >[INFO]
> >----------------------------------------------------------------------
> --