You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Venkata SwamyBabu Budumuru <ve...@citrix.com> on 2012/12/27 17:24:07 UTC

Issues with "mvn install"

Hi,

I tried the following steps to setup latest ACS setup but, facing the following issues. Can someone help me fixing these issues?

Ubuntu 11.10

As root user :

-          Cloned the git repo incubator-cloudstack

-          Downloaded maven 3.0.4 tar ball

-          Here is my ~/.bashrc
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/apache-maven-3.0.4/bin"
M2_HOME=/usr/local/apache-maven-3.0.4/bin
MAVEN_HOME=/usr/local/apache-maven-3.0.4/bin
M2=/usr/local/apache-maven-3.0.4/bin

-          JAVA
root@vswamy-VirtualBox:/home/vswamy/incubator-cloudstack# java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)

-          Tried various ways like "mvn install", "mvn clean install -DskipTests" etc..,

All of these failed with errors. Same can be found at http://pastebin.com/ZmGrV9SE

Captured the output of "mvn clean install -X". please find it at http://pastebin.com/zYgHjE1P


Thanks,
SWAMY

RE: Issues with "mvn install"

Posted by Venkata SwamyBabu Budumuru <ve...@citrix.com>.
Thanks Rohit. Removing ~/.m2 and then running "mvn clean install" worked but, found issues with some TEST failures. After running it with -Dskiptests went fine.

-----Original Message-----
From: Rohit Yadav [mailto:rohit.yadav@citrix.com] 
Sent: Friday, December 28, 2012 12:39 AM
To: cloudstack-dev@incubator.apache.org; cloudstack-users@incubator.apache.org
Subject: RE: Issues with "mvn install" 

Try:

rm -fr ~/.m2
cd <cloudstack>
mvn clean install

The error I see is that on your env, maven fails to retrieve and proceed:
http://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

Regards.
________________________________________
From: Venkata SwamyBabu Budumuru [venkataswamybabu.budumuru@citrix.com]
Sent: Thursday, December 27, 2012 9:54 PM
To: cloudstack-users@incubator.apache.org; cloudstack-dev@incubator.apache.org
Subject: Issues with "mvn install"

Hi,

I tried the following steps to setup latest ACS setup but, facing the following issues. Can someone help me fixing these issues?

Ubuntu 11.10

As root user :

-          Cloned the git repo incubator-cloudstack

-          Downloaded maven 3.0.4 tar ball

-          Here is my ~/.bashrc
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/apache-maven-3.0.4/bin"
M2_HOME=/usr/local/apache-maven-3.0.4/bin
MAVEN_HOME=/usr/local/apache-maven-3.0.4/bin
M2=/usr/local/apache-maven-3.0.4/bin

-          JAVA
root@vswamy-VirtualBox:/home/vswamy/incubator-cloudstack# java -version java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2) OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)

-          Tried various ways like "mvn install", "mvn clean install -DskipTests" etc..,

All of these failed with errors. Same can be found at http://pastebin.com/ZmGrV9SE

Captured the output of "mvn clean install -X". please find it at http://pastebin.com/zYgHjE1P


Thanks,
SWAMY

RE: Issues with "mvn install"

Posted by Venkata SwamyBabu Budumuru <ve...@citrix.com>.
Thanks Rohit. Removing ~/.m2 and then running "mvn clean install" worked but, found issues with some TEST failures. After running it with -Dskiptests went fine.

-----Original Message-----
From: Rohit Yadav [mailto:rohit.yadav@citrix.com] 
Sent: Friday, December 28, 2012 12:39 AM
To: cloudstack-dev@incubator.apache.org; cloudstack-users@incubator.apache.org
Subject: RE: Issues with "mvn install" 

Try:

rm -fr ~/.m2
cd <cloudstack>
mvn clean install

The error I see is that on your env, maven fails to retrieve and proceed:
http://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

Regards.
________________________________________
From: Venkata SwamyBabu Budumuru [venkataswamybabu.budumuru@citrix.com]
Sent: Thursday, December 27, 2012 9:54 PM
To: cloudstack-users@incubator.apache.org; cloudstack-dev@incubator.apache.org
Subject: Issues with "mvn install"

Hi,

I tried the following steps to setup latest ACS setup but, facing the following issues. Can someone help me fixing these issues?

Ubuntu 11.10

As root user :

-          Cloned the git repo incubator-cloudstack

-          Downloaded maven 3.0.4 tar ball

-          Here is my ~/.bashrc
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/apache-maven-3.0.4/bin"
M2_HOME=/usr/local/apache-maven-3.0.4/bin
MAVEN_HOME=/usr/local/apache-maven-3.0.4/bin
M2=/usr/local/apache-maven-3.0.4/bin

-          JAVA
root@vswamy-VirtualBox:/home/vswamy/incubator-cloudstack# java -version java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2) OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)

-          Tried various ways like "mvn install", "mvn clean install -DskipTests" etc..,

All of these failed with errors. Same can be found at http://pastebin.com/ZmGrV9SE

Captured the output of "mvn clean install -X". please find it at http://pastebin.com/zYgHjE1P


Thanks,
SWAMY

RE: Issues with "mvn install"

Posted by Rohit Yadav <ro...@citrix.com>.
Try:

rm -fr ~/.m2
cd <cloudstack>
mvn clean install

The error I see is that on your env, maven fails to retrieve and proceed:
http://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

Regards.
________________________________________
From: Venkata SwamyBabu Budumuru [venkataswamybabu.budumuru@citrix.com]
Sent: Thursday, December 27, 2012 9:54 PM
To: cloudstack-users@incubator.apache.org; cloudstack-dev@incubator.apache.org
Subject: Issues with "mvn install"

Hi,

I tried the following steps to setup latest ACS setup but, facing the following issues. Can someone help me fixing these issues?

Ubuntu 11.10

As root user :

-          Cloned the git repo incubator-cloudstack

-          Downloaded maven 3.0.4 tar ball

-          Here is my ~/.bashrc
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/apache-maven-3.0.4/bin"
M2_HOME=/usr/local/apache-maven-3.0.4/bin
MAVEN_HOME=/usr/local/apache-maven-3.0.4/bin
M2=/usr/local/apache-maven-3.0.4/bin

-          JAVA
root@vswamy-VirtualBox:/home/vswamy/incubator-cloudstack# java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)

-          Tried various ways like "mvn install", "mvn clean install -DskipTests" etc..,

All of these failed with errors. Same can be found at http://pastebin.com/ZmGrV9SE

Captured the output of "mvn clean install -X". please find it at http://pastebin.com/zYgHjE1P


Thanks,
SWAMY

RE: Issues with "mvn install"

Posted by Rohit Yadav <ro...@citrix.com>.
Try:

rm -fr ~/.m2
cd <cloudstack>
mvn clean install

The error I see is that on your env, maven fails to retrieve and proceed:
http://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

Regards.
________________________________________
From: Venkata SwamyBabu Budumuru [venkataswamybabu.budumuru@citrix.com]
Sent: Thursday, December 27, 2012 9:54 PM
To: cloudstack-users@incubator.apache.org; cloudstack-dev@incubator.apache.org
Subject: Issues with "mvn install"

Hi,

I tried the following steps to setup latest ACS setup but, facing the following issues. Can someone help me fixing these issues?

Ubuntu 11.10

As root user :

-          Cloned the git repo incubator-cloudstack

-          Downloaded maven 3.0.4 tar ball

-          Here is my ~/.bashrc
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/apache-maven-3.0.4/bin"
M2_HOME=/usr/local/apache-maven-3.0.4/bin
MAVEN_HOME=/usr/local/apache-maven-3.0.4/bin
M2=/usr/local/apache-maven-3.0.4/bin

-          JAVA
root@vswamy-VirtualBox:/home/vswamy/incubator-cloudstack# java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)

-          Tried various ways like "mvn install", "mvn clean install -DskipTests" etc..,

All of these failed with errors. Same can be found at http://pastebin.com/ZmGrV9SE

Captured the output of "mvn clean install -X". please find it at http://pastebin.com/zYgHjE1P


Thanks,
SWAMY