3 === Installation Overview
\r
4 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.
\r
5 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.
\r
7 ==== Installing the Project
\r
8 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).
\r
10 === Adding Plugin Repositories
\r
11 ==== Plugin Repository
\r
12 To add following plugin repositories for plugin use: +
\r
15 <pluginRepositories>
\r
17 <id>opendaylight-release</id>
\r
18 <name>opendaylight-release</name>
\r
19 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
\r
22 <id>opendaylight-snapshot</id>
\r
23 <name>opendaylight-snapshot</name>
\r
24 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
\r
26 </pluginRepositories>
\r
28 ==== Dependency Repository
\r
30 To add repositories for required dependencies use:
\r
34 <id>opendaylight-release</id>
\r
35 <name>opendaylight-release</name>
\r
36 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
\r
39 <id>opendaylight-snapshot</id>
\r
40 <name>opendaylight-snapshot</name>
\r
41 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
\r
47 To add yang-maven-plugin to build section of your pom.xml use:
\r
52 <groupId>org.opendaylight.yangtools</groupId>
\r
53 <artifactId>yang-maven-plugin</artifactId>
\r
54 <version>0.6.1-SNAPSHOT</version>
\r
55 <!-- configuration -->
\r