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