== Yang Tools
=== Installation Overview
Yang tools is a infrastructure project aiming to develop necessary tooling and libraries providing support for NETCONF and YANG for Java (JVM-language based) projects and applications.
Yang tools is used for application such as Model Driven SAL for Controller (which uses YANG as the modeling language) and Netconf or OFConfig plugins.
==== Installing the Project
To configure your project and generate source code from YANG edit your projects *pom.xml* and add Opendaylight SNAPSHOT repository for snapshot releases (currently only snapshots are available).
=== Adding Plugin Repositories
==== Plugin Repository
To add following plugin repositories for plugin use: +
[literal]
opendaylight-release
opendaylight-release
http://nexus.opendaylight.org/content/repositories/opendaylight.release/
opendaylight-snapshot
opendaylight-snapshot
http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/
==== Dependency Repository
To add repositories for required dependencies use:
[literal]
opendaylight-release
opendaylight-release
http://nexus.opendaylight.org/content/repositories/opendaylight.release/
opendaylight-snapshot
opendaylight-snapshot
http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/
==== Using Plugin
To add yang-maven-plugin to build section of your pom.xml use:
[literal]
org.opendaylight.yangtools
yang-maven-plugin
0.6.1-SNAPSHOT