Removed duplication of the yang-jmx-generator-plugin
[controller.git] / opendaylight / md-sal / sal-binding-config / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-binding-config</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>org.opendaylight.controller</groupId>
15       <artifactId>config-api</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>org.opendaylight.controller</groupId>
19       <artifactId>sal-binding-api</artifactId>
20     </dependency>
21   </dependencies>
22
23   <build>
24     <plugins>
25       <plugin>
26         <groupId>org.apache.felix</groupId>
27         <artifactId>maven-bundle-plugin</artifactId>
28         <extensions>true</extensions>
29       </plugin>
30       <plugin>
31         <groupId>org.opendaylight.yangtools</groupId>
32         <artifactId>yang-maven-plugin</artifactId>
33         <executions>
34           <execution>
35             <goals>
36               <goal>generate-sources</goal>
37             </goals>
38             <configuration>
39               <codeGenerators>
40                 <generator>
41                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
42                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
43                 </generator>
44                 <generator>
45                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
46                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
47                   <additionalConfiguration>
48                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
49                   </additionalConfiguration>
50                 </generator>
51                 <generator>
52                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
53                   <outputBaseDir>target/site/models</outputBaseDir>
54                 </generator>
55               </codeGenerators>
56               <inspectDependencies>true</inspectDependencies>
57             </configuration>
58           </execution>
59         </executions>
60       </plugin>
61     </plugins>
62   </build>
63   <scm>
64     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
65     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
66     <tag>HEAD</tag>
67     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
68   </scm>
69 </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.