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


Can't install l2-learning-switch sample

asked 2015-05-05 12:59:16 -0700

signmgr gravatar image

I have successfully cloned OF plugin GIT repo, but can't install l2-learning-switch sample. Here is what I get:

$ mvn clean install [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.opendaylight.openflowplugin:learning-switch:0.1.0-SNAP SHOT (d:\SDN\l2-switching-learning-app\app\samples\learning-switch\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.opendaylight.openflowplugin:openfl owplugin-parent:0.1.0-SNAPSHOT: Could not find artifact org.opendaylight.odlpare nt:odlparent:pom:1.5.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ org.opendaylight.openflowplugin:openflowplugin-parent:0.1.0-SNAPSHOT, d:\SDN\ l2-switching-learning-app\app\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 swit ch. [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 rea d the following articles: [ERROR] [Help 1] gException [ERROR] [Help 2] delException

The only difference from the instructions published on wiki is that I'm workign on Windows 7... There is no support for building this sample on Windows?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-07 08:53:16 -0700

Denis gravatar image

updated 2015-05-07 08:54:20 -0700

had an similiar issue with odl, maven and ubuntu. check this

create a file, named settings.xml in your local maven repository: usually on windows, you find it:

C:\Documents and Settings\{your-username}\.m2\

copy the content to settings.xml, mentioned in the above link and save it. Maybe this will resolve your issue.

edit flag offensive delete publish link more


Thanks, will try! Already found another workaround, but most probably your way is preferrable.

signmgr ( 2015-05-10 11:00:57 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-05-05 12:59:16 -0700

Seen: 313 times

Last updated: May 07 '15