Fix: Correct key looked up on experimenter messages
[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>util</module>
12         <module>openflow-protocol-impl</module>
13         <module>openflow-protocol-it</module>
14         <module>feature</module>
15         <module>simple-client</module>
16         <module>openflow-nx-resubmit-action</module>
17     </modules>
18     <scm>
19         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
20         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
21         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
22       <tag>HEAD</tag>
23     </scm>
24
25     <properties>
26         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
27         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
28         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
29         <siteplugin>3.2</siteplugin>
30         <projectinfo>2.6</projectinfo>
31         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32         <compiler.version>2.3.2</compiler.version>
33         <surefire.version>2.13</surefire.version>
34         <exam.version>3.0.0</exam.version>
35         <url.version>1.5.0</url.version>
36         <enunciate.version>1.26.2</enunciate.version>
37         <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
38         <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
39         <sonar.branch>${user.name}-private-view</sonar.branch>
40         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
41         <logback.version>1.0.9</logback.version>
42         <slf4j.version>1.7.2</slf4j.version>
43         <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
44         <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
45         <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
46         <maven.bundle.version>2.4.0</maven.bundle.version>
47         <guava.version>14.0.1</guava.version> 
48         <netty.version>4.0.19.Final</netty.version>
49         <releaseplugin.version>2.3.2</releaseplugin.version>
50         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
51         <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
52         <config.version>0.2.5-SNAPSHOT</config.version>
53     </properties>
54
55     <pluginRepositories>
56         <!-- Opendaylight public group -->
57         <pluginRepository>
58             <id>odlPublic</id>
59             <name>odlPublic</name>
60             <url>${nexusproxy}/groups/public/</url>
61             <snapshots>
62               <enabled>false</enabled>
63             </snapshots>
64         </pluginRepository>
65         <!-- OpenDayLight Snapshot artifact -->
66         <pluginRepository>
67             <id>opendaylight-snapshot</id>
68             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
69             <releases>
70               <enabled>false</enabled>
71             </releases>
72         </pluginRepository>
73     </pluginRepositories>
74
75
76     <repositories>
77         <!-- Opendaylight public group -->
78         <repository>
79             <id>odlPublic</id>
80             <name>odlPublic</name>
81             <url>${nexusproxy}/groups/public/</url>
82             <snapshots>
83               <enabled>false</enabled>
84             </snapshots>
85         </repository>
86         <!-- OpenDayLight Snapshot artifact -->
87         <repository>
88             <id>opendaylight-snapshot</id>
89             <name>opendaylight-snapshot</name>
90             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
91             <releases>
92               <enabled>false</enabled>
93             </releases>
94         </repository>
95     </repositories>
96     <distributionManagement>
97         <!-- OpenDayLight Released artifact -->
98         <repository>
99             <id>opendaylight-release</id>
100             <url>${nexusproxy}/repositories/opendaylight.release/</url>
101         </repository>
102         <!-- OpenDayLight Snapshot artifact -->
103         <snapshotRepository>
104             <id>opendaylight-snapshot</id>
105             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
106         </snapshotRepository>
107         <!-- Site deployment -->
108         <!-- site>
109             <id>website</id>
110             <url>${sitedeploy}</url>
111         </site -->
112     </distributionManagement>
113
114
115     <dependencyManagement>
116         <dependencies>
117             <dependency>
118                 <groupId>org.slf4j</groupId>
119                 <artifactId>slf4j-api</artifactId>
120                 <version>${slf4j.version}</version>
121             </dependency>
122             <dependency>
123                 <groupId>io.netty</groupId>
124                 <artifactId>netty-buffer</artifactId>
125                 <version>${netty.version}</version>
126             </dependency>
127             <dependency>
128                 <groupId>io.netty</groupId>
129                 <artifactId>netty-handler</artifactId>
130                 <version>${netty.version}</version>
131             </dependency>
132             <dependency>
133                 <groupId>com.google.guava</groupId>
134                 <artifactId>guava</artifactId>
135                 <version>${guava.version}</version>
136             </dependency>
137             <dependency>
138                 <groupId>org.opendaylight.yangtools.model</groupId>
139                 <artifactId>ietf-inet-types</artifactId>
140                 <version>${ietf.model.version}</version>
141             </dependency>
142             <dependency>
143                 <groupId>org.opendaylight.yangtools.model</groupId>
144                 <artifactId>ietf-yang-types</artifactId>
145                 <version>${ietf.model.version}</version>
146             </dependency>
147             <dependency>
148                 <groupId>org.opendaylight.yangtools.model</groupId>
149                 <artifactId>yang-ext</artifactId>
150                 <version>${yang.ext.version}</version>
151             </dependency>
152             <dependency>
153                 <groupId>org.osgi</groupId>
154                 <artifactId>org.osgi.core</artifactId>
155                 <version>5.0.0</version>
156             </dependency>
157             <dependency>
158                 <groupId>org.opendaylight.controller</groupId>
159                 <artifactId>config-api</artifactId>
160                 <version>0.2.5-SNAPSHOT</version>
161             </dependency>
162             <dependency>
163                 <groupId>junit</groupId>
164                 <artifactId>junit</artifactId>
165                 <version>4.10</version>
166                 <scope>test</scope>
167                 <optional>true</optional>
168             </dependency>
169             <dependency>
170                 <groupId>org.mockito</groupId>
171                 <artifactId>mockito-all</artifactId>
172                 <version>1.9.5</version>
173                 <scope>test</scope>
174             </dependency>
175         </dependencies>
176     </dependencyManagement>
177     <build>
178         <plugins>
179             <plugin>
180                 <groupId>org.apache.maven.plugins</groupId>
181                 <artifactId>maven-compiler-plugin</artifactId>
182                 <version>${compiler.version}</version>
183                 <inherited>true</inherited>
184                 <configuration>
185                     <source>1.7</source>
186                     <target>1.7</target>
187                 </configuration>
188             </plugin>
189             <plugin>
190                 <artifactId>maven-source-plugin</artifactId>
191                 <executions>
192                     <execution>
193                         <id>attach-sources</id>
194                         <phase>deploy</phase>
195                         <goals>
196                             <goal>jar-no-fork</goal>
197                         </goals> 
198                     </execution>
199                 </executions>
200             </plugin>
201             <plugin>
202               <groupId>org.apache.felix</groupId>
203               <artifactId>maven-bundle-plugin</artifactId>
204               <extensions>true</extensions>
205               <configuration>
206                 <instructions>
207                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
208                 </instructions>
209                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
210               </configuration>
211             </plugin>
212             <plugin>
213               <groupId>org.apache.maven.plugins</groupId>
214               <artifactId>maven-checkstyle-plugin</artifactId>
215               <version>2.12</version>
216               <configuration>
217                 <failOnViolation>false</failOnViolation>
218                 <configLocation>checkstyle-logging.xml</configLocation>
219                 <consoleOutput>true</consoleOutput>
220                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
221                 <sourceDirectory>${project.basedir}</sourceDirectory>
222                 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
223                 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
224               </configuration>
225               <dependencies>
226                 <dependency>
227                 <groupId>org.opendaylight.yangtools</groupId>
228                 <artifactId>checkstyle-logging</artifactId>
229                 <version>${yangtools.version}</version>
230                 </dependency>
231               </dependencies>
232               <executions>
233                 <execution>
234                 <goals>
235                   <goal>check</goal>
236                 </goals>
237                 </execution>
238               </executions>
239             </plugin>
240             <plugin>
241                 <groupId>org.codehaus.mojo</groupId>
242                 <artifactId>build-helper-maven-plugin</artifactId>
243             </plugin>
244         </plugins>
245         <pluginManagement>
246             <plugins>
247                 <plugin>
248                     <groupId>org.apache.maven.plugins</groupId>
249                     <artifactId>maven-source-plugin</artifactId>
250                     <version>2.2.1</version>
251                 </plugin>
252                 <plugin>
253                     <groupId>org.apache.maven.plugins</groupId>
254                     <artifactId>maven-deploy-plugin</artifactId>
255                     <version>2.7</version>
256                 </plugin>
257                 <plugin>
258                     <groupId>org.apache.maven.plugins</groupId>
259                     <artifactId>maven-jar-plugin</artifactId>
260                     <version>2.4</version>
261                 </plugin>
262                 <plugin>
263                     <groupId>org.apache.maven.plugins</groupId>
264                     <artifactId>maven-release-plugin</artifactId>
265                     <version>${releaseplugin.version}</version>
266                 </plugin>
267                 <plugin>
268                     <groupId>org.opendaylight.yangtools</groupId>
269                     <artifactId>yang-maven-plugin</artifactId>
270                     <version>${yangtools.version}</version>
271                 </plugin>
272                 <plugin>
273                     <groupId>org.apache.felix</groupId>
274                     <artifactId>maven-bundle-plugin</artifactId>
275                     <version>${maven.bundle.version}</version>
276                 </plugin>
277                 <plugin>
278                     <groupId>org.codehaus.mojo</groupId>
279                     <artifactId>build-helper-maven-plugin</artifactId>
280                     <version>1.8</version>
281                     <executions>
282                         <execution>
283                             <id>add-source</id>
284                             <goals>
285                                 <goal>add-source</goal>
286                             </goals>
287                             <phase>generate-sources</phase>
288                             <configuration>
289                                 <sources>
290                                     <source>src/main/yang</source>
291                                 </sources>
292                             </configuration>
293                         </execution>
294                     </executions>
295                 </plugin>
296                 <!-- Ignore/Execute plugin execution -->
297                 <plugin>
298                   <groupId>org.eclipse.m2e</groupId>
299                   <artifactId>lifecycle-mapping</artifactId>
300                   <version>1.0.0</version>
301                   <configuration>
302                     <lifecycleMappingMetadata>
303                       <pluginExecutions>
304                         <pluginExecution>
305                           <pluginExecutionFilter>
306                             <groupId>org.codehaus.mojo</groupId>
307                             <artifactId>properties-maven-plugin</artifactId>
308                             <versionRange>[0.0,)</versionRange>
309                             <goals>
310                               <goal>set-system-properties</goal>
311                             </goals>
312                           </pluginExecutionFilter>
313                           <action>
314                             <ignore></ignore>
315                           </action>
316                         </pluginExecution>
317                         <pluginExecution>
318                           <pluginExecutionFilter>
319                             <groupId>org.codehaus.enunciate</groupId>
320                             <artifactId>maven-enunciate-plugin</artifactId>
321                             <versionRange>[0.0,)</versionRange>
322                             <goals>
323                               <goal>docs</goal>
324                             </goals>
325                           </pluginExecutionFilter>
326                           <action>
327                             <ignore></ignore>
328                           </action>
329                         </pluginExecution>
330                         <pluginExecution>
331                           <pluginExecutionFilter>
332                             <groupId>org.jacoco</groupId>
333                             <artifactId>jacoco-maven-plugin</artifactId>
334                             <versionRange>[0.0,)</versionRange>
335                             <goals>
336                               <goal>prepare-agent</goal>
337                               <goal>pre-test</goal>
338                               <goal>post-test</goal>
339                             </goals>
340                           </pluginExecutionFilter>
341                           <action>
342                             <ignore></ignore>
343                           </action>
344                         </pluginExecution>
345                         <pluginExecution>
346                           <pluginExecutionFilter>
347                             <groupId>org.ops4j.pax.exam</groupId>
348                             <artifactId>maven-paxexam-plugin</artifactId>
349                             <versionRange>[1.2.4,)</versionRange>
350                             <goals>
351                               <goal>generate-depends-file</goal>
352                             </goals>
353                           </pluginExecutionFilter>
354                           <action>
355                             <execute>
356                               <runOnIncremental>false</runOnIncremental>
357                             </execute>
358                           </action>
359                         </pluginExecution>
360                         <pluginExecution>
361                           <pluginExecutionFilter>
362                             <groupId>org.apache.maven.plugins</groupId>
363                             <artifactId>maven-checkstyle-plugin</artifactId>
364                             <versionRange>[2.0,)</versionRange>
365                             <goals>
366                               <goal>check</goal>
367                             </goals>
368                           </pluginExecutionFilter>
369                           <action>
370                             <ignore></ignore>
371                           </action>
372                         </pluginExecution>
373                         <pluginExecution>
374                           <pluginExecutionFilter>
375                             <groupId>org.opendaylight.yangtools</groupId>
376                             <artifactId>yang-maven-plugin</artifactId>
377                             <versionRange>[0.5,)</versionRange>
378                             <goals>
379                               <goal>generate-sources</goal>
380                             </goals>
381                           </pluginExecutionFilter>
382                           <action>
383                             <execute></execute>
384                           </action>
385                         </pluginExecution>
386                         <pluginExecution>
387                           <pluginExecutionFilter>
388                             <groupId>org.codehaus.groovy.maven</groupId>
389                             <artifactId>gmaven-plugin</artifactId>
390                             <versionRange>1.0</versionRange>
391                             <goals>
392                               <goal>execute</goal>
393                             </goals>
394                           </pluginExecutionFilter>
395                           <action>
396                             <ignore></ignore>
397                           </action>
398                         </pluginExecution>
399                         <pluginExecution>
400                           <pluginExecutionFilter>
401                             <groupId>org.apache.maven.plugins</groupId>
402                             <artifactId>maven-enforcer-plugin</artifactId>
403                             <versionRange>${enforcer.version}</versionRange>
404                             <goals>
405                               <goal>enforce</goal>
406                             </goals>
407                           </pluginExecutionFilter>
408                           <action>
409                             <ignore></ignore>
410                           </action>
411                         </pluginExecution>
412                       </pluginExecutions>
413                     </lifecycleMappingMetadata>
414                   </configuration>
415                 </plugin>
416             </plugins>
417         </pluginManagement>
418     </build>
419     <reporting>
420         <plugins>
421             <plugin>
422                 <groupId>org.codehaus.mojo</groupId>
423                 <artifactId>findbugs-maven-plugin</artifactId>
424                 <version>2.5.2</version>
425                 <configuration>
426                     <effort>Max</effort>
427                     <threshold>Low</threshold>
428                     <goal>site</goal>
429                 </configuration>
430             </plugin>
431             <plugin>
432               <artifactId>maven-jxr-plugin</artifactId>
433               <version>2.3</version>
434               <configuration>
435                 <aggregate>true</aggregate>
436                 <linkJavadoc>true</linkJavadoc>
437               </configuration>
438             </plugin>
439
440             <plugin>
441                 <groupId>org.codehaus.mojo</groupId>
442                 <artifactId>jdepend-maven-plugin</artifactId>
443                 <version>2.0-beta-2</version>
444             </plugin>
445         </plugins>
446     </reporting>
447     <profiles>
448         <profile>
449             <id>viewbuild</id>
450             <activation>
451                 <activeByDefault>true</activeByDefault>
452             </activation>
453             <properties>
454                 <build.suffix>${project.version}</build.suffix>
455             </properties>
456         </profile>
457         <profile>
458             <id>jenkins</id>
459             <activation>
460                 <property>
461                     <name>BUILDSUFFIX</name>
462                 </property>
463             </activation>
464             <properties>
465                 <build.suffix>${BUILDSUFFIX}</build.suffix>
466             </properties>
467         </profile>
468         <profile>
469             <id>repoBuild</id>
470             <build>
471                 <plugins>
472                     <plugin>
473                         <groupId>org.apache.maven.plugins</groupId>
474                         <artifactId>maven-javadoc-plugin</artifactId>
475                         <version>2.8.1</version>
476                         <executions>
477                             <execution>
478                                 <goals>
479                                     <goal>aggregate</goal>
480                                 </goals>
481                                 <phase>site</phase>
482                             </execution>
483                             <execution>
484                                 <id>attach-javadocs</id>
485                                 <goals>
486                                     <goal>jar</goal>
487                                 </goals>
488                             </execution>
489                         </executions>
490                     </plugin>
491                     <plugin>
492                         <groupId>org.apache.maven.plugins</groupId>
493                         <artifactId>maven-source-plugin</artifactId>
494                         <executions>
495                             <execution>
496                                 <id>attach-sources</id>
497                                 <phase>package</phase>
498                                 <goals>
499                                     <goal>jar-no-fork</goal>
500                                 </goals>
501                             </execution>
502                         </executions>
503                     </plugin>
504                 </plugins>
505             </build>
506         </profile>
507     </profiles>
508 </project>