BUG-2665: jacoco configuration
[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       <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
58       <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
59       <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
60       <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
61
62       <!-- Sonar config -->
63       <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
64       <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
65       <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
66       <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
67       <sonar.profile>Sonar way with Findbugs</sonar.profile>
68
69       <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
70       <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
71       <dlux.version>0.2.0-SNAPSHOT</dlux.version>
72       <config.version>0.3.0-SNAPSHOT</config.version>
73       <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
74       <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
75       <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
76       <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
77       <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
78     </properties>
79
80     <dependencyManagement>
81       <dependencies>
82          <dependency>
83             <groupId>org.opendaylight.yangtools</groupId>
84             <artifactId>yang-binding</artifactId>
85             <version>${yang.binding.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>org.opendaylight.yangtools</groupId>
89             <artifactId>yang-common</artifactId>
90             <version>${yang.binding.version}</version>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.yangtools.model</groupId>
94             <artifactId>ietf-inet-types</artifactId>
95             <version>${ietf-inet-types.version}</version>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.yangtools.model</groupId>
99             <artifactId>ietf-yang-types</artifactId>
100             <version>${ietf-yang-types.version}</version>
101         </dependency>
102         <dependency>
103             <groupId>org.opendaylight.yangtools.model</groupId>
104             <artifactId>yang-ext</artifactId>
105             <version>${yang-ext.version}</version>
106         </dependency>
107         <dependency>
108             <groupId>org.opendaylight.yangtools.model</groupId>
109             <artifactId>opendaylight-l2-types</artifactId>
110             <version>${opendaylight-l2-types.version}</version>
111         </dependency>
112
113           <dependency>
114               <groupId>org.opendaylight.openflowplugin</groupId>
115               <artifactId>openflowplugin-api</artifactId>
116               <version>${project.version}</version>
117           </dependency>
118         <dependency>
119           <groupId>org.opendaylight.openflowjava</groupId>
120           <artifactId>openflow-protocol-impl</artifactId>
121           <version>${openflowjava.version}</version>
122         </dependency>
123         <dependency>
124           <groupId>org.opendaylight.openflowjava</groupId>
125           <artifactId>openflow-protocol-api</artifactId>
126           <version>${openflowjava.version}</version>
127         </dependency>
128         <dependency>
129           <groupId>org.opendaylight.openflowjava</groupId>
130           <artifactId>openflow-protocol-spi</artifactId>
131           <version>${openflowjava.version}</version>
132         </dependency>
133         <dependency>
134           <groupId>org.opendaylight.openflowjava</groupId>
135           <artifactId>util</artifactId>
136           <version>${openflowjava.version}</version>
137         </dependency>
138         <dependency>
139           <groupId>org.opendaylight.openflowjava</groupId>
140           <artifactId>simple-client</artifactId>
141           <version>${openflowjava.version}</version>
142         </dependency>
143         <dependency>
144           <groupId>org.opendaylight.controller.model</groupId>
145           <artifactId>model-flow-base</artifactId>
146           <version>${controller.model.version}</version>
147         </dependency>
148         <dependency>
149           <groupId>org.opendaylight.controller.model</groupId>
150           <artifactId>model-flow-service</artifactId>
151           <version>${controller.model.version}</version>
152         </dependency>
153         <dependency>
154           <groupId>org.opendaylight.controller.model</groupId>
155           <artifactId>model-flow-statistics</artifactId>
156           <version>${controller.model.version}</version>
157         </dependency>
158         <dependency>
159           <groupId>org.opendaylight.controller.model</groupId>
160           <artifactId>model-inventory</artifactId>
161           <version>${controller.model.version}</version>
162         </dependency>
163         <dependency>
164           <groupId>org.opendaylight.controller.model</groupId>
165           <artifactId>model-topology</artifactId>
166           <version>${controller.model.version}</version>
167         </dependency>
168
169         <dependency>
170           <groupId>org.opendaylight.controller</groupId>
171           <artifactId>sal-binding-api</artifactId>
172           <version>${controller.model.version}</version>
173         </dependency>
174         <dependency>
175           <groupId>org.opendaylight.controller</groupId>
176           <artifactId>sal-binding-config</artifactId>
177           <version>${controller.model.version}</version>
178         </dependency>
179         <dependency>
180           <groupId>org.opendaylight.controller</groupId>
181           <artifactId>sal-binding-util</artifactId>
182           <version>${controller.model.version}</version>
183         </dependency>
184
185         <dependency>
186             <groupId>org.opendaylight.controller</groupId>
187             <artifactId>liblldp</artifactId>
188             <version>${sal.api.version}</version>
189         </dependency>
190         <dependency>
191             <groupId>org.opendaylight.controller</groupId>
192             <artifactId>sal-common-util</artifactId>
193             <version>${controller.model.version}</version>
194         </dependency>
195         <!-- IT -->
196         <dependency>
197             <groupId>org.opendaylight.controller</groupId>
198             <artifactId>sal-common-util</artifactId>
199             <version>${sal.common.util.version}</version>
200         </dependency>
201         <dependency>
202             <groupId>org.opendaylight.controller</groupId>
203             <artifactId>config-netconf-connector</artifactId>
204             <version>${netconf.parent.version}</version>
205         </dependency>
206         <dependency>
207             <groupId>org.opendaylight.controller</groupId>
208             <artifactId>sal-binding-it</artifactId>
209             <version>${controller.model.version}</version>
210         </dependency>
211         <dependency>
212             <groupId>org.opendaylight.controller</groupId>
213             <artifactId>sal-binding-broker-impl</artifactId>
214             <version>${controller.model.version}</version>
215         </dependency>
216         <dependency>
217             <groupId>org.opendaylight.controller</groupId>
218             <artifactId>config-manager</artifactId>
219             <version>${config.parent.version}</version>
220         </dependency>
221           <dependency>
222               <groupId>org.opendaylight.controller</groupId>
223               <artifactId>config-api</artifactId>
224               <version>${config.parent.version}</version>
225           </dependency>
226         <dependency>
227             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
228             <artifactId>antlr4-runtime-osgi-nohead</artifactId>
229             <version>4.0</version>
230         </dependency>
231         <dependency>
232           <groupId>org.opendaylight.controller</groupId>
233           <artifactId>logback-config</artifactId>
234           <version>${config.parent.version}</version>
235         </dependency>
236         <dependency>
237           <groupId>org.opendaylight.controller</groupId>
238           <artifactId>config-persister-api</artifactId>
239           <version>${config.parent.version}</version>
240         </dependency>
241         <dependency>
242           <groupId>org.opendaylight.controller</groupId>
243           <artifactId>config-persister-impl</artifactId>
244           <version>${config.parent.version}</version>
245         </dependency>
246         <dependency>
247           <groupId>org.opendaylight.controller</groupId>
248           <artifactId>config-persister-file-xml-adapter</artifactId>
249           <version>${config.parent.version}</version>
250         </dependency>
251         <dependency>
252           <groupId>org.opendaylight.controller</groupId>
253           <artifactId>netconf-monitoring</artifactId>
254           <version>${netconf.parent.version}</version>
255         </dependency>
256         <dependency>
257           <groupId>org.opendaylight.controller</groupId>
258           <artifactId>netconf-client</artifactId>
259           <version>${netconf.parent.version}</version>
260         </dependency>
261         <dependency>
262           <groupId>org.opendaylight.controller</groupId>
263           <artifactId>netconf-impl</artifactId>
264           <version>${netconf.parent.version}</version>
265         </dependency>
266
267         <!-- thirdparty -->
268         <dependency>
269           <groupId>org.openexi</groupId>
270           <artifactId>nagasena</artifactId>
271           <version>${exi.nagasena.version}</version>
272         </dependency>
273         <dependency>
274           <groupId>org.openexi</groupId>
275           <artifactId>nagasena-rta</artifactId>
276           <version>${exi.nagasena.version}</version>
277         </dependency>
278         <dependency>
279           <groupId>org.opendaylight.controller.thirdparty</groupId>
280           <artifactId>ganymed</artifactId>
281           <version>1.2.0-SNAPSHOT</version>
282         </dependency>
283         <dependency>
284             <groupId>xml-apis</groupId>
285             <artifactId>xml-apis</artifactId>
286             <version>1.4.01</version>
287         </dependency>
288       </dependencies>
289     </dependencyManagement>
290
291     <dependencies>
292         <!-- Sonar -->
293         <dependency>
294             <groupId>org.codehaus.sonar-plugins.java</groupId>
295             <artifactId>sonar-jacoco-listeners</artifactId>
296             <version>${sonar-jacoco-listeners.version}</version>
297             <scope>test</scope>
298         </dependency>
299     </dependencies>
300
301     <build>
302         <plugins>
303             <plugin>
304                  <groupId>org.codehaus.mojo</groupId>
305                  <artifactId>build-helper-maven-plugin</artifactId>
306             </plugin>
307             <plugin>
308                 <groupId>org.jacoco</groupId>
309                 <artifactId>jacoco-maven-plugin</artifactId>
310                 <executions>
311                     <execution>
312                         <id>prepare-ut-agent</id>
313                         <phase>process-test-classes</phase>
314                         <goals>
315                             <goal>prepare-agent</goal>
316                         </goals>
317                         <configuration>
318                             <destFile>${sonar.jacoco.reportPath}</destFile>
319                             <propertyName>jacoco.agent.ut.arg</propertyName>
320                         </configuration>
321                     </execution>
322                     <execution>
323                         <id>prepare-it-agent</id>
324                         <phase>pre-integration-test</phase>
325                         <goals>
326                             <goal>prepare-agent</goal>
327                         </goals>
328                         <configuration>
329                             <destFile>${sonar.jacoco.itReportPath}</destFile>
330                             <propertyName>jacoco.agent.it.arg</propertyName>
331                         </configuration>
332                     </execution>
333                 </executions>
334
335                 <configuration>
336                   <includes>
337                     <include>org.opendaylight.openflowplugin.*</include>
338                   </includes>
339                 </configuration>
340
341             </plugin>
342         </plugins>
343
344         <pluginManagement>
345           <plugins>
346             <plugin>
347               <groupId>org.apache.maven.plugins</groupId>
348               <artifactId>maven-compiler-plugin</artifactId>
349               <configuration>
350                 <source>1.7</source>
351                 <target>1.7</target>
352               </configuration>
353             </plugin>
354             <plugin>
355               <groupId>org.ops4j.pax.exam</groupId>
356               <artifactId>maven-paxexam-plugin</artifactId>
357               <version>1.2.4</version>
358             </plugin>
359           <plugin>
360               <artifactId>maven-clean-plugin</artifactId>
361               <configuration>
362                   <filesets>
363                       <fileset>
364                           <directory>${jmxGeneratorPath}</directory>
365                           <includes>
366                               <include>**</include>
367                           </includes>
368                       </fileset>
369                       <fileset>
370                           <directory>${salGeneratorPath}</directory>
371                           <includes>
372                               <include>**</include>
373                           </includes>
374                       </fileset>
375                   </filesets>
376               </configuration>
377             </plugin>
378           <plugin>
379              <groupId>org.codehaus.mojo</groupId>
380              <artifactId>build-helper-maven-plugin</artifactId>
381              <version>${build.helper.version}</version>
382              <executions>
383                 <execution>
384                    <id>add-source</id>
385                    <phase>generate-sources</phase>
386                    <goals>
387                       <goal>add-source</goal>
388                    </goals>
389                    <configuration>
390                       <sources>
391                          <source>${jmxGeneratorPath}</source>
392                          <source>${salGeneratorPath}</source>
393                       </sources>
394                    </configuration>
395                 </execution>
396              </executions>
397             </plugin>
398             <plugin>
399               <groupId>org.opendaylight.yangtools</groupId>
400               <artifactId>yang-maven-plugin</artifactId>
401               <version>${yang.binding.version}</version>
402             </plugin>
403             <plugin>
404               <groupId>org.apache.felix</groupId>
405               <artifactId>maven-bundle-plugin</artifactId>
406               <version>${maven.bundle.version}</version>
407               <extensions>true</extensions>
408               <configuration>
409                 <instructions>
410                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
411                 </instructions>
412                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
413               </configuration>
414             </plugin>
415             <!-- Ignore/Execute plugin execution -->
416             <plugin>
417               <groupId>org.eclipse.m2e</groupId>
418               <artifactId>lifecycle-mapping</artifactId>
419               <version>1.0.0</version>
420               <configuration>
421                 <lifecycleMappingMetadata>
422                   <pluginExecutions>
423                     <pluginExecution>
424                       <pluginExecutionFilter>
425                         <groupId>org.codehaus.mojo</groupId>
426                         <artifactId>properties-maven-plugin</artifactId>
427                         <versionRange>[0.0,)</versionRange>
428                         <goals>
429                           <goal>set-system-properties</goal>
430                         </goals>
431                       </pluginExecutionFilter>
432                       <action>
433                         <ignore/>
434                       </action>
435                     </pluginExecution>
436                     <pluginExecution>
437                       <pluginExecutionFilter>
438                         <groupId>org.codehaus.enunciate</groupId>
439                         <artifactId>maven-enunciate-plugin</artifactId>
440                         <versionRange>[0.0,)</versionRange>
441                         <goals>
442                           <goal>docs</goal>
443                         </goals>
444                       </pluginExecutionFilter>
445                       <action>
446                         <ignore/>
447                       </action>
448                     </pluginExecution>
449                     <pluginExecution>
450                       <pluginExecutionFilter>
451                         <groupId>org.jacoco</groupId>
452                         <artifactId>jacoco-maven-plugin</artifactId>
453                         <versionRange>[0.0,)</versionRange>
454                         <goals>
455                           <goal>prepare-agent</goal>
456                           <goal>pre-test</goal>
457                           <goal>post-test</goal>
458                         </goals>
459                       </pluginExecutionFilter>
460                       <action>
461                         <ignore/>
462                       </action>
463                     </pluginExecution>
464                     <pluginExecution>
465                       <pluginExecutionFilter>
466                         <groupId>org.ops4j.pax.exam</groupId>
467                         <artifactId>maven-paxexam-plugin</artifactId>
468                         <versionRange>[1.2.4,)</versionRange>
469                         <goals>
470                           <goal>generate-depends-file</goal>
471                         </goals>
472                       </pluginExecutionFilter>
473                       <action>
474                         <execute>
475                           <runOnIncremental>false</runOnIncremental>
476                         </execute>
477                       </action>
478                     </pluginExecution>
479                     <pluginExecution>
480                       <pluginExecutionFilter>
481                         <groupId>org.apache.maven.plugins</groupId>
482                         <artifactId>maven-checkstyle-plugin</artifactId>
483                         <versionRange>[2.0,)</versionRange>
484                         <goals>
485                           <goal>check</goal>
486                         </goals>
487                       </pluginExecutionFilter>
488                       <action>
489                         <ignore/>
490                       </action>
491                     </pluginExecution>
492                     <pluginExecution>
493                       <pluginExecutionFilter>
494                         <groupId>org.opendaylight.yangtools</groupId>
495                         <artifactId>yang-maven-plugin</artifactId>
496                         <versionRange>[0.5,)</versionRange>
497                         <goals>
498                           <goal>generate-sources</goal>
499                         </goals>
500                       </pluginExecutionFilter>
501                       <action>
502                         <execute/>
503                       </action>
504                     </pluginExecution>
505                     <pluginExecution>
506                       <pluginExecutionFilter>
507                         <groupId>org.codehaus.groovy.maven</groupId>
508                         <artifactId>gmaven-plugin</artifactId>
509                         <versionRange>1.0</versionRange>
510                         <goals>
511                           <goal>execute</goal>
512                         </goals>
513                       </pluginExecutionFilter>
514                       <action>
515                         <ignore/>
516                       </action>
517                     </pluginExecution>
518                     <pluginExecution>
519                       <pluginExecutionFilter>
520                         <groupId>org.apache.maven.plugins</groupId>
521                         <artifactId>maven-enforcer-plugin</artifactId>
522                         <versionRange>${enforcer.version}</versionRange>
523                         <goals>
524                           <goal>enforce</goal>
525                         </goals>
526                       </pluginExecutionFilter>
527                       <action>
528                         <ignore/>
529                       </action>
530                     </pluginExecution>
531                   </pluginExecutions>
532                 </lifecycleMappingMetadata>
533               </configuration>
534             </plugin>
535             <plugin>
536               <groupId>org.apache.maven.plugins</groupId>
537               <artifactId>maven-failsafe-plugin</artifactId>
538               <configuration>
539                 <!-- Specific to generate mapping between tests and covered code -->
540                 <argLine>${jacoco.agent.it.arg}</argLine>
541                 <properties>
542                   <property>
543                     <name>listener</name>
544                     <value>org.sonar.java.jacoco.JUnitListener</value>
545                   </property>
546                 </properties>
547                 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
548                 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
549               </configuration>
550             </plugin>
551             <plugin>
552               <groupId>org.apache.maven.plugins</groupId>
553               <artifactId>maven-surefire-plugin</artifactId>
554               <configuration>
555                 <!-- Specific to generate mapping between tests and covered code -->
556                 <argLine>${jacoco.agent.ut.arg}</argLine>
557                 <properties>
558                   <property>
559                     <name>listener</name>
560                     <value>org.sonar.java.jacoco.JUnitListener</value>
561                   </property>
562                 </properties>
563               </configuration>
564             </plugin>
565           </plugins>
566         </pluginManagement>
567     </build>
568
569     <profiles>
570       <profile>
571         <id>findbugsReport</id>
572         <reporting>
573           <plugins>
574             <plugin>
575               <groupId>org.apache.maven.plugins</groupId>
576               <artifactId>maven-project-info-reports-plugin</artifactId>
577               <version>2.7</version>
578               <configuration>
579                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
580                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
581               </configuration>
582               <reportSets>
583                 <reportSet>
584                   <reports>
585                     <report>index</report>
586                     <report>project-team</report>
587                     <report>license</report>
588                     <report>mailing-list</report>
589                     <report>plugin-management</report>
590                     <report>cim</report>
591                     <report>issue-tracking</report>
592                     <report>scm</report>
593                     <report>summary</report>
594                   </reports>
595                 </reportSet>
596               </reportSets>
597             </plugin>
598             <plugin>
599               <groupId>org.codehaus.mojo</groupId>
600               <artifactId>findbugs-maven-plugin</artifactId>
601               <version>2.5.2</version>
602             </plugin>
603             <plugin>
604               <groupId>org.apache.maven.plugins</groupId>
605               <artifactId>maven-pmd-plugin</artifactId>
606               <version>3.0.1</version>
607             </plugin>
608             <plugin>
609               <groupId>org.apache.maven.plugins</groupId>
610               <artifactId>maven-jxr-plugin</artifactId>
611               <version>2.3</version>
612             </plugin>
613           </plugins>
614         </reporting>
615       </profile>
616
617       <profile>
618         <id>nsf-migration</id>
619         <activation>
620           <activeByDefault>false</activeByDefault>
621           <file>
622             <exists>${basedir}/migrationStep.1</exists>
623           </file>
624         </activation>
625
626         <properties>
627           <!-- TODO: pull out into parent -->
628           <openflowplugin.model.version>${project.version}</openflowplugin.model.version>
629         </properties>
630
631         <dependencyManagement>
632           <!-- TODO: pull out into parent -->
633           <dependencies>
634             <dependency>
635               <groupId>org.opendaylight.openflowplugin.model</groupId>
636               <artifactId>model-flow-base</artifactId>
637               <version>${openflowplugin.model.version}</version>
638             </dependency>
639             <dependency>
640               <groupId>org.opendaylight.openflowplugin.model</groupId>
641               <artifactId>model-flow-service</artifactId>
642               <version>${openflowplugin.model.version}</version>
643             </dependency>
644             <dependency>
645               <groupId>org.opendaylight.openflowplugin.model</groupId>
646               <artifactId>model-flow-statistics</artifactId>
647               <version>${openflowplugin.model.version}</version>
648             </dependency>
649
650             <!-- excluding old models pulled as transient dependencies 
651                  TODO: remove -->
652             <dependency>
653               <groupId>org.opendaylight.openflowplugin</groupId>
654               <artifactId>openflowplugin-api</artifactId>
655               <version>${project.version}</version>
656               <exclusions>
657                 <exclusion>
658                   <groupId>org.opendaylight.controller.model</groupId>
659                   <artifactId>model-flow-base</artifactId>
660                 </exclusion>
661                 <exclusion>
662                   <groupId>org.opendaylight.controller.model</groupId>
663                   <artifactId>model-flow-service</artifactId>
664                 </exclusion>
665                 <exclusion>
666                   <groupId>org.opendaylight.controller.model</groupId>
667                   <artifactId>model-flow-statistics</artifactId>
668                 </exclusion>
669               </exclusions>
670             </dependency>
671             <dependency>
672               <groupId>org.opendaylight.controller</groupId>
673               <artifactId>sal-binding-broker-impl</artifactId>
674               <version>${controller.model.version}</version>
675               <exclusions>
676                 <exclusion>
677                   <groupId>org.opendaylight.controller.model</groupId>
678                   <artifactId>model-flow-base</artifactId>
679                 </exclusion>
680                 <exclusion>
681                   <groupId>org.opendaylight.controller.model</groupId>
682                   <artifactId>model-flow-service</artifactId>
683                 </exclusion>
684                 <exclusion>
685                   <groupId>org.opendaylight.controller.model</groupId>
686                   <artifactId>model-flow-statistics</artifactId>
687                 </exclusion>
688               </exclusions>
689             </dependency>
690           </dependencies>
691
692         </dependencyManagement>
693       </profile>
694
695     </profiles>
696
697     <repositories>
698       <repository>
699         <id>opendaylight-snapshot</id>
700         <name>opendaylight-snapshot</name>
701         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
702         <releases>
703           <enabled>false</enabled>
704         </releases>
705       </repository>
706       <repository>
707         <id>public</id>
708         <name>public</name>
709         <url>http://nexus.opendaylight.org/content/groups/public</url>
710         <snapshots>
711           <enabled>false</enabled>
712         </snapshots>
713       </repository>
714
715     </repositories>
716
717     <pluginRepositories>
718       <pluginRepository>
719         <id>opendaylight-central</id>
720         <name>opendaylight-central</name>
721         <url>http://nexus.opendaylight.org/content/repositories/public</url>
722         <snapshots>
723           <enabled>false</enabled>
724         </snapshots>
725       </pluginRepository>
726       <pluginRepository>
727         <id>opendaylight-snapshot</id>
728         <name>central2</name>
729         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
730         <releases>
731           <enabled>false</enabled>
732         </releases>
733       </pluginRepository>
734     </pluginRepositories>
735
736     <modules>
737       <module>openflowplugin-api</module>
738       <module>openflowplugin</module>
739       <module>extension</module>
740       <module>distribution/base</module>
741       <module>distribution/cbench</module>
742       <module>distribution/karaf</module>
743       <module>openflowplugin-controller-config</module>
744       <module>openflowplugin-it</module>
745       <module>test-provider</module>
746       <module>drop-test</module>
747       <module>drop-test-karaf</module>
748       <module>test-common</module>
749       <module>features</module>
750       <module>samples/sample-consumer</module>
751       <module>samples/learning-switch</module>
752       <module>applications</module>
753       <module>model</module>
754       <module>legacy</module>  
755   </modules>
756 </project>