Merge "Do not catch Throwables, but rather Exceptions"
[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.controller</groupId>
46             <artifactId>sal-broker-impl</artifactId>
47             <scope>test</scope>
48             <type>jar</type>
49         </dependency>
50         <dependency>
51             <groupId>junit</groupId>
52             <artifactId>junit</artifactId>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>yang-test</artifactId>
58             <version>${netconf.version}</version>
59             <scope>test</scope>
60         </dependency>
61         <dependency>
62             <groupId>${project.groupId}</groupId>
63             <artifactId>config-api</artifactId>
64             <version>${netconf.version}</version>
65             <scope>provided</scope>
66         </dependency>
67         <dependency>
68             <groupId>${project.groupId}</groupId>
69             <artifactId>config-util</artifactId>
70             <version>${netconf.version}</version>
71             <scope>test</scope>
72         </dependency>
73         <dependency>
74             <groupId>${project.groupId}</groupId>
75             <artifactId>netconf-client</artifactId>
76             <version>${netconf.version}</version>
77         </dependency>
78         <dependency>
79             <groupId>${project.groupId}</groupId>
80             <artifactId>config-netconf-connector</artifactId>
81             <scope>test</scope>
82             <version>${netconf.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>config-manager</artifactId>
87             <scope>test</scope>
88             <version>${netconf.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>${project.groupId}</groupId>
92             <artifactId>config-persister-impl</artifactId>
93             <scope>test</scope>
94             <version>${netconf.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>config-manager</artifactId>
99             <scope>test</scope>
100             <type>test-jar</type>
101             <version>${netconf.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>${project.groupId}</groupId>
105             <artifactId>netconf-impl</artifactId>
106             <scope>test</scope>
107             <version>${netconf.version}</version>
108         </dependency>
109         <dependency>
110             <groupId>${project.groupId}</groupId>
111             <artifactId>netconf-mapping-api</artifactId>
112             <scope>test</scope>
113             <version>${netconf.version}</version>
114         </dependency>
115         <dependency>
116             <groupId>${project.groupId}</groupId>
117             <artifactId>netconf-util</artifactId>
118             <scope>test</scope>
119             <type>test-jar</type>
120             <version>${netconf.version}</version>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.controller</groupId>
124             <artifactId>logback-config</artifactId>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <groupId>org.mockito</groupId>
129             <artifactId>mockito-all</artifactId>
130             <scope>test</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.slf4j</groupId>
134             <artifactId>slf4j-api</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.controller</groupId>
138             <artifactId>sal-binding-broker-impl</artifactId>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142            <groupId>org.opendaylight.controller</groupId>
143            <artifactId>sal-binding-broker-impl</artifactId>
144            <type>test-jar</type>
145            <scope>test</scope>
146         </dependency>
147         <dependency>
148         <groupId>org.opendaylight.controller</groupId>
149         <artifactId>ietf-netconf-monitoring</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.yangtools.model</groupId>
153             <artifactId>ietf-inet-types</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.controller</groupId>
157             <artifactId>threadpool-config-api</artifactId>
158         </dependency>
159         <dependency>
160             <groupId>org.opendaylight.controller</groupId>
161             <artifactId>netty-config-api</artifactId>
162         </dependency>
163     </dependencies>
164
165     <packaging>bundle</packaging>
166
167     <build>
168         <plugins>
169             <plugin>
170                 <groupId>org.apache.felix</groupId>
171                 <artifactId>maven-bundle-plugin</artifactId>
172                 <configuration>
173                     <instructions>
174                         <Import-Package>
175                             *
176                         </Import-Package>
177                     </instructions>
178                 </configuration>
179             </plugin>
180
181             <plugin>
182                 <groupId>org.opendaylight.yangtools</groupId>
183                 <artifactId>yang-maven-plugin</artifactId>
184                 <executions>
185                     <execution>
186                         <goals>
187                             <goal>generate-sources</goal>
188                         </goals>
189                         <configuration>
190                             <codeGenerators>
191                                 <generator>
192                                     <codeGeneratorClass>
193                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
194                                     </codeGeneratorClass>
195                                     <outputBaseDir>
196                                         ${salGeneratorPath}
197                                     </outputBaseDir>
198                                 </generator>
199                                 <generator>
200                                     <codeGeneratorClass>
201                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
202                                     </codeGeneratorClass>
203                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
204                                     <additionalConfiguration>
205                                         <namespaceToPackage1>
206                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
207                                         </namespaceToPackage1>
208                                     </additionalConfiguration>
209                                 </generator>
210                                 <generator>
211                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
212                                     <outputBaseDir>target/site/models</outputBaseDir>
213                                 </generator>
214                             </codeGenerators>
215                             <inspectDependencies>true</inspectDependencies>
216                         </configuration>
217                     </execution>
218                 </executions>
219                 <dependencies>
220                     <dependency>
221                         <groupId>org.opendaylight.controller</groupId>
222                         <artifactId>yang-jmx-generator-plugin</artifactId>
223                         <version>${config.version}</version>
224                     </dependency>
225                     <dependency>
226                         <groupId>org.opendaylight.yangtools</groupId>
227                         <artifactId>maven-sal-api-gen-plugin</artifactId>
228                         <version>${yangtools.version}</version>
229                         <type>jar</type>
230                     </dependency>
231                 </dependencies>
232             </plugin>
233
234             <plugin>
235                 <groupId>org.codehaus.mojo</groupId>
236                 <artifactId>build-helper-maven-plugin</artifactId>
237                 <version>1.8</version>
238                 <executions>
239                     <execution>
240                         <id>add-source</id>
241                         <phase>generate-sources</phase>
242                         <goals>
243                             <goal>add-source</goal>
244                         </goals>
245                         <configuration>
246                             <sources>
247                                 <source>${project.build.directory}/generated-sources/config</source>
248                                 <source>src/main/xtend-gen</source>
249                             </sources>
250                         </configuration>
251                     </execution>
252                 </executions>
253             </plugin>
254
255             <plugin>
256                 <groupId>org.eclipse.xtend</groupId>
257                 <artifactId>xtend-maven-plugin</artifactId>
258             </plugin>
259         </plugins>
260     </build>
261 </project>