Removed duplication of the yang-jmx-generator-plugin
[controller.git] / opendaylight / md-sal / sal-dom-api / 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-core-api</artifactId>
10   <packaging>bundle</packaging>
11   <dependencies>
12     <dependency>
13       <groupId>org.opendaylight.controller</groupId>
14       <artifactId>config-api</artifactId>
15     </dependency>
16     <dependency>
17       <groupId>org.opendaylight.controller</groupId>
18       <artifactId>sal-common</artifactId>
19     </dependency>
20     <dependency>
21       <groupId>org.opendaylight.controller</groupId>
22       <artifactId>sal-common-api</artifactId>
23     </dependency>
24     <dependency>
25       <groupId>org.opendaylight.yangtools</groupId>
26       <artifactId>yang-data-api</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>org.opendaylight.yangtools</groupId>
30       <artifactId>yang-model-api</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>org.osgi</groupId>
34       <artifactId>org.osgi.core</artifactId>
35     </dependency>
36   </dependencies>
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>org.apache.felix</groupId>
41         <artifactId>maven-bundle-plugin</artifactId>
42         <extensions>true</extensions>
43       </plugin>
44       <plugin>
45         <groupId>org.opendaylight.yangtools</groupId>
46         <artifactId>yang-maven-plugin</artifactId>
47         <executions>
48           <execution>
49             <goals>
50               <goal>generate-sources</goal>
51             </goals>
52             <configuration>
53               <codeGenerators>
54                 <generator>
55                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
56                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
57                   <additionalConfiguration>
58                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
59                   </additionalConfiguration>
60                 </generator>
61                 <generator>
62                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
63                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
64                 </generator>
65                 <generator>
66                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
67                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
68                 </generator>
69                 <generator>
70                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
71                   <outputBaseDir>target/site/models</outputBaseDir>
72                 </generator>
73               </codeGenerators>
74               <inspectDependencies>true</inspectDependencies>
75             </configuration>
76           </execution>
77         </executions>
78       </plugin>
79     </plugins>
80   </build>
81   <scm>
82     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
83     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
84     <tag>HEAD</tag>
85     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
86   </scm>
87 </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.