including YANG model in pom.xml in form of dependency

asked 2017-03-19 19:47:46 -0800

sosul gravatar image

updated 2017-03-19 19:48:22 -0800

(Currently using Boron-SR2)

I've followed instrunction in YANG Tools:Available Models document to include some YANG models in xxx-api/pom.xml file, but it fails to compile as below:

[WARNING] The POM for org.opendaylight.yangtools.model:ietf-inet-types:jar:2010.09.24.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.opendaylight.mdsal.model:yang-ext:jar:2013.09.07.8-SNAPSHOT is missing, no dependency information available
[ERROR] Failed to execute goal on project ipbh-api: Could not resolve dependencies for project org.opendaylight.ipbh:ipbh-api:bundle:0.1.0-SNAPSHOT: The following artifacts could not be resolved: org.opendaylight.yangtools.model:ietf-inet-types:jar:2010.09.24.4-SNAPSHOT, org.opendaylight.mdsal.model:yang-ext:jar:2013.09.07.8-SNAPSHOT: Failure to find org.opendaylight.yangtools.model:ietf-inet-types:jar:2010.09.24.4-SNAPSHOT in http://nexus.opendaylight.org/content... was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced -> [Help 1]

Maybe the version is out-dated in the wiki document. So I'd like to ask:
1) What is the proper version of ietf-inet-types and yang-ext for Boron SR-2?
2) How and where I can find the proper version of YANG dependency by myself?

edit retag flag offensive close merge delete