Ask Your Question
0

Why I can't install SFC with maven?

asked 2017-03-16 06:23:25 -0700

MikeMeliz gravatar image

updated 2017-03-17 03:03:25 -0700

Hello everyone, I'm trying to set up an image of SFC from Scratch from this guide of ODL's wiki. It's almost two days that I'm facing the same error on the last part of building:

mvn clean install -Dmaven.test.skip=true

image description

After a lot of searching in here I've tried almost everything to make it work; but without success.

Some more informations about my build:

  • Java Version: 1.8 (Also tried 1.7)
  • Maven Version: 3.3.9 (Also tried 3.2.1)
  • Ubuntu: 16.04 LTS Server
  • Not any proxy, just a VM with Bridged Connection
  • Python Version: 3.4.1
  • ~/.m2/settings.xml from /opendaylight/odlparent/master/settings.xml

Edit: Maven's output:

Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.7.080, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-oracle/jre Default locale: en US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-62-generic", arch: "amd64", family: "unix" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-25 21:14:09 -0700

wuc623123 gravatar image

updated 2017-03-25 21:15:42 -0700

Similar to this problem

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

Comments

Thanks for your answer but I'm still getting the same error on a clean install of Ubuntu Server 16.04. Can you provide me some more information about your installation? (btw I actually built it successfully on SDNHub's Tutorial VM; so it's probably something missing)

MikeMeliz ( 2017-03-26 21:25:32 -0700 )edit

https://github.com/opendaylight/sfc Try to use master version. Or integration-distribution version.

wuc623123 ( 2017-03-27 20:24:19 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2017-03-16 06:23:25 -0700

Seen: 94 times

Last updated: Mar 25