1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
5 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6 <modelVersion>4.0.0</modelVersion>
8 <groupId>org.opendaylight.controller</groupId>
9 <artifactId>config-plugin-parent</artifactId>
10 <version>0.2.3-SNAPSHOT</version>
11 <relativePath>../config-plugin-parent</relativePath>
14 <artifactId>yang-test</artifactId>
16 <description>Artifact that contains only generated code from yang files. Suitable for testing.
18 <name>${project.artifactId}</name>
25 <groupId>${project.groupId}</groupId>
26 <artifactId>config-api</artifactId>
29 <groupId>org.slf4j</groupId>
30 <artifactId>slf4j-api</artifactId>
33 <groupId>org.opendaylight.yangtools.model</groupId>
34 <artifactId>ietf-inet-types</artifactId>
37 <groupId>org.opendaylight.bgpcep</groupId>
38 <artifactId>mockito-configuration</artifactId>
42 <groupId>${project.groupId}</groupId>
43 <artifactId>config-manager</artifactId>
47 <groupId>${project.groupId}</groupId>
48 <artifactId>config-manager</artifactId>
53 <groupId>org.opendaylight.controller</groupId>
54 <artifactId>config-util</artifactId>
58 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
67 <groupId>org.opendaylight.yangtools</groupId>
68 <artifactId>yang-maven-plugin</artifactId>
69 <version>${opendaylight.yang.version}</version>
74 <goal>generate-sources</goal>
77 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
81 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
83 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
84 <additionalConfiguration>
86 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
87 </namespaceToPackage1>
88 </additionalConfiguration>
91 <inspectDependencies>true</inspectDependencies>
98 <goal>generate-sources</goal>
101 <yangFilesRootDir>src/main/yang/types</yangFilesRootDir>
105 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
106 </codeGeneratorClass>
108 target/generated-sources/sal
112 <inspectDependencies>true</inspectDependencies>
118 <groupId>org.opendaylight.controller</groupId>
119 <artifactId>yang-jmx-generator-plugin</artifactId>
120 <version>${config.version}</version>
124 <groupId>org.opendaylight.yangtools</groupId>
125 <artifactId>maven-sal-api-gen-plugin</artifactId>
126 <version>${yangtools.binding.version}</version>
131 <groupId>org.opendaylight.controller</groupId>
132 <artifactId>yang-test-plugin</artifactId>
133 <version>${config.version}</version>
137 <goal>delete-sources</goal>
138 <goal>process-sources</goal>