BUG-731: do not catch Throwable
[controller.git] / opendaylight / netconf / 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
4     <parent>
5         <groupId>org.opendaylight.controller</groupId>
6         <artifactId>commons.opendaylight</artifactId>
7         <version>1.4.2-SNAPSHOT</version>
8         <relativePath>../commons/opendaylight</relativePath>
9     </parent>
10
11     <version>0.2.5-SNAPSHOT</version>
12     <artifactId>netconf-subsystem</artifactId>
13     <packaging>pom</packaging>
14     <name>${project.artifactId}</name>
15     <prerequisites>
16         <maven>3.0.4</maven>
17     </prerequisites>
18
19
20     <modules>
21         <module>netconf-api</module>
22         <module>netconf-impl</module>
23         <module>config-netconf-connector</module>
24         <module>netconf-util</module>
25         <module>config-persister-impl</module>
26         <module>netconf-mapping-api</module>
27         <module>netconf-client</module>
28         <module>netconf-ssh</module>
29         <module>netconf-monitoring</module>
30         <module>ietf-netconf-monitoring</module>
31         <module>ietf-netconf-monitoring-extension</module>
32     </modules>
33
34     <profiles>
35         <profile>
36            <id>integrationtests</id>
37            <activation>
38                <activeByDefault>false</activeByDefault>
39            </activation>
40             <modules>
41               <module>netconf-it</module>
42             </modules>
43         </profile>
44     </profiles>
45
46     <properties>
47         <osgi.version>5.0.0</osgi.version>
48         <maven.bundle.version>2.4.0</maven.bundle.version>
49         <slf4j.version>1.7.2</slf4j.version>
50     </properties>
51
52     <dependencies>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>ch.qos.logback</groupId>
60             <artifactId>logback-classic</artifactId>
61             <scope>test</scope>
62         </dependency>
63     </dependencies>
64
65     <dependencyManagement>
66         <dependencies>
67             <dependency>
68                 <groupId>org.osgi</groupId>
69                 <artifactId>org.osgi.core</artifactId>
70                 <version>${osgi.version}</version>
71             </dependency>
72             <dependency>
73                 <groupId>${project.groupId}</groupId>
74                 <artifactId>config-api</artifactId>
75                 <version>${config.version}</version>
76             </dependency>
77             <dependency>
78                 <groupId>${project.groupId}</groupId>
79                 <artifactId>config-manager</artifactId>
80                 <version>${config.version}</version>
81             </dependency>
82             <dependency>
83                 <groupId>${project.groupId}</groupId>
84                 <artifactId>config-manager</artifactId>
85                 <version>${config.version}</version>
86                 <type>test-jar</type>
87             </dependency>
88             <dependency>
89                 <groupId>${project.groupId}</groupId>
90                 <artifactId>yang-jmx-generator</artifactId>
91                 <version>${config.version}</version>
92             </dependency>
93             <dependency>
94                 <groupId>${project.groupId}</groupId>
95                 <artifactId>config-util</artifactId>
96                 <version>${config.version}</version>
97             </dependency>
98             <dependency>
99                 <groupId>${project.groupId}</groupId>
100                 <artifactId>yang-test</artifactId>
101                 <version>${config.version}</version>
102             </dependency>
103             <dependency>
104                 <groupId>${project.groupId}</groupId>
105                 <artifactId>netconf-api</artifactId>
106                 <version>${netconf.version}</version>
107             </dependency>
108             <dependency>
109                 <groupId>${project.groupId}</groupId>
110                 <artifactId>netconf-util</artifactId>
111                 <version>${netconf.version}</version>
112             </dependency>
113             <dependency>
114                 <groupId>${project.groupId}</groupId>
115                 <artifactId>netconf-util</artifactId>
116                 <version>${netconf.version}</version>
117                 <type>test-jar</type>
118             </dependency>
119             <dependency>
120                 <groupId>${project.groupId}</groupId>
121                 <artifactId>netconf-ssh</artifactId>
122                 <version>${netconf.version}</version>
123             </dependency>
124             <dependency>
125                 <groupId>${project.groupId}</groupId>
126                 <artifactId>netconf-ssh</artifactId>
127                 <version>${netconf.version}</version>
128                 <type>test-jar</type>
129             </dependency>
130             <dependency>
131                 <groupId>${project.groupId}</groupId>
132                 <artifactId>netconf-mapping-api</artifactId>
133                 <version>${netconf.version}</version>
134             </dependency>
135             <dependency>
136                 <groupId>${project.groupId}</groupId>
137                 <artifactId>netconf-impl</artifactId>
138                 <version>${netconf.version}</version>
139             </dependency>
140             <dependency>
141                 <groupId>${project.groupId}</groupId>
142                 <artifactId>netconf-impl</artifactId>
143                 <version>${netconf.version}</version>
144                 <type>test-jar</type>
145             </dependency>
146             <dependency>
147                 <groupId>${project.groupId}</groupId>
148                 <artifactId>netconf-monitoring</artifactId>
149                 <version>${netconf.version}</version>
150             </dependency>
151             <dependency>
152                 <groupId>${project.groupId}</groupId>
153                 <artifactId>ietf-netconf-monitoring</artifactId>
154                 <version>${netconf.version}</version>
155             </dependency>
156             <dependency>
157                 <groupId>org.opendaylight.controller</groupId>
158                 <artifactId>config-persister-api</artifactId>
159                 <version>${config.version}</version>
160             </dependency>
161             <dependency>
162                 <groupId>${project.groupId}</groupId>
163                 <artifactId>netconf-client</artifactId>
164                 <version>${netconf.version}</version>
165             </dependency>
166             <dependency>
167                 <groupId>xmlunit</groupId>
168                 <artifactId>xmlunit</artifactId>
169                 <version>1.4</version>
170             </dependency>
171             <dependency>
172                 <groupId>${project.groupId}</groupId>
173                 <artifactId>config-netconf-connector</artifactId>
174                 <version>${netconf.version}</version>
175             </dependency>
176             <dependency>
177                 <groupId>${project.groupId}</groupId>
178                 <artifactId>config-persister-impl</artifactId>
179                 <version>${netconf.version}</version>
180             </dependency>
181             <dependency>
182                 <groupId>org.opendaylight.controller</groupId>
183                 <artifactId>logback-config</artifactId>
184                 <version>${config.version}</version>
185             </dependency>
186         </dependencies>
187     </dependencyManagement>
188
189
190     <build>
191         <plugins>
192             <plugin>
193                 <groupId>org.apache.maven.plugins</groupId>
194                 <artifactId>maven-compiler-plugin</artifactId>
195             </plugin>
196         </plugins>
197         <pluginManagement>
198             <plugins>
199                 <plugin>
200                     <groupId>org.apache.felix</groupId>
201                     <artifactId>maven-bundle-plugin</artifactId>
202                     <version>${maven.bundle.version}</version>
203                     <extensions>true</extensions>
204                     <configuration>
205                         <instructions>
206                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
207                         </instructions>
208                     </configuration>
209                 </plugin>
210                 <plugin>
211                     <groupId>org.opendaylight.yangtools</groupId>
212                     <artifactId>yang-maven-plugin</artifactId>
213                     <version>${yangtools.version}</version>
214                     <executions>
215                         <execution>
216                             <goals>
217                                 <goal>generate-sources</goal>
218                             </goals>
219                             <configuration>
220                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
221                                 <codeGenerators>
222                                     <generator>
223                                         <codeGeneratorClass>
224                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
225                                         </codeGeneratorClass>
226                                         <outputBaseDir>
227                                             ${salGeneratorPath}
228                                         </outputBaseDir>
229                                     </generator>
230                                     <generator>
231                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
232                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
233                                     </generator>
234                                 </codeGenerators>
235                                 <inspectDependencies>true</inspectDependencies>
236                             </configuration>
237                         </execution>
238                     </executions>
239                     <dependencies>
240                         <dependency>
241                             <groupId>org.opendaylight.yangtools</groupId>
242                             <artifactId>maven-sal-api-gen-plugin</artifactId>
243                             <version>${yangtools.version}</version>
244                         </dependency>
245                     </dependencies>
246                 </plugin>
247             </plugins>
248
249         </pluginManagement>
250     </build>
251 </project>