Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

Maven clean install fails

asked 2017-03-19 02:05:38 -0800

anonymous user

Anonymous

ubuntu@ubuntu-VirtualBox:~$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T21:41:47+05:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en
US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-31-generic", arch: "amd64", family: "unix"

I am getting following error while trying to install maven under Openflowplugin directory. Is this a version incompatibility? how do I sort it out?

ubuntu@ubuntu-VirtualBox:~/distribution-karaf-0.4.1-Beryllium-SR1/T-NOVA/OpenflowPlugin$ mvn clean install -DskipTests
[INFO] Scanning for projects...
[ERROR]
[ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.opendaylight.openflowplugin:openflowplugin-parent:0.2.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent:pom:1.6.0-SNAPSHOT in https://nexus.opendaylight.org/conten... was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.openflowplugin:openflowplugin-parent:0.2.0-SNAPSHOT, /home/ubuntu/distribution-karaf-0.4.1-Beryllium-SR1/T-NOVA/OpenflowPlugin/parent/pom.xml, line 12, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.opendaylight.openflowplugin:openflowplugin-aggregator:0.2.0-SNAPSHOT (/home/ubuntu/distribution-karaf-0.4.1-Beryllium-SR1/T-NOVA/OpenflowPlugin/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.openflowplugin:openflowplugin-parent:0.2.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent:pom:1.6.0-SNAPSHOT in https://nexus.opendaylight.org/conten... was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.openflowplugin:openflowplugin-parent:0.2.0-SNAPSHOT, /home/ubuntu/distribution-karaf-0.4.1-Beryllium-SR1/T-NOVA/OpenflowPlugin/parent/pom.xml, line 12, column 13 -> [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/di...
[ERROR] [Help 2] http://cwiki.apache.org/confluence/di...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-25 21:10:12 -0800

wuc623123 gravatar image

updated 2017-03-25 21:10:43 -0800

This is my own installation. If you have these questions, make sure that the installation of the kit is missing.

sudo apt-get install git

sudo apt-get install python-dev libffi-dev

sudo apt-get install libssl-dev openssl

sudo apt-get install curl

curl https://raw.githubusercontent.com/ope... --create-dirs -o ~/.m2/settings.xml

sudo vim ~/.bashrc

export MAVEN_OPTS="-Xms256m -Xmx512m"

export JAVA_HOME=/usr/lib/jvm/java-8-oracle

source ~/.bashrc

mvn clean install -DskipTests

If you still get this issue, try to use "mvn clean install" only.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2017-03-19 02:05:38 -0800

Seen: 96 times

Last updated: Mar 25