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

Revision history [back]

click to hide/show revision 1
initial version

Hi Kavita :) The code you pulled is from master branch. (You can confirm it, in cd controller nd run "git branch" command) Code in the master branch is different as compared to "stable/helium" branch and i guess you are refering old documentations for build. Move to stable helium branch or to build the code you pulled from master branch follow steps: 1. cd controller ( Here you will find apom.xml of Controller) 2. mvn clean install -DskipTests -Dcheckstyle.skip=true ( -DskipTests -Dcheckstyle.skip=true are optional, use it if any tests are failing or for checkstyle errors) 3. To run controller, go to opendaylight-karaf's bin folder and ./karaf. a promt of Opendaylight with karaf consolewill be up.

I am not sure what "pom errors" you are reffereing without any logs.

Regards,

Faizan

Hi Kavita :) :)

The code you pulled is from master branch. (You can confirm it, in cd controller nd run "git branch" command) Code in the master branch is different as compared to "stable/helium" branch and i guess you are refering old documentations for build. Move to stable helium branch or to build the code you pulled from master branch follow steps: 1. cd controller ( Here you will find apom.xml of Controller) 2. mvn clean install -DskipTests -Dcheckstyle.skip=true ( -DskipTests -Dcheckstyle.skip=true are optional, use it if any tests are failing or for checkstyle errors) 3. To run controller, go to opendaylight-karaf's bin folder and ./karaf. a promt of Opendaylight with karaf consolewill be up.

I am not sure what "pom errors" you are reffereing without any logs.

Regards,

Faizan

Hi Kavita :)

The code you pulled is from master branch. (You can confirm it, in cd controller nd run "git branch" command) Code in the master branch is different as compared to "stable/helium" branch and i guess you are refering old documentations for build. Move to stable helium branch or to build the code you pulled from master branch follow steps: 1. cd controller ( Here you will find apom.xml of Controller) 2. mvn clean install -DskipTests -Dcheckstyle.skip=true ( -DskipTests -Dcheckstyle.skip=true are optional, use it if any tests are failing or for checkstyle errors) 3. To run controller, go to opendaylight-karaf's bin folder and ./karaf. a promt of Opendaylight with karaf consolewill be up.

I am not sure what For "pom errors" ,do you are reffereing without any logs.

have settings.xml in your local .m2 repo ?? Follow this: https://ask.opendaylight.org/question/2954/fail-to-build-controller-source-code/#2955 Regards,

Faizan