Removed duplication of the yang-jmx-generator-plugin
[controller.git] / opendaylight / md-sal / sal-netconf-connector / 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
10   <artifactId>sal-netconf-connector</artifactId>
11
12   <packaging>bundle</packaging>
13
14   <dependencies>
15     <dependency>
16       <groupId>${project.groupId}</groupId>
17       <artifactId>netconf-client</artifactId>
18       <version>${netconf.version}</version>
19     </dependency>
20     <dependency>
21       <groupId>${project.groupId}</groupId>
22       <artifactId>sal-common-util</artifactId>
23       <version>1.1-SNAPSHOT</version>
24     </dependency>
25     <dependency>
26       <groupId>${project.groupId}</groupId>
27       <artifactId>sal-connector-api</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.eclipse.xtend</groupId>
31       <artifactId>org.eclipse.xtend.lib</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>ietf-netconf-monitoring</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>netconf-client</artifactId>
40       <version>${netconf.version}</version>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>netty-config-api</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>netty-threadgroup-config</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>threadpool-config-api</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.yangtools</groupId>
56       <artifactId>yang-data-impl</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.yangtools</groupId>
60       <artifactId>yang-parser-impl</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.yangtools.model</groupId>
64       <artifactId>ietf-inet-types</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.slf4j</groupId>
68       <artifactId>slf4j-api</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>${project.groupId}</groupId>
72       <artifactId>config-api</artifactId>
73       <version>${netconf.version}</version>
74       <scope>provided</scope>
75     </dependency>
76     <dependency>
77       <groupId>${project.groupId}</groupId>
78       <artifactId>config-manager</artifactId>
79       <version>${netconf.version}</version>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>${project.groupId}</groupId>
84       <artifactId>config-manager</artifactId>
85       <version>${netconf.version}</version>
86       <type>test-jar</type>
87       <scope>test</scope>
88     </dependency>
89     <dependency>
90       <groupId>${project.groupId}</groupId>
91       <artifactId>config-netconf-connector</artifactId>
92       <version>${netconf.version}</version>
93       <scope>test</scope>
94     </dependency>
95     <dependency>
96       <groupId>${project.groupId}</groupId>
97       <artifactId>config-persister-impl</artifactId>
98       <version>${netconf.version}</version>
99       <scope>test</scope>
100     </dependency>
101     <dependency>
102       <groupId>${project.groupId}</groupId>
103       <artifactId>config-util</artifactId>
104       <version>${netconf.version}</version>
105       <scope>test</scope>
106     </dependency>
107     <dependency>
108       <groupId>${project.groupId}</groupId>
109       <artifactId>netconf-impl</artifactId>
110       <version>${netconf.version}</version>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>${project.groupId}</groupId>
115       <artifactId>netconf-mapping-api</artifactId>
116       <version>${netconf.version}</version>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>${project.groupId}</groupId>
121       <artifactId>netconf-util</artifactId>
122       <version>${netconf.version}</version>
123       <type>test-jar</type>
124       <scope>test</scope>
125     </dependency>
126     <dependency>
127       <groupId>${project.groupId}</groupId>
128       <artifactId>yang-test</artifactId>
129       <version>${netconf.version}</version>
130       <scope>test</scope>
131     </dependency>
132     <dependency>
133       <groupId>junit</groupId>
134       <artifactId>junit</artifactId>
135       <scope>test</scope>
136     </dependency>
137     <dependency>
138       <groupId>org.mockito</groupId>
139       <artifactId>mockito-all</artifactId>
140       <scope>test</scope>
141     </dependency>
142     <dependency>
143       <groupId>org.opendaylight.controller</groupId>
144       <artifactId>logback-config</artifactId>
145       <scope>test</scope>
146     </dependency>
147     <dependency>
148       <groupId>org.opendaylight.controller</groupId>
149       <artifactId>sal-binding-broker-impl</artifactId>
150       <scope>test</scope>
151     </dependency>
152     <dependency>
153       <groupId>org.opendaylight.controller</groupId>
154       <artifactId>sal-binding-broker-impl</artifactId>
155       <type>test-jar</type>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>org.opendaylight.controller</groupId>
160       <artifactId>sal-broker-impl</artifactId>
161       <type>jar</type>
162       <scope>test</scope>
163     </dependency>
164   </dependencies>
165
166   <build>
167     <plugins>
168       <plugin>
169         <groupId>org.apache.felix</groupId>
170         <artifactId>maven-bundle-plugin</artifactId>
171         <configuration>
172           <instructions>
173             <Import-Package>*</Import-Package>
174           </instructions>
175         </configuration>
176       </plugin>
177
178       <plugin>
179         <groupId>org.eclipse.xtend</groupId>
180         <artifactId>xtend-maven-plugin</artifactId>
181       </plugin>
182
183       <plugin>
184         <groupId>org.opendaylight.yangtools</groupId>
185         <artifactId>yang-maven-plugin</artifactId>
186         <executions>
187           <execution>
188             <goals>
189               <goal>generate-sources</goal>
190             </goals>
191             <configuration>
192               <codeGenerators>
193                 <generator>
194                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
195                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
196                 </generator>
197                 <generator>
198                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
199                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
200                   <additionalConfiguration>
201                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
202                   </additionalConfiguration>
203                 </generator>
204                 <generator>
205                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
206                   <outputBaseDir>target/site/models</outputBaseDir>
207                 </generator>
208               </codeGenerators>
209               <inspectDependencies>true</inspectDependencies>
210             </configuration>
211           </execution>
212         </executions>
213       </plugin>
214     </plugins>
215   </build>
216   <scm>
217     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
218     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
219     <tag>HEAD</tag>
220     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
221   </scm>
222 </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.