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>
41 <groupId>org.opendaylight.yangtools</groupId>
42 <artifactId>yang-maven-plugin</artifactId>
43 <version>${opendaylight.yang.version}</version>
48 <goal>generate-sources</goal>
51 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
55 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
57 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
58 <additionalConfiguration>
60 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
61 </namespaceToPackage1>
62 </additionalConfiguration>
65 <inspectDependencies>true</inspectDependencies>
72 <goal>generate-sources</goal>
75 <yangFilesRootDir>src/main/yang/types</yangFilesRootDir>
79 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
82 target/generated-sources/sal
86 <inspectDependencies>true</inspectDependencies>
92 <groupId>org.opendaylight.controller</groupId>
93 <artifactId>yang-jmx-generator-plugin</artifactId>
94 <version>${config.version}</version>
98 <groupId>org.opendaylight.yangtools</groupId>
99 <artifactId>maven-sal-api-gen-plugin</artifactId>
100 <version>${yangtools.binding.version}</version>
105 <groupId>org.opendaylight.controller</groupId>
106 <artifactId>yang-test-plugin</artifactId>
107 <version>${config.version}</version>
111 <goal>delete-sources</goal>
112 <goal>process-sources</goal>