Remove yang-test
[controller.git] / opendaylight / config / config-plugin-parent / pom.xml
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>
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>config-subsystem</artifactId>
8     <version>0.9.0-SNAPSHOT</version>
9     <relativePath>../</relativePath>
10   </parent>
11   <artifactId>config-plugin-parent</artifactId>
12   <packaging>pom</packaging>
13   <name>${project.artifactId}</name>
14
15   <properties>
16     <jmxGeneratorPath>${project.build.directory}/generated-sources/config-binding</jmxGeneratorPath>
17   </properties>
18
19   <build>
20     <pluginManagement>
21       <plugins>
22         <plugin>
23           <groupId>org.opendaylight.yangtools</groupId>
24           <artifactId>yang-maven-plugin</artifactId>
25           <dependencies>
26             <dependency>
27               <groupId>org.opendaylight.controller</groupId>
28               <artifactId>yang-jmx-generator-plugin</artifactId>
29               <version>0.9.0-SNAPSHOT</version>
30             </dependency>
31           </dependencies>
32           <executions>
33             <execution>
34               <id>config</id>
35               <goals>
36                 <goal>generate-sources</goal>
37               </goals>
38               <configuration>
39                 <codeGenerators>
40                   <generator>
41                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
42                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
43                     <additionalConfiguration>
44                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
45                     </additionalConfiguration>
46                   </generator>
47                 </codeGenerators>
48                 <inspectDependencies>true</inspectDependencies>
49               </configuration>
50             </execution>
51           </executions>
52         </plugin>
53       </plugins>
54     </pluginManagement>
55   </build>
56 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.