Bug 5377: Support configuring cipher suites to use for SSLEngine
[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     <parent>
5         <groupId>org.opendaylight.odlparent</groupId>
6         <artifactId>odlparent</artifactId>
7         <version>1.5.5-SNAPSHOT</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.opendaylight.openflowjava</groupId>
12     <artifactId>openflow-protocol-parent</artifactId>
13     <version>0.6.5-SNAPSHOT</version>
14     <name>openflowjava</name> <!-- Used by Sonar to set project name -->
15     <packaging>pom</packaging>
16
17     <modules>
18         <module>artifacts</module>
19         <module>features</module>
20         <module>openflowjava-config</module>
21         <module>openflow-protocol-api</module>
22         <module>openflow-protocol-impl</module>
23         <module>openflow-protocol-it</module>
24         <module>openflow-protocol-spi</module>
25         <module>simple-client</module>
26         <module>util</module>
27     </modules>
28     <scm>
29         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
30         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
31         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
32       <tag>HEAD</tag>
33     </scm>
34
35     <properties>
36         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
37         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38         <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
39         <karaf.distro.empty.version>1.5.5-SNAPSHOT</karaf.distro.empty.version>
40         <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
41
42         <config.version>0.3.5-SNAPSHOT</config.version>
43         <mdsal.version>1.2.5-SNAPSHOT</mdsal.version>
44         <yangtools.version>0.7.5-SNAPSHOT</yangtools.version>
45
46         <!-- Sonar config -->
47         <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
48         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49         <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
50         <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
51     </properties>
52
53     <dependencyManagement>
54         <dependencies>
55             <dependency>
56               <groupId>org.opendaylight.openflowjava</groupId>
57               <artifactId>openflowjava-artifacts</artifactId>
58               <version>${project.version}</version>
59               <type>pom</type>
60               <scope>import</scope>
61             </dependency>
62             <dependency>
63               <groupId>org.opendaylight.yangtools</groupId>
64               <artifactId>yangtools-artifacts</artifactId>
65               <version>${yangtools.version}</version>
66               <type>pom</type>
67               <scope>import</scope>
68             </dependency>
69             <dependency>
70               <groupId>org.opendaylight.controller</groupId>
71               <artifactId>config-artifacts</artifactId>
72               <version>${config.version}</version>
73               <type>pom</type>
74               <scope>import</scope>
75             </dependency>
76             <dependency>
77               <groupId>org.opendaylight.controller</groupId>
78               <artifactId>mdsal-artifacts</artifactId>
79               <version>${mdsal.version}</version>
80               <scope>import</scope>
81               <type>pom</type>
82             </dependency>
83         </dependencies>
84     </dependencyManagement>
85
86     <dependencies>
87         <!-- Sonar -->
88         <dependency>
89             <groupId>org.codehaus.sonar-plugins.java</groupId>
90             <artifactId>sonar-jacoco-listeners</artifactId>
91             <version>${sonar-jacoco-listeners.version}</version>
92             <scope>test</scope>
93         </dependency>
94     </dependencies>
95
96     <build>
97         <plugins>
98             <plugin>
99                 <groupId>org.apache.maven.plugins</groupId>
100                 <artifactId>maven-compiler-plugin</artifactId>
101                 <inherited>true</inherited>
102                 <configuration>
103                     <source>1.7</source>
104                     <target>1.7</target>
105                 </configuration>
106             </plugin>
107             <plugin>
108                 <artifactId>maven-source-plugin</artifactId>
109                 <executions>
110                     <execution>
111                         <id>attach-sources</id>
112                         <phase>deploy</phase>
113                         <goals>
114                             <goal>jar-no-fork</goal>
115                         </goals>
116                     </execution>
117                 </executions>
118             </plugin>
119             <plugin>
120               <groupId>org.apache.felix</groupId>
121               <artifactId>maven-bundle-plugin</artifactId>
122               <extensions>true</extensions>
123               <configuration>
124                 <instructions>
125                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
126                 </instructions>
127                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
128               </configuration>
129             </plugin>
130             <plugin>
131               <groupId>org.apache.maven.plugins</groupId>
132               <artifactId>maven-checkstyle-plugin</artifactId>
133               <version>2.12</version>
134               <configuration>
135                 <failOnViolation>false</failOnViolation>
136                 <configLocation>checkstyle-logging.xml</configLocation>
137                 <consoleOutput>true</consoleOutput>
138                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
139                 <sourceDirectory>${project.basedir}</sourceDirectory>
140                 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
141                 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
142               </configuration>
143               <dependencies>
144                 <dependency>
145                 <groupId>org.opendaylight.yangtools</groupId>
146                 <artifactId>checkstyle-logging</artifactId>
147                 <version>${yangtools.version}</version>
148                 </dependency>
149               </dependencies>
150               <executions>
151                 <execution>
152                 <goals>
153                   <goal>check</goal>
154                 </goals>
155                 </execution>
156               </executions>
157             </plugin>
158             <plugin>
159                 <groupId>org.codehaus.mojo</groupId>
160                 <artifactId>build-helper-maven-plugin</artifactId>
161             </plugin>
162             <plugin>
163                 <groupId>org.jacoco</groupId>
164                 <artifactId>jacoco-maven-plugin</artifactId>
165                 <executions>
166                     <execution>
167                         <id>prepare-ut-agent</id>
168                         <phase>process-test-classes</phase>
169                         <goals>
170                             <goal>prepare-agent</goal>
171                         </goals>
172                         <configuration>
173                             <destFile>${sonar.jacoco.reportPath}</destFile>
174                             <propertyName>jacoco.agent.ut.arg</propertyName>
175                         </configuration>
176                     </execution>
177                     <execution>
178                         <id>prepare-it-agent</id>
179                         <phase>pre-integration-test</phase>
180                         <goals>
181                             <goal>prepare-agent</goal>
182                         </goals>
183                         <configuration>
184                             <destFile>${sonar.jacoco.itReportPath}</destFile>
185                             <propertyName>jacoco.agent.it.arg</propertyName>
186                         </configuration>
187                     </execution>
188                 </executions>
189             </plugin>
190         </plugins>
191         <pluginManagement>
192             <plugins>
193                 <plugin>
194                     <groupId>org.opendaylight.yangtools</groupId>
195                     <artifactId>yang-maven-plugin</artifactId>
196                     <version>${yangtools.version}</version>
197                 </plugin>
198                 <plugin>
199                     <groupId>org.codehaus.mojo</groupId>
200                     <artifactId>build-helper-maven-plugin</artifactId>
201                     <version>1.8</version>
202                     <executions>
203                         <execution>
204                             <id>add-source</id>
205                             <goals>
206                                 <goal>add-source</goal>
207                             </goals>
208                             <phase>generate-sources</phase>
209                             <configuration>
210                                 <sources>
211                                     <source>src/main/yang</source>
212                                 </sources>
213                             </configuration>
214                         </execution>
215                     </executions>
216                 </plugin>
217                 <plugin>
218                     <groupId>org.apache.maven.plugins</groupId>
219                     <artifactId>maven-failsafe-plugin</artifactId>
220                     <configuration>
221                         <!-- Specific to generate mapping between tests and covered code -->
222                         <argLine>${jacoco.agent.it.arg}</argLine>
223                         <properties>
224                             <property>
225                                 <name>listener</name>
226                                 <value>org.sonar.java.jacoco.JUnitListener</value>
227                             </property>
228                         </properties>
229                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
230                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
231                     </configuration>
232                 </plugin>
233                 <plugin>
234                     <groupId>org.apache.maven.plugins</groupId>
235                     <artifactId>maven-surefire-plugin</artifactId>
236                     <configuration>
237                         <!-- Specific to generate mapping between tests and covered code -->
238                         <argLine>${jacoco.agent.ut.arg}</argLine>
239                         <properties>
240                             <property>
241                                 <name>listener</name>
242                                 <value>org.sonar.java.jacoco.JUnitListener</value>
243                             </property>
244                         </properties>
245                     </configuration>
246                 </plugin>
247                 <!-- Ignore/Execute plugin execution -->
248                 <plugin>
249                   <groupId>org.eclipse.m2e</groupId>
250                   <artifactId>lifecycle-mapping</artifactId>
251                   <version>1.0.0</version>
252                   <configuration>
253                     <lifecycleMappingMetadata>
254                       <pluginExecutions>
255                         <pluginExecution>
256                           <pluginExecutionFilter>
257                             <groupId>org.codehaus.mojo</groupId>
258                             <artifactId>properties-maven-plugin</artifactId>
259                             <versionRange>[0.0,)</versionRange>
260                             <goals>
261                               <goal>set-system-properties</goal>
262                             </goals>
263                           </pluginExecutionFilter>
264                           <action>
265                             <ignore/>
266                           </action>
267                         </pluginExecution>
268                         <pluginExecution>
269                           <pluginExecutionFilter>
270                             <groupId>org.jacoco</groupId>
271                             <artifactId>jacoco-maven-plugin</artifactId>
272                             <versionRange>[0.0,)</versionRange>
273                             <goals>
274                               <goal>prepare-agent</goal>
275                               <goal>pre-test</goal>
276                               <goal>post-test</goal>
277                             </goals>
278                           </pluginExecutionFilter>
279                           <action>
280                             <ignore/>
281                           </action>
282                         </pluginExecution>
283                         <pluginExecution>
284                           <pluginExecutionFilter>
285                             <groupId>org.ops4j.pax.exam</groupId>
286                             <artifactId>maven-paxexam-plugin</artifactId>
287                             <versionRange>[1.2.4,)</versionRange>
288                             <goals>
289                               <goal>generate-depends-file</goal>
290                             </goals>
291                           </pluginExecutionFilter>
292                           <action>
293                             <execute>
294                               <runOnIncremental>false</runOnIncremental>
295                             </execute>
296                           </action>
297                         </pluginExecution>
298                         <pluginExecution>
299                           <pluginExecutionFilter>
300                             <groupId>org.apache.maven.plugins</groupId>
301                             <artifactId>maven-checkstyle-plugin</artifactId>
302                             <versionRange>[2.0,)</versionRange>
303                             <goals>
304                               <goal>check</goal>
305                             </goals>
306                           </pluginExecutionFilter>
307                           <action>
308                             <ignore/>
309                           </action>
310                         </pluginExecution>
311                         <pluginExecution>
312                           <pluginExecutionFilter>
313                             <groupId>org.opendaylight.yangtools</groupId>
314                             <artifactId>yang-maven-plugin</artifactId>
315                             <versionRange>[0.5,)</versionRange>
316                             <goals>
317                               <goal>generate-sources</goal>
318                             </goals>
319                           </pluginExecutionFilter>
320                           <action>
321                             <execute/>
322                           </action>
323                         </pluginExecution>
324                         <pluginExecution>
325                           <pluginExecutionFilter>
326                             <groupId>org.codehaus.groovy.maven</groupId>
327                             <artifactId>gmaven-plugin</artifactId>
328                             <versionRange>1.0</versionRange>
329                             <goals>
330                               <goal>execute</goal>
331                             </goals>
332                           </pluginExecutionFilter>
333                           <action>
334                             <ignore/>
335                           </action>
336                         </pluginExecution>
337                         <pluginExecution>
338                           <pluginExecutionFilter>
339                             <groupId>org.apache.maven.plugins</groupId>
340                             <artifactId>maven-enforcer-plugin</artifactId>
341                             <versionRange>${enforcer.version}</versionRange>
342                             <goals>
343                               <goal>enforce</goal>
344                             </goals>
345                           </pluginExecutionFilter>
346                           <action>
347                             <ignore/>
348                           </action>
349                         </pluginExecution>
350                       </pluginExecutions>
351                     </lifecycleMappingMetadata>
352                   </configuration>
353                 </plugin>
354             </plugins>
355         </pluginManagement>
356     </build>
357     <reporting>
358         <plugins>
359             <plugin>
360                 <groupId>org.codehaus.mojo</groupId>
361                 <artifactId>findbugs-maven-plugin</artifactId>
362                 <version>2.5.2</version>
363                 <configuration>
364                     <effort>Max</effort>
365                     <threshold>Low</threshold>
366                     <goal>site</goal>
367                 </configuration>
368             </plugin>
369             <plugin>
370               <artifactId>maven-jxr-plugin</artifactId>
371               <version>2.3</version>
372               <configuration>
373                 <aggregate>true</aggregate>
374                 <linkJavadoc>true</linkJavadoc>
375               </configuration>
376             </plugin>
377
378             <plugin>
379                 <groupId>org.codehaus.mojo</groupId>
380                 <artifactId>jdepend-maven-plugin</artifactId>
381                 <version>2.0-beta-2</version>
382             </plugin>
383         </plugins>
384     </reporting>
385     <profiles>
386         <profile>
387             <id>viewbuild</id>
388             <activation>
389                 <activeByDefault>true</activeByDefault>
390             </activation>
391             <properties>
392                 <build.suffix>${project.version}</build.suffix>
393             </properties>
394         </profile>
395         <profile>
396             <id>jenkins</id>
397             <activation>
398                 <property>
399                     <name>BUILDSUFFIX</name>
400                 </property>
401             </activation>
402             <properties>
403                 <build.suffix>${BUILDSUFFIX}</build.suffix>
404             </properties>
405         </profile>
406         <profile>
407             <id>repoBuild</id>
408             <build>
409                 <plugins>
410                     <plugin>
411                         <groupId>org.apache.maven.plugins</groupId>
412                         <artifactId>maven-javadoc-plugin</artifactId>
413                         <version>2.8.1</version>
414                         <executions>
415                             <execution>
416                                 <goals>
417                                     <goal>aggregate</goal>
418                                 </goals>
419                                 <phase>site</phase>
420                             </execution>
421                             <execution>
422                                 <id>attach-javadocs</id>
423                                 <goals>
424                                     <goal>jar</goal>
425                                 </goals>
426                             </execution>
427                         </executions>
428                     </plugin>
429                     <plugin>
430                         <groupId>org.apache.maven.plugins</groupId>
431                         <artifactId>maven-source-plugin</artifactId>
432                         <executions>
433                             <execution>
434                                 <id>attach-sources</id>
435                                 <phase>package</phase>
436                                 <goals>
437                                     <goal>jar-no-fork</goal>
438                                 </goals>
439                             </execution>
440                         </executions>
441                     </plugin>
442                 </plugins>
443             </build>
444         </profile>
445     </profiles>
446 </project>