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

Unable to load the features offline in karaf.

asked 2015-11-03 03:12:01 -0800

AbhishekChhabra gravatar image

Hi,

I am facing problems when I build the controller off-line by using "mvn clean install -o" when I run karaf and try to install a feature say-"odl-restconf-all" or any other feature, It throws me an error:

opendaylight-user@root>feature:install odl-restconf-all Error executing command: Can't install feature odl-restconf-all/0.0.0:
Error resolving artifact commons-codec:commons-codec:jar:1.8: Could not transfer artifact commons-codec:commons-codec:jar:1.8 from/to central ( http://repo1.maven.org/maven2/ ): repo1.maven.org : Name or service not known

Please help me with this, I want to load the features without connecting the computer to the Internet. Thanks In advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-17 02:50:56 -0800

bhavesh07 gravatar image

updated 2015-11-17 02:51:41 -0800

It seems you do not have all required jars in your local repository. Initially compile the source code online, then make your own changes(as per your requirement) in the the respective module(s). Proceed with the offline step.

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

Question Tools

Follow
1 follower

Stats

Asked: 2015-11-03 03:12:01 -0800

Seen: 245 times

Last updated: Nov 17 '15