TLS initialization fix
[openflowjava.git] / 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     <groupId>org.opendaylight.openflowjava</groupId>
5     <artifactId>openflow-protocol-parent</artifactId>
6     <version>0.5-SNAPSHOT</version>
7     <packaging>pom</packaging>
8     <modules>
9         <module>openflow-protocol-api</module>
10         <module>openflow-protocol-spi</module>
11         <module>openflow-protocol-impl</module>
12         <module>openflow-protocol-it</module>
13         <module>feature</module>
14         <module>simple-client</module>
15     </modules>
16     <scm>
17         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
18         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
19         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
20       <tag>HEAD</tag>
21     </scm>
22
23     <properties>
24         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
25         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
26         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
27         <siteplugin>3.2</siteplugin>
28         <projectinfo>2.6</projectinfo>
29         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30         <compiler.version>2.3.2</compiler.version>
31         <surefire.version>2.13</surefire.version>
32         <exam.version>3.0.0</exam.version>
33         <url.version>1.5.0</url.version>
34         <enunciate.version>1.26.2</enunciate.version>
35         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
36         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
37         <sonar.branch>${user.name}-private-view</sonar.branch>
38         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
39         <logback.version>1.0.9</logback.version>
40         <slf4j.version>1.7.2</slf4j.version>
41         <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
42         <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
43         <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
44         <maven.bundle.version>2.4.0</maven.bundle.version>
45         <guava.version>14.0.1</guava.version> 
46         <netty.version>4.0.19.Final</netty.version>
47         <releaseplugin.version>2.3.2</releaseplugin.version>
48         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
49         <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
50         <config.version>0.2.5-SNAPSHOT</config.version>
51     </properties>
52
53     <pluginRepositories>
54         <!-- Opendaylight public group -->
55         <pluginRepository>
56             <id>odlPublic</id>
57             <name>odlPublic</name>
58             <url>${nexusproxy}/groups/public/</url>
59             <snapshots>
60               <enabled>false</enabled>
61             </snapshots>
62         </pluginRepository>
63         <!-- OpenDayLight Snapshot artifact -->
64         <pluginRepository>
65             <id>opendaylight-snapshot</id>
66             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
67             <releases>
68               <enabled>false</enabled>
69             </releases>
70         </pluginRepository>
71     </pluginRepositories>
72
73
74     <repositories>
75         <!-- Opendaylight public group -->
76         <repository>
77             <id>odlPublic</id>
78             <name>odlPublic</name>
79             <url>${nexusproxy}/groups/public/</url>
80             <snapshots>
81               <enabled>false</enabled>
82             </snapshots>
83         </repository>
84         <!-- OpenDayLight Snapshot artifact -->
85         <repository>
86             <id>opendaylight-snapshot</id>
87             <name>opendaylight-snapshot</name>
88             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
89             <releases>
90               <enabled>false</enabled>
91             </releases>
92         </repository>
93     </repositories>
94     <distributionManagement>
95         <!-- OpenDayLight Released artifact -->
96         <repository>
97             <id>opendaylight-release</id>
98             <url>${nexusproxy}/repositories/opendaylight.release/</url>
99         </repository>
100         <!-- OpenDayLight Snapshot artifact -->
101         <snapshotRepository>
102             <id>opendaylight-snapshot</id>
103             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
104         </snapshotRepository>
105         <!-- Site deployment -->
106         <!-- site>
107             <id>website</id>
108             <url>${sitedeploy}</url>
109         </site -->
110     </distributionManagement>
111
112
113     <dependencyManagement>
114         <dependencies>
115             <dependency>
116                 <groupId>org.slf4j</groupId>
117                 <artifactId>slf4j-api</artifactId>
118                 <version>${slf4j.version}</version>
119             </dependency>
120             <dependency>
121                 <groupId>io.netty</groupId>
122                 <artifactId>netty-buffer</artifactId>
123                 <version>${netty.version}</version>
124             </dependency>
125             <dependency>
126                 <groupId>io.netty</groupId>
127                 <artifactId>netty-handler</artifactId>
128                 <version>${netty.version}</version>
129             </dependency>
130             <dependency>
131                 <groupId>com.google.guava</groupId>
132                 <artifactId>guava</artifactId>
133                 <version>${guava.version}</version>
134             </dependency>
135             <dependency>
136                 <groupId>org.opendaylight.yangtools.model</groupId>
137                 <artifactId>ietf-inet-types</artifactId>
138                 <version>${ietf.model.version}</version>
139             </dependency>
140             <dependency>
141                 <groupId>org.opendaylight.yangtools.model</groupId>
142                 <artifactId>ietf-yang-types</artifactId>
143                 <version>${ietf.model.version}</version>
144             </dependency>
145             <dependency>
146                 <groupId>org.opendaylight.yangtools.model</groupId>
147                 <artifactId>yang-ext</artifactId>
148                 <version>${yang.ext.version}</version>
149             </dependency>
150             <dependency>
151                 <groupId>org.osgi</groupId>
152                 <artifactId>org.osgi.core</artifactId>
153                 <version>5.0.0</version>
154             </dependency>
155             <dependency>
156                 <groupId>org.opendaylight.controller</groupId>
157                 <artifactId>config-api</artifactId>
158                 <version>0.2.5-SNAPSHOT</version>
159             </dependency>
160             <dependency>
161                 <groupId>junit</groupId>
162                 <artifactId>junit</artifactId>
163                 <version>4.10</version>
164                 <scope>test</scope>
165                 <optional>true</optional>
166             </dependency>
167             <dependency>
168                 <groupId>org.mockito</groupId>
169                 <artifactId>mockito-all</artifactId>
170                 <version>1.9.5</version>
171                 <scope>test</scope>
172             </dependency>
173         </dependencies>
174     </dependencyManagement>
175     <build>
176         <plugins>
177             <plugin>
178                 <groupId>org.apache.maven.plugins</groupId>
179                 <artifactId>maven-compiler-plugin</artifactId>
180                 <version>${compiler.version}</version>
181                 <inherited>true</inherited>
182                 <configuration>
183                     <source>1.7</source>
184                     <target>1.7</target>
185                 </configuration>
186             </plugin>
187             <plugin>
188                 <artifactId>maven-source-plugin</artifactId>
189                 <executions>
190                     <execution>
191                         <id>attach-sources</id>
192                         <phase>deploy</phase>
193                         <goals>
194                             <goal>jar-no-fork</goal>
195                         </goals> 
196                     </execution>
197                 </executions>
198             </plugin>
199             <plugin>
200               <groupId>org.apache.felix</groupId>
201               <artifactId>maven-bundle-plugin</artifactId>
202               <extensions>true</extensions>
203               <configuration>
204                 <instructions>
205                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
206                 </instructions>
207                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
208               </configuration>
209             </plugin>
210             <plugin>
211               <groupId>org.apache.maven.plugins</groupId>
212               <artifactId>maven-checkstyle-plugin</artifactId>
213               <version>2.12</version>
214               <configuration>
215                 <failOnViolation>false</failOnViolation>
216                 <configLocation>checkstyle-logging.xml</configLocation>
217                 <consoleOutput>true</consoleOutput>
218                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
219                 <sourceDirectory>${project.basedir}</sourceDirectory>
220                 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
221                 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
222               </configuration>
223               <dependencies>
224                 <dependency>
225                 <groupId>org.opendaylight.yangtools</groupId>
226                 <artifactId>checkstyle-logging</artifactId>
227                 <version>${yangtools.version}</version>
228                 </dependency>
229               </dependencies>
230               <executions>
231                 <execution>
232                 <goals>
233                   <goal>check</goal>
234                 </goals>
235                 </execution>
236               </executions>
237             </plugin>
238             <plugin>
239                 <groupId>org.codehaus.mojo</groupId>
240                 <artifactId>build-helper-maven-plugin</artifactId>
241             </plugin>
242         </plugins>
243         <pluginManagement>
244             <plugins>
245                 <plugin>
246                     <groupId>org.apache.maven.plugins</groupId>
247                     <artifactId>maven-source-plugin</artifactId>
248                     <version>2.2.1</version>
249                 </plugin>
250                 <plugin>
251                     <groupId>org.apache.maven.plugins</groupId>
252                     <artifactId>maven-deploy-plugin</artifactId>
253                     <version>2.7</version>
254                 </plugin>
255                 <plugin>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-jar-plugin</artifactId>
258                     <version>2.4</version>
259                 </plugin>
260                 <plugin>
261                     <groupId>org.apache.maven.plugins</groupId>
262                     <artifactId>maven-release-plugin</artifactId>
263                     <version>${releaseplugin.version}</version>
264                 </plugin>
265                 <plugin>
266                     <groupId>org.opendaylight.yangtools</groupId>
267                     <artifactId>yang-maven-plugin</artifactId>
268                     <version>${yangtools.version}</version>
269                 </plugin>
270                 <plugin>
271                     <groupId>org.apache.felix</groupId>
272                     <artifactId>maven-bundle-plugin</artifactId>
273                     <version>${maven.bundle.version}</version>
274                 </plugin>
275                 <plugin>
276                     <groupId>org.codehaus.mojo</groupId>
277                     <artifactId>build-helper-maven-plugin</artifactId>
278                     <version>1.8</version>
279                     <executions>
280                         <execution>
281                             <id>add-source</id>
282                             <goals>
283                                 <goal>add-source</goal>
284                             </goals>
285                             <phase>generate-sources</phase>
286                             <configuration>
287                                 <sources>
288                                     <source>src/main/yang</source>
289                                     <source>${jmxGeneratorPath}</source>
290                                     <source>${salGeneratorPath}</source>
291                                 </sources>
292                             </configuration>
293                         </execution>
294                     </executions>
295                 </plugin>
296             </plugins>
297         </pluginManagement>
298     </build>
299     <reporting>
300         <plugins>
301             <plugin>
302                 <groupId>org.codehaus.mojo</groupId>
303                 <artifactId>findbugs-maven-plugin</artifactId>
304                 <version>2.5.2</version>
305                 <configuration>
306                     <effort>Max</effort>
307                     <threshold>Low</threshold>
308                     <goal>site</goal>
309                 </configuration>
310             </plugin>
311             <plugin>
312               <artifactId>maven-jxr-plugin</artifactId>
313               <version>2.3</version>
314               <configuration>
315                 <aggregate>true</aggregate>
316                 <linkJavadoc>true</linkJavadoc>
317               </configuration>
318             </plugin>
319
320             <plugin>
321                 <groupId>org.codehaus.mojo</groupId>
322                 <artifactId>jdepend-maven-plugin</artifactId>
323                 <version>2.0-beta-2</version>
324             </plugin>
325         </plugins>
326     </reporting>
327     <profiles>
328         <profile>
329             <id>viewbuild</id>
330             <activation>
331                 <activeByDefault>true</activeByDefault>
332             </activation>
333             <properties>
334                 <build.suffix>${project.version}</build.suffix>
335             </properties>
336         </profile>
337         <profile>
338             <id>jenkins</id>
339             <activation>
340                 <property>
341                     <name>BUILDSUFFIX</name>
342                 </property>
343             </activation>
344             <properties>
345                 <build.suffix>${BUILDSUFFIX}</build.suffix>
346             </properties>
347         </profile>
348         <profile>
349             <id>repoBuild</id>
350             <build>
351                 <plugins>
352                     <plugin>
353                         <groupId>org.apache.maven.plugins</groupId>
354                         <artifactId>maven-javadoc-plugin</artifactId>
355                         <version>2.8.1</version>
356                         <executions>
357                             <execution>
358                                 <goals>
359                                     <goal>aggregate</goal>
360                                 </goals>
361                                 <phase>site</phase>
362                             </execution>
363                             <execution>
364                                 <id>attach-javadocs</id>
365                                 <goals>
366                                     <goal>jar</goal>
367                                 </goals>
368                             </execution>
369                         </executions>
370                     </plugin>
371                     <plugin>
372                         <groupId>org.apache.maven.plugins</groupId>
373                         <artifactId>maven-source-plugin</artifactId>
374                         <executions>
375                             <execution>
376                                 <id>attach-sources</id>
377                                 <phase>package</phase>
378                                 <goals>
379                                     <goal>jar-no-fork</goal>
380                                 </goals>
381                             </execution>
382                         </executions>
383                     </plugin>
384                 </plugins>
385             </build>
386         </profile>
387     </profiles>
388 </project>