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.5-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>
25 <groupId>org.opendaylight.yangtools</groupId>
26 <artifactId>yang-maven-plugin</artifactId>
31 <goal>generate-sources</goal>
37 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
39 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
40 <additionalConfiguration>
42 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
43 </namespaceToPackage1>
44 </additionalConfiguration>
47 <inspectDependencies>true</inspectDependencies>
53 <groupId>org.opendaylight.controller</groupId>
54 <artifactId>yang-jmx-generator-plugin</artifactId>
55 <version>${config.version}</version>
60 <!-- tell eclipse about generated source folders -->
62 <groupId>org.codehaus.mojo</groupId>
63 <artifactId>build-helper-maven-plugin</artifactId>
64 <version>1.8</version>
68 <phase>generate-sources</phase>
70 <goal>add-source</goal>
74 <source>${jmxGeneratorPath}</source>
75 <source>${salGeneratorPath}</source>