Remove deprecated BindingAwareProvider methods
[openflowplugin.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.0-SNAPSHOT</version>
8         <relativePath/>
9     </parent>
10     <prerequisites>
11         <maven>3.0</maven>
12     </prerequisites>
13
14     <groupId>org.opendaylight.openflowplugin</groupId>
15     <artifactId>openflowplugin-parent</artifactId>
16     <version>0.1.0-SNAPSHOT</version>
17     <name>openflowplugin</name> <!-- Used by Sonar to set project name -->
18     <packaging>pom</packaging>
19
20     <scm>
21       <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
22       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
23       <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
24       <tag>HEAD</tag>
25     </scm>
26
27     <distributionManagement>
28       <!-- OpenDayLight Released artifact -->
29       <repository>
30         <id>opendaylight-release</id>
31         <url>${nexusproxy}/repositories/opendaylight.release</url>
32       </repository>
33       <!-- OpenDayLight Snapshot artifact -->
34       <snapshotRepository>
35         <id>opendaylight-snapshot</id>
36         <url>${nexusproxy}/repositories/opendaylight.snapshot</url>
37       </snapshotRepository>
38       <!-- Site deployment -->
39       <!-- site>
40            <id>website</id>
41            <url>${sitedeploy}</url>
42            </site -->
43     </distributionManagement>
44
45     <properties>
46       <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
47       <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
48       <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
49       <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
50       <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
51       <sal.api.version>0.9.0-SNAPSHOT</sal.api.version>
52       <sal.connection.api.version>0.2.0-SNAPSHOT</sal.connection.api.version>
53       <sal.common.util.version>1.2.0-SNAPSHOT</sal.common.util.version>
54       <netconf.parent.version>0.3.0-SNAPSHOT</netconf.parent.version>
55       <config.parent.version>0.3.0-SNAPSHOT</config.parent.version>
56       <build.helper.version>1.8</build.helper.version>
57       <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
58       <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
59       <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
60       <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
61       <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
62
63       <!-- Sonar config -->
64       <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
65       <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
66       <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
67       <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
68       <sonar.profile>Sonar way with Findbugs</sonar.profile>
69
70       <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
71       <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
72       <dlux.version>0.2.0-SNAPSHOT</dlux.version>
73     </properties>
74
75     <dependencyManagement>
76       <dependencies>
77          <dependency>
78             <groupId>org.opendaylight.yangtools</groupId>
79             <artifactId>yang-binding</artifactId>
80             <version>${yang.binding.version}</version>
81         </dependency>
82           <dependency>
83               <groupId>org.opendaylight.openflowplugin</groupId>
84               <artifactId>openflowplugin-api</artifactId>
85               <version>${project.version}</version>
86           </dependency>
87         <dependency>
88           <groupId>org.opendaylight.openflowjava</groupId>
89           <artifactId>openflow-protocol-impl</artifactId>
90           <version>${openflowjava.version}</version>
91         </dependency>
92         <dependency>
93           <groupId>org.opendaylight.openflowjava</groupId>
94           <artifactId>openflow-protocol-api</artifactId>
95           <version>${openflowjava.version}</version>
96         </dependency>
97         <dependency>
98           <groupId>org.opendaylight.openflowjava</groupId>
99           <artifactId>openflow-protocol-spi</artifactId>
100           <version>${openflowjava.version}</version>
101         </dependency>
102         <dependency>
103           <groupId>org.opendaylight.openflowjava</groupId>
104           <artifactId>util</artifactId>
105           <version>${openflowjava.version}</version>
106         </dependency>
107         <dependency>
108           <groupId>org.opendaylight.openflowjava</groupId>
109           <artifactId>simple-client</artifactId>
110           <version>${openflowjava.version}</version>
111         </dependency>
112         <dependency>
113           <groupId>org.opendaylight.controller.model</groupId>
114           <artifactId>model-flow-base</artifactId>
115           <version>${controller.model.version}</version>
116         </dependency>
117         <dependency>
118           <groupId>org.opendaylight.controller.model</groupId>
119           <artifactId>model-flow-service</artifactId>
120           <version>${controller.model.version}</version>
121         </dependency>
122         <dependency>
123           <groupId>org.opendaylight.controller.model</groupId>
124           <artifactId>model-flow-statistics</artifactId>
125           <version>${controller.model.version}</version>
126         </dependency>
127         <dependency>
128           <groupId>org.opendaylight.controller.model</groupId>
129           <artifactId>model-inventory</artifactId>
130           <version>${controller.model.version}</version>
131         </dependency>
132         <dependency>
133           <groupId>org.opendaylight.controller</groupId>
134           <artifactId>sal-binding-api</artifactId>
135           <version>${controller.model.version}</version>
136         </dependency>
137         <dependency>
138             <groupId>org.opendaylight.controller</groupId>
139             <artifactId>liblldp</artifactId>
140             <version>${sal.api.version}</version>
141         </dependency>
142         <dependency>
143             <groupId>org.opendaylight.controller</groupId>
144             <artifactId>sal-common-util</artifactId>
145             <version>${controller.model.version}</version>
146         </dependency>
147         <!-- IT -->
148         <dependency>
149             <groupId>org.opendaylight.controller</groupId>
150             <artifactId>sal-common-util</artifactId>
151             <version>${sal.common.util.version}</version>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.controller</groupId>
155             <artifactId>config-netconf-connector</artifactId>
156             <version>${netconf.parent.version}</version>
157         </dependency>
158         <dependency>
159             <groupId>org.opendaylight.controller</groupId>
160             <artifactId>sal-binding-it</artifactId>
161             <version>${controller.model.version}</version>
162         </dependency>
163         <dependency>
164             <groupId>org.opendaylight.controller</groupId>
165             <artifactId>sal-binding-broker-impl</artifactId>
166             <version>${controller.model.version}</version>
167         </dependency>
168         <dependency>
169             <groupId>org.opendaylight.controller</groupId>
170             <artifactId>config-manager</artifactId>
171             <version>${config.parent.version}</version>
172         </dependency>
173           <dependency>
174               <groupId>org.opendaylight.controller</groupId>
175               <artifactId>config-api</artifactId>
176               <version>${config.parent.version}</version>
177           </dependency>
178         <dependency>
179             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
180             <artifactId>antlr4-runtime-osgi-nohead</artifactId>
181             <version>4.0</version>
182         </dependency>
183         <dependency>
184           <groupId>org.opendaylight.controller</groupId>
185           <artifactId>logback-config</artifactId>
186           <version>${config.parent.version}</version>
187         </dependency>
188         <dependency>
189           <groupId>org.opendaylight.controller</groupId>
190           <artifactId>config-persister-api</artifactId>
191           <version>${config.parent.version}</version>
192         </dependency>
193         <dependency>
194           <groupId>org.opendaylight.controller</groupId>
195           <artifactId>config-persister-impl</artifactId>
196           <version>${config.parent.version}</version>
197         </dependency>
198         <dependency>
199           <groupId>org.opendaylight.controller</groupId>
200           <artifactId>config-persister-file-xml-adapter</artifactId>
201           <version>${config.parent.version}</version>
202         </dependency>
203         <dependency>
204           <groupId>org.opendaylight.controller</groupId>
205           <artifactId>netconf-monitoring</artifactId>
206           <version>${netconf.parent.version}</version>
207         </dependency>
208         <dependency>
209           <groupId>org.opendaylight.controller</groupId>
210           <artifactId>netconf-client</artifactId>
211           <version>${netconf.parent.version}</version>
212         </dependency>
213         <dependency>
214           <groupId>org.opendaylight.controller</groupId>
215           <artifactId>netconf-impl</artifactId>
216           <version>${netconf.parent.version}</version>
217         </dependency>
218
219         <!-- thirdparty -->
220         <dependency>
221           <groupId>org.openexi</groupId>
222           <artifactId>nagasena</artifactId>
223           <version>${exi.nagasena.version}</version>
224         </dependency>
225         <dependency>
226           <groupId>org.openexi</groupId>
227           <artifactId>nagasena-rta</artifactId>
228           <version>${exi.nagasena.version}</version>
229         </dependency>
230         <dependency>
231           <groupId>org.opendaylight.controller.thirdparty</groupId>
232           <artifactId>ganymed</artifactId>
233           <version>1.2.0-SNAPSHOT</version>
234         </dependency>
235         <dependency>
236             <groupId>xml-apis</groupId>
237             <artifactId>xml-apis</artifactId>
238             <version>1.4.01</version>
239         </dependency>
240         <dependency>
241             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
242             <artifactId>xtend-lib-osgi</artifactId>
243             <version>2.4.3</version>
244             <scope>test</scope>
245         </dependency>
246       </dependencies>
247     </dependencyManagement>
248
249     <dependencies>
250         <!-- Sonar -->
251         <dependency>
252             <groupId>org.codehaus.sonar-plugins.java</groupId>
253             <artifactId>sonar-jacoco-listeners</artifactId>
254             <version>${sonar-jacoco-listeners.version}</version>
255             <scope>test</scope>
256         </dependency>
257     </dependencies>
258
259     <build>
260         <plugins>
261             <plugin>
262                  <groupId>org.codehaus.mojo</groupId>
263                  <artifactId>build-helper-maven-plugin</artifactId>
264             </plugin>
265             <plugin>
266                 <groupId>org.jacoco</groupId>
267                 <artifactId>jacoco-maven-plugin</artifactId>
268                 <executions>
269                     <execution>
270                         <id>prepare-ut-agent</id>
271                         <phase>process-test-classes</phase>
272                         <goals>
273                             <goal>prepare-agent</goal>
274                         </goals>
275                         <configuration>
276                             <destFile>${sonar.jacoco.reportPath}</destFile>
277                             <propertyName>jacoco.agent.ut.arg</propertyName>
278                         </configuration>
279                     </execution>
280                     <execution>
281                         <id>prepare-it-agent</id>
282                         <phase>pre-integration-test</phase>
283                         <goals>
284                             <goal>prepare-agent</goal>
285                         </goals>
286                         <configuration>
287                             <destFile>${sonar.jacoco.itReportPath}</destFile>
288                             <propertyName>jacoco.agent.it.arg</propertyName>
289                         </configuration>
290                     </execution>
291                 </executions>
292             </plugin>
293         </plugins>
294         <pluginManagement>
295           <plugins>
296             <plugin>
297               <groupId>org.apache.maven.plugins</groupId>
298               <artifactId>maven-compiler-plugin</artifactId>
299               <configuration>
300                 <source>1.7</source>
301                 <target>1.7</target>
302               </configuration>
303             </plugin>
304             <plugin>
305               <groupId>org.ops4j.pax.exam</groupId>
306               <artifactId>maven-paxexam-plugin</artifactId>
307               <version>1.2.4</version>
308             </plugin>
309             <plugin>
310               <groupId>org.eclipse.xtend</groupId>
311               <artifactId>xtend-maven-plugin</artifactId>
312               <version>${xtend.version}</version>
313               <executions>
314                   <execution>
315                       <goals>
316                           <goal>compile</goal>
317                       </goals>
318                       <configuration>
319                           <outputDirectory>${xtend.dstdir}</outputDirectory>
320                       </configuration>
321                   </execution>
322               </executions>
323           </plugin>
324           <plugin>
325               <artifactId>maven-clean-plugin</artifactId>
326               <configuration>
327                   <filesets>
328                       <fileset>
329                           <directory>${xtend.dstdir}</directory>
330                           <includes>
331                               <include>**</include>
332                           </includes>
333                       </fileset>
334                       <fileset>
335                           <directory>${jmxGeneratorPath}</directory>
336                           <includes>
337                               <include>**</include>
338                           </includes>
339                       </fileset>
340                       <fileset>
341                           <directory>${salGeneratorPath}</directory>
342                           <includes>
343                               <include>**</include>
344                           </includes>
345                       </fileset>
346                   </filesets>
347               </configuration>
348             </plugin>
349           <plugin>
350              <groupId>org.codehaus.mojo</groupId>
351              <artifactId>build-helper-maven-plugin</artifactId>
352              <version>${build.helper.version}</version>
353              <executions>
354                 <execution>
355                    <id>add-source</id>
356                    <phase>generate-sources</phase>
357                    <goals>
358                       <goal>add-source</goal>
359                    </goals>
360                    <configuration>
361                       <sources>
362                          <source>${jmxGeneratorPath}</source>
363                          <source>${salGeneratorPath}</source>
364                          <source>${xtend.dstdir}</source>
365                       </sources>
366                    </configuration>
367                 </execution>
368              </executions>
369             </plugin>
370             <plugin>
371               <groupId>org.opendaylight.yangtools</groupId>
372               <artifactId>yang-maven-plugin</artifactId>
373               <version>${yang.binding.version}</version>
374             </plugin>
375             <plugin>
376               <groupId>org.apache.felix</groupId>
377               <artifactId>maven-bundle-plugin</artifactId>
378               <version>${maven.bundle.version}</version>
379               <extensions>true</extensions>
380               <configuration>
381                 <instructions>
382                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
383                 </instructions>
384                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
385               </configuration>
386             </plugin>
387             <!-- Ignore/Execute plugin execution -->
388             <plugin>
389               <groupId>org.eclipse.m2e</groupId>
390               <artifactId>lifecycle-mapping</artifactId>
391               <version>1.0.0</version>
392               <configuration>
393                 <lifecycleMappingMetadata>
394                   <pluginExecutions>
395                     <pluginExecution>
396                       <pluginExecutionFilter>
397                         <groupId>org.codehaus.mojo</groupId>
398                         <artifactId>properties-maven-plugin</artifactId>
399                         <versionRange>[0.0,)</versionRange>
400                         <goals>
401                           <goal>set-system-properties</goal>
402                         </goals>
403                       </pluginExecutionFilter>
404                       <action>
405                         <ignore/>
406                       </action>
407                     </pluginExecution>
408                     <pluginExecution>
409                       <pluginExecutionFilter>
410                         <groupId>org.codehaus.enunciate</groupId>
411                         <artifactId>maven-enunciate-plugin</artifactId>
412                         <versionRange>[0.0,)</versionRange>
413                         <goals>
414                           <goal>docs</goal>
415                         </goals>
416                       </pluginExecutionFilter>
417                       <action>
418                         <ignore/>
419                       </action>
420                     </pluginExecution>
421                     <pluginExecution>
422                       <pluginExecutionFilter>
423                         <groupId>org.jacoco</groupId>
424                         <artifactId>jacoco-maven-plugin</artifactId>
425                         <versionRange>[0.0,)</versionRange>
426                         <goals>
427                           <goal>prepare-agent</goal>
428                           <goal>pre-test</goal>
429                           <goal>post-test</goal>
430                         </goals>
431                       </pluginExecutionFilter>
432                       <action>
433                         <ignore/>
434                       </action>
435                     </pluginExecution>
436                     <pluginExecution>
437                       <pluginExecutionFilter>
438                         <groupId>org.ops4j.pax.exam</groupId>
439                         <artifactId>maven-paxexam-plugin</artifactId>
440                         <versionRange>[1.2.4,)</versionRange>
441                         <goals>
442                           <goal>generate-depends-file</goal>
443                         </goals>
444                       </pluginExecutionFilter>
445                       <action>
446                         <execute>
447                           <runOnIncremental>false</runOnIncremental>
448                         </execute>
449                       </action>
450                     </pluginExecution>
451                     <pluginExecution>
452                       <pluginExecutionFilter>
453                         <groupId>org.apache.maven.plugins</groupId>
454                         <artifactId>maven-checkstyle-plugin</artifactId>
455                         <versionRange>[2.0,)</versionRange>
456                         <goals>
457                           <goal>check</goal>
458                         </goals>
459                       </pluginExecutionFilter>
460                       <action>
461                         <ignore/>
462                       </action>
463                     </pluginExecution>
464                     <pluginExecution>
465                       <pluginExecutionFilter>
466                         <groupId>org.opendaylight.yangtools</groupId>
467                         <artifactId>yang-maven-plugin</artifactId>
468                         <versionRange>[0.5,)</versionRange>
469                         <goals>
470                           <goal>generate-sources</goal>
471                         </goals>
472                       </pluginExecutionFilter>
473                       <action>
474                         <execute/>
475                       </action>
476                     </pluginExecution>
477                     <pluginExecution>
478                       <pluginExecutionFilter>
479                         <groupId>org.codehaus.groovy.maven</groupId>
480                         <artifactId>gmaven-plugin</artifactId>
481                         <versionRange>1.0</versionRange>
482                         <goals>
483                           <goal>execute</goal>
484                         </goals>
485                       </pluginExecutionFilter>
486                       <action>
487                         <ignore/>
488                       </action>
489                     </pluginExecution>
490                     <pluginExecution>
491                       <pluginExecutionFilter>
492                         <groupId>org.apache.maven.plugins</groupId>
493                         <artifactId>maven-enforcer-plugin</artifactId>
494                         <versionRange>${enforcer.version}</versionRange>
495                         <goals>
496                           <goal>enforce</goal>
497                         </goals>
498                       </pluginExecutionFilter>
499                       <action>
500                         <ignore/>
501                       </action>
502                     </pluginExecution>
503                   </pluginExecutions>
504                 </lifecycleMappingMetadata>
505               </configuration>
506             </plugin>
507             <plugin>
508               <groupId>org.apache.maven.plugins</groupId>
509               <artifactId>maven-failsafe-plugin</artifactId>
510               <configuration>
511                 <!-- Specific to generate mapping between tests and covered code -->
512                 <argLine>${jacoco.agent.it.arg}</argLine>
513                 <properties>
514                   <property>
515                     <name>listener</name>
516                     <value>org.sonar.java.jacoco.JUnitListener</value>
517                   </property>
518                 </properties>
519                 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
520                 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
521               </configuration>
522             </plugin>
523             <plugin>
524               <groupId>org.apache.maven.plugins</groupId>
525               <artifactId>maven-surefire-plugin</artifactId>
526               <configuration>
527                 <!-- Specific to generate mapping between tests and covered code -->
528                 <argLine>${jacoco.agent.ut.arg}</argLine>
529                 <properties>
530                   <property>
531                     <name>listener</name>
532                     <value>org.sonar.java.jacoco.JUnitListener</value>
533                   </property>
534                 </properties>
535               </configuration>
536             </plugin>
537           </plugins>
538         </pluginManagement>
539     </build>
540
541     <profiles>
542       <profile>
543         <id>findbugsReport</id>
544         <reporting>
545           <plugins>
546             <plugin>
547               <groupId>org.apache.maven.plugins</groupId>
548               <artifactId>maven-project-info-reports-plugin</artifactId>
549               <version>2.7</version>
550               <configuration>
551                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
552                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
553               </configuration>
554               <reportSets>
555                 <reportSet>
556                   <reports>
557                     <report>index</report>
558                     <report>project-team</report>
559                     <report>license</report>
560                     <report>mailing-list</report>
561                     <report>plugin-management</report>
562                     <report>cim</report>
563                     <report>issue-tracking</report>
564                     <report>scm</report>
565                     <report>summary</report>
566                   </reports>
567                 </reportSet>
568               </reportSets>
569             </plugin>
570             <plugin>
571               <groupId>org.codehaus.mojo</groupId>
572               <artifactId>findbugs-maven-plugin</artifactId>
573               <version>2.5.2</version>
574             </plugin>
575             <plugin>
576               <groupId>org.apache.maven.plugins</groupId>
577               <artifactId>maven-pmd-plugin</artifactId>
578               <version>3.0.1</version>
579             </plugin>
580             <plugin>
581               <groupId>org.apache.maven.plugins</groupId>
582               <artifactId>maven-jxr-plugin</artifactId>
583               <version>2.3</version>
584             </plugin>
585           </plugins>
586         </reporting>
587       </profile>
588     </profiles>
589
590     <repositories>
591       <repository>
592         <id>opendaylight-snapshot</id>
593         <name>opendaylight-snapshot</name>
594         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
595         <releases>
596           <enabled>false</enabled>
597         </releases>
598       </repository>
599       <repository>
600         <id>public</id>
601         <name>public</name>
602         <url>http://nexus.opendaylight.org/content/groups/public</url>
603         <snapshots>
604           <enabled>false</enabled>
605         </snapshots>
606       </repository>
607
608     </repositories>
609
610     <pluginRepositories>
611       <pluginRepository>
612         <id>opendaylight-central</id>
613         <name>opendaylight-central</name>
614         <url>http://nexus.opendaylight.org/content/repositories/public</url>
615         <snapshots>
616           <enabled>false</enabled>
617         </snapshots>
618       </pluginRepository>
619       <pluginRepository>
620         <id>opendaylight-snapshot</id>
621         <name>central2</name>
622         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
623         <releases>
624           <enabled>false</enabled>
625         </releases>
626       </pluginRepository>
627     </pluginRepositories>
628
629     <modules>
630       <module>openflowplugin-api</module>
631       <module>openflowplugin</module>
632       <module>extension</module>
633       <module>distribution/base</module>
634       <module>distribution/cbench</module>
635       <module>distribution/karaf</module>
636       <module>openflowplugin-controller-config</module>
637       <module>openflowplugin-it</module>
638       <module>test-provider</module>
639       <module>drop-test</module>
640       <module>drop-test-karaf</module>
641       <module>test-common</module>
642       <module>features</module>
643       <module>samples/sample-consumer</module>
644       <module>samples/learning-switch</module>
645     <module>applications</module>
646   </modules>
647 </project>