On 09/05/2012 08:38 AM, Hugo Trippaers wrote:
Anthony,

Did you download those jars and run install-non-oss.sh like it is explained on 
the wiki page?


I'm running into the same problem. I've ran install-non-oss.sh, but it keeps complaining about the VMWare JAR files which are missing.

For example:

[INFO] [install:install-file {execution: default-cli}]
[INFO] Installing /usr/src/cloudstack/deps/vmware-apputils.jar to /root/.m2/repository/com/cloud/com/vmware/vmware-apputils/1.0/vmware-apputils-1.0.jar [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Error installing artifact 'com.cloud.com.vmware:vmware-apputils:jar': Error installing artifact: File /usr/src/cloudstack/deps/vmware-apputils.jar does not exist

Wido

Cheers,

Hugo

-----Original Message-----
From: Anthony Xu [mailto:[email protected]]
Sent: Wednesday, September 05, 2012 3:47 AM
To: [email protected]
Subject: RE: maven install failed

Still fail

ax:~/vmops/incubator-cloudstack$ mvn -P deps -pl deps [INFO] Scanning for
projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Dependencies
[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}]
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/vmware/vmware-
vim/1.0/vmware-vim-1.0.pom
[INFO] Unable to find resource 'com.cloud.com.vmware:vmware-
vim:pom:1.0' in repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/vmware/vmware-
vim25/1.0/vmware-vim25-1.0.pom
[INFO] Unable to find resource 'com.cloud.com.vmware:vmware-
vim25:pom:1.0' in repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/vmware/vmware-
apputils/1.0/vmware-apputils-1.0.pom
[INFO] Unable to find resource 'com.cloud.com.vmware:vmware-
apputils:pom:1.0' in repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/f5/icontrol/1.0/icontrol-
1.0.pom
[INFO] Unable to find resource 'com.cloud.com.f5:icontrol:pom:1.0' in
repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/libvirt/libvirt/0.4.8/libvirt-0.4.8.pom
[INFO] Unable to find resource 'org.libvirt:libvirt:pom:0.4.8' in repository
central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/netapp/manageontap/1.
0/manageontap-1.0.pom
[INFO] Unable to find resource
'com.cloud.com.netapp:manageontap:pom:1.0' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/citrix/netscaler/1.0/netsc
aler-1.0.pom
[INFO] Unable to find resource 'com.cloud.com.citrix:netscaler:pom:1.0' in
repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/citrix/netscaler-
sdx/1.0/netscaler-sdx-1.0.pom
[INFO] Unable to find resource 'com.cloud.com.citrix:netscaler-sdx:pom:1.0'
in repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/netapp/manageontap/1.
0/manageontap-1.0.jar
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/citrix/netscaler/1.0/netsc
aler-1.0.jar
Downloading:
http://repo1.maven.org/maven2/org/libvirt/libvirt/0.4.8/libvirt-0.4.8.jar
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/f5/icontrol/1.0/icontrol-
1.0.jar
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/vmware/vmware-
vim/1.0/vmware-vim-1.0.jar
[INFO] Unable to find resource 'com.cloud.com.netapp:manageontap:jar:1.0'
in repository central (http://repo1.maven.org/maven2) [INFO] Unable to
find resource 'com.cloud.com.citrix:netscaler:jar:1.0' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/citrix/netscaler-
sdx/1.0/netscaler-sdx-1.0.jar
[INFO] Unable to find resource 'org.libvirt:libvirt:jar:0.4.8' in repository
central (http://repo1.maven.org/maven2) [INFO] Unable to find resource
'com.cloud.com.vmware:vmware-vim:jar:1.0' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/cloud/com/vmware/vmware-
vim25/1.0/vmware-vim25-1.0.jar
[INFO] Unable to find resource 'com.cloud.com.citrix:netscaler-sdx:jar:1.0' in
repository central (




-----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+M
a
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]
---------------------------------------------------------------------
-
--


Reply via email to