1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.opendaylight.controller</groupId>
7 <artifactId>config-plugin-parent</artifactId>
8 <version>0.2.4-SNAPSHOT</version>
9 <relativePath>../config-plugin-parent</relativePath>
12 <artifactId>yang-test</artifactId>
13 <packaging>bundle</packaging>
15 <description>Artifact that contains only generated code from yang files. Suitable for testing.
17 <name>${project.artifactId}</name>
24 <groupId>${project.groupId}</groupId>
25 <artifactId>config-api</artifactId>
28 <groupId>org.slf4j</groupId>
29 <artifactId>slf4j-api</artifactId>
32 <groupId>org.opendaylight.yangtools.model</groupId>
33 <artifactId>ietf-inet-types</artifactId>
36 <groupId>org.opendaylight.yangtools</groupId>
37 <artifactId>mockito-configuration</artifactId>
40 <groupId>${project.groupId}</groupId>
41 <artifactId>config-manager</artifactId>
45 <groupId>${project.groupId}</groupId>
46 <artifactId>config-manager</artifactId>
51 <groupId>org.opendaylight.controller</groupId>
52 <artifactId>config-util</artifactId>
56 <groupId>junit</groupId>
57 <artifactId>junit</artifactId>
65 <groupId>org.opendaylight.yangtools</groupId>
66 <artifactId>yang-maven-plugin</artifactId>
67 <version>${yangtools.version}</version>
72 <goal>generate-sources</goal>
75 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
79 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
81 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
82 <additionalConfiguration>
84 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
85 </namespaceToPackage1>
86 </additionalConfiguration>
89 <inspectDependencies>true</inspectDependencies>
96 <goal>generate-sources</goal>
99 <yangFilesRootDir>src/main/yang/types</yangFilesRootDir>
103 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
104 </codeGeneratorClass>
106 ${project.build.directory}/generated-sources/sal
110 <inspectDependencies>true</inspectDependencies>
116 <groupId>org.opendaylight.controller</groupId>
117 <artifactId>yang-jmx-generator-plugin</artifactId>
118 <version>${config.version}</version>
122 <groupId>org.opendaylight.yangtools</groupId>
123 <artifactId>maven-sal-api-gen-plugin</artifactId>
124 <version>${yangtools.version}</version>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>yang-test-plugin</artifactId>
131 <version>${config.version}</version>
135 <goal>delete-sources</goal>
136 <goal>process-sources</goal>
143 <groupId>org.apache.felix</groupId>
144 <artifactId>maven-bundle-plugin</artifactId>