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">
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>config-subsystem</artifactId>
7 <version>0.2.3-SNAPSHOT</version>
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>config-plugin-parent</artifactId>
11 <name>${project.artifactId}</name>
12 <packaging>pom</packaging>
18 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
19 <config.version>0.2.3-SNAPSHOT</config.version>
26 <groupId>org.opendaylight.yangtools</groupId>
27 <artifactId>yang-maven-plugin</artifactId>
32 <goal>generate-sources</goal>
38 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
40 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
41 <additionalConfiguration>
43 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
44 </namespaceToPackage1>
45 </additionalConfiguration>
48 <inspectDependencies>true</inspectDependencies>
54 <groupId>org.opendaylight.controller</groupId>
55 <artifactId>yang-jmx-generator-plugin</artifactId>
56 <version>${config.version}</version>
61 <!-- tell eclipse about generated source folders -->
63 <groupId>org.codehaus.mojo</groupId>
64 <artifactId>build-helper-maven-plugin</artifactId>
65 <version>1.8</version>
69 <phase>generate-sources</phase>
71 <goal>add-source</goal>
75 <source>${jmxGeneratorPath}</source>
76 <source>${salGeneratorPath}</source>