Fail build on checkstyle errors
[netvirt.git] / commons / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.odlparent</groupId>
16     <artifactId>odlparent</artifactId>
17     <version>1.5.0-SNAPSHOT</version>
18   </parent>
19
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>commons</artifactId>
22   <name>${project.artifactId}.parent</name>
23   <version>1.3.0-SNAPSHOT</version>
24   <packaging>pom</packaging>
25
26   <prerequisites>
27     <maven>3.1.1</maven>
28   </prerequisites>
29
30   <properties>
31     <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
32     <!-- Surefire/Failsafe Arguments -->
33     <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
34     <!-- OVSDB Component Versions -->
35     <openstack.netvirt.version>1.1.0-SNAPSHOT</openstack.netvirt.version>
36     <openstack.netvirt.providers.version>1.1.0-SNAPSHOT</openstack.netvirt.providers.version>
37     <ovsdb.features.version>1.1.0-SNAPSHOT</ovsdb.features.version>
38     <ovsdb.library.version>1.1.0-SNAPSHOT</ovsdb.library.version>
39     <ovsdb.northbound.version>0.7.0-SNAPSHOT</ovsdb.northbound.version>
40     <ovsdb.plugin.version>1.1.0-SNAPSHOT</ovsdb.plugin.version>
41     <ovsdb.plugin.compatibility.layer.version>1.1.0-SNAPSHOT</ovsdb.plugin.compatibility.layer.version>
42     <ovsdb.ovssfc.version>0.1.0-SNAPSHOT</ovsdb.ovssfc.version>
43     <ovsdb.utils.config.version>1.1.0-SNAPSHOT</ovsdb.utils.config.version>
44     <ovsdb.utils.mdsal.node.version>1.1.0-SNAPSHOT</ovsdb.utils.mdsal.node.version>
45     <ovsdb.utils.mdsal.openflow.version>1.1.0-SNAPSHOT</ovsdb.utils.mdsal.openflow.version>
46     <ovsdb.utils.servicehelper.version>1.1.0-SNAPSHOT</ovsdb.utils.servicehelper.version>
47     <plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
48     <schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
49     <schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
50     <!-- Skip Coverage and IT by default -->
51     <skip.coverage>true</skip.coverage>
52     <skip.distribution>false</skip.distribution>
53     <skip.integrationtest>true</skip.integrationtest>
54     <skip.karaf.featureTest>false</skip.karaf.featureTest>
55     <!-- The directory where maven was executed TODO see if this can be removed -->
56     <root.directory>${env.PWD}</root.directory>
57     <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
58     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
59     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
60     <!-- ODL Dependency Versions -->
61     <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
62     <containermanager.version>0.6.0-SNAPSHOT</containermanager.version>
63     <controller.config.version>0.3.0-SNAPSHOT</controller.config.version>
64     <forwardingrulesmanager.version>0.7.0-SNAPSHOT</forwardingrulesmanager.version>
65     <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
66     <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
67     <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
68     <networkconfig.neutron.version>0.5.0-SNAPSHOT</networkconfig.neutron.version>
69     <northbound.commons.version>0.5.0-SNAPSHOT</northbound.commons.version>
70     <nsf.version>0.5.0-SNAPSHOT</nsf.version>
71     <odl.karaf.base.version>1.5.0-SNAPSHOT</odl.karaf.base.version>
72     <odlparent.version>1.5.0-SNAPSHOT</odlparent.version>
73     <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
74     <openflowjava-nicira.version>0.1.0-SNAPSHOT</openflowjava-nicira.version>
75     <openflowjava-extension.version>0.1.0-SNAPSHOT</openflowjava-extension.version>
76     <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
77     <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
78     <sal.version>0.9.0-SNAPSHOT</sal.version>
79     <switchmanager.api.version>0.8.0-SNAPSHOT</switchmanager.api.version>
80     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
81     <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
82     <!-- 3rd Pary Dependency Versions -->
83     <commons.collection.version>1.0</commons.collection.version>
84     <httpcomponents.version>4.2.1</httpcomponents.version>
85     <portlet.version>2.0</portlet.version>
86     <powermock.version>1.5.2</powermock.version>
87   </properties>
88
89   <dependencyManagement>
90     <dependencies>
91       <dependency>
92         <groupId>commons-collections</groupId>
93         <artifactId>commons-collections</artifactId>
94         <version>${commons.collection.version}</version>
95       </dependency>
96       <dependency>
97         <groupId>io.netty</groupId>
98         <artifactId>netty-all</artifactId>
99         <version>${netty.version}</version>
100       </dependency>
101       <dependency>
102         <groupId>javax.portlet</groupId>
103         <artifactId>portlet-api</artifactId>
104         <version>${portlet.version}</version>
105       </dependency>
106       <dependency>
107         <groupId>org.apache.httpcomponents</groupId>
108         <artifactId>httpcore-nio</artifactId>
109         <version>${httpcomponents.version}</version>
110       </dependency>
111       <dependency>
112         <groupId>org.opendaylight.controller</groupId>
113         <artifactId>commons.northbound</artifactId>
114         <version>${northbound.commons.version}</version>
115       </dependency>
116       <dependency>
117         <groupId>org.opendaylight.controller</groupId>
118         <artifactId>config-api</artifactId>
119         <version>${controller.config.version}</version>
120       </dependency>
121       <dependency>
122         <groupId>org.opendaylight.controller</groupId>
123         <artifactId>clustering.services</artifactId>
124         <version>${clustering.services.version}</version>
125       </dependency>
126       <dependency>
127         <groupId>org.opendaylight.controller</groupId>
128         <artifactId>containermanager</artifactId>
129         <version>${containermanager.version}</version>
130       </dependency>
131       <dependency>
132         <groupId>org.opendaylight.controller</groupId>
133         <artifactId>forwardingrulesmanager</artifactId>
134         <version>${forwardingrulesmanager.version}</version>
135       </dependency>
136       <dependency>
137         <groupId>org.opendaylight.neutron</groupId>
138         <artifactId>neutron-spi</artifactId>
139         <version>${networkconfig.neutron.version}</version>
140       </dependency>
141       <dependency>
142         <groupId>org.opendaylight.controller</groupId>
143         <artifactId>opendaylight-karaf-empty</artifactId>
144         <version>1.5.0-SNAPSHOT</version>
145         <type>zip</type>
146       </dependency>
147       <dependency>
148         <groupId>org.opendaylight.controller</groupId>
149         <artifactId>sal</artifactId>
150         <version>${sal.version}</version>
151       </dependency>
152       <dependency>
153         <groupId>org.opendaylight.controller</groupId>
154         <artifactId>sal-binding-api</artifactId>
155         <version>${mdsal.version}</version>
156       </dependency>
157       <dependency>
158         <groupId>org.opendaylight.controller</groupId>
159         <artifactId>sal-binding-config</artifactId>
160         <version>${mdsal.version}</version>
161       </dependency>
162       <dependency>
163         <groupId>org.opendaylight.controller</groupId>
164         <artifactId>sal-common-api</artifactId>
165         <version>${mdsal.version}</version>
166       </dependency>
167       <dependency>
168         <groupId>org.opendaylight.controller</groupId>
169         <artifactId>sal-common-util</artifactId>
170         <version>${mdsal.version}</version>
171       </dependency>
172       <dependency>
173         <groupId>org.opendaylight.controller</groupId>
174         <artifactId>switchmanager</artifactId>
175         <version>${switchmanager.api.version}</version>
176       </dependency>
177       <dependency>
178         <groupId>org.opendaylight.openflowplugin.model</groupId>
179         <artifactId>model-flow-base</artifactId>
180         <version>${openflowplugin.version}</version>
181       </dependency>
182       <dependency>
183         <groupId>org.opendaylight.openflowplugin.model</groupId>
184         <artifactId>model-flow-service</artifactId>
185         <version>${openflowplugin.version}</version>
186       </dependency>
187       <dependency>
188         <groupId>org.opendaylight.openflowplugin.model</groupId>
189         <artifactId>model-flow-statistics</artifactId>
190         <version>${openflowplugin.version}</version>
191       </dependency>
192       <dependency>
193         <groupId>org.opendaylight.controller.model</groupId>
194         <artifactId>model-inventory</artifactId>
195         <version>${mdsal.version}</version>
196       </dependency>
197       <dependency>
198         <groupId>org.opendaylight.odlparent</groupId>
199         <artifactId>features-test</artifactId>
200         <version>${odlparent.version}</version>
201         <scope>test</scope>
202       </dependency>
203       <dependency>
204         <groupId>org.opendaylight.yangtools</groupId>
205         <artifactId>concepts</artifactId>
206         <version>${yangtools.version}</version>
207       </dependency>
208       <dependency>
209         <groupId>org.opendaylight.yangtools</groupId>
210         <artifactId>yang-binding</artifactId>
211         <version>${yangtools.version}</version>
212       </dependency>
213       <dependency>
214         <groupId>org.opendaylight.yangtools</groupId>
215         <artifactId>yang-common</artifactId>
216         <version>${yangtools.version}</version>
217       </dependency>
218       <dependency>
219         <groupId>org.opendaylight.yangtools.model</groupId>
220         <artifactId>ietf-inet-types</artifactId>
221         <version>${ietf.model.version}</version>
222       </dependency>
223       <dependency>
224         <groupId>org.opendaylight.yangtools.model</groupId>
225         <artifactId>ietf-yang-types</artifactId>
226         <version>${ietf.model.version}</version>
227       </dependency>
228       <dependency>
229         <groupId>org.opendaylight.yangtools.model</groupId>
230         <artifactId>ietf-yang-types-20130715</artifactId>
231         <version>${ietf.yang.types.version}</version>
232       </dependency>
233       <dependency>
234         <groupId>org.opendaylight.yangtools.model</groupId>
235         <artifactId>opendaylight-l2-types</artifactId>
236         <version>${opendaylight-l2-types.version}</version>
237       </dependency>
238       <dependency>
239         <groupId>org.opendaylight.yangtools.model</groupId>
240         <artifactId>yang-ext</artifactId>
241         <version>${yang-ext.version}</version>
242       </dependency>
243       <dependency>
244         <groupId>org.opendaylight.openflowjava</groupId>
245         <artifactId>openflow-protocol-api</artifactId>
246         <version>${openflowjava.version}</version>
247       </dependency>
248       <dependency>
249         <groupId>org.opendaylight.openflowjava</groupId>
250         <artifactId>openflow-protocol-impl</artifactId>
251         <version>${openflowjava.version}</version>
252       </dependency>
253       <dependency>
254         <groupId>org.opendaylight.openflowjava</groupId>
255         <artifactId>openflow-protocol-spi</artifactId>
256         <version>${openflowjava.version}</version>
257       </dependency>
258       <dependency>
259         <groupId>org.opendaylight.openflowjava</groupId>
260         <artifactId>util</artifactId>
261         <version>${openflowjava.version}</version>
262       </dependency>
263       <dependency>
264         <groupId>org.opendaylight.openflowplugin</groupId>
265         <artifactId>openflowplugin</artifactId>
266         <version>${openflowplugin.version}</version>
267       </dependency>
268       <dependency>
269         <groupId>org.opendaylight.openflowplugin</groupId>
270         <artifactId>openflowjava-extension-nicira</artifactId>
271         <version>${openflowjava-nicira.version}</version>
272       </dependency>
273       <dependency>
274         <groupId>org.opendaylight.openflowplugin</groupId>
275         <artifactId>openflowjava-extension-nicira-api</artifactId>
276         <version>${openflowjava-nicira.version}</version>
277       </dependency>
278       <dependency>
279         <groupId>org.opendaylight.openflowplugin</groupId>
280         <artifactId>openflowplugin-extension-api</artifactId>
281         <version>${openflowplugin.version}</version>
282       </dependency>
283       <dependency>
284         <groupId>org.opendaylight.openflowplugin</groupId>
285         <artifactId>openflowplugin-extension-nicira</artifactId>
286         <version>${openflowplugin.version}</version>
287       </dependency>
288       <dependency>
289         <groupId>org.opendaylight.openflowplugin</groupId>
290         <artifactId>openflowplugin-extension-nicira-config</artifactId>
291         <version>${openflowplugin.version}</version>
292       </dependency>
293       <dependency>
294         <groupId>org.opendaylight.ovsdb</groupId>
295         <artifactId>features-ovsdb</artifactId>
296         <version>${ovsdb.features.version}</version>
297       </dependency>
298       <dependency>
299         <groupId>org.opendaylight.ovsdb</groupId>
300         <artifactId>library</artifactId>
301         <version>${ovsdb.library.version}</version>
302       </dependency>
303       <dependency>
304         <groupId>org.opendaylight.ovsdb</groupId>
305         <artifactId>northbound</artifactId>
306         <version>${ovsdb.northbound.version}</version>
307       </dependency>
308       <dependency>
309         <groupId>org.opendaylight.ovsdb</groupId>
310         <artifactId>openstack.net-virt</artifactId>
311         <version>${openstack.netvirt.version}</version>
312       </dependency>
313       <dependency>
314         <groupId>org.opendaylight.ovsdb</groupId>
315         <artifactId>openstack.net-virt-providers</artifactId>
316         <version>${openstack.netvirt.providers.version}</version>
317       </dependency>
318       <dependency>
319         <groupId>org.opendaylight.ovsdb</groupId>
320         <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
321         <version>${ovsdb.plugin.compatibility.layer.version}</version>
322       </dependency>
323       <dependency>
324         <groupId>org.opendaylight.ovsdb</groupId>
325         <artifactId>plugin</artifactId>
326         <version>${ovsdb.plugin.version}</version>
327       </dependency>
328       <dependency>
329         <groupId>org.opendaylight.ovsdb</groupId>
330         <artifactId>plugin-mdsal-adapter</artifactId>
331         <version>${ovsdb.plugin.adapter.version}</version>
332       </dependency>
333       <dependency>
334         <groupId>org.opendaylight.ovsdb</groupId>
335         <artifactId>plugin-shell</artifactId>
336         <version>${plugin.shell.version}</version>
337       </dependency>
338       <dependency>
339         <groupId>org.opendaylight.ovsdb</groupId>
340         <artifactId>schema.hardwarevtep</artifactId>
341         <version>${schema.hardwarevtep.version}</version>
342       </dependency>
343       <dependency>
344         <groupId>org.opendaylight.ovsdb</groupId>
345         <artifactId>schema.openvswitch</artifactId>
346         <version>${schema.openvswitch.version}</version>
347       </dependency>
348       <dependency>
349         <groupId>org.opendaylight.ovsdb</groupId>
350         <artifactId>utils.config</artifactId>
351         <version>${ovsdb.utils.config.version}</version>
352       </dependency>
353       <dependency>
354         <groupId>org.opendaylight.ovsdb</groupId>
355         <artifactId>utils.mdsal-node</artifactId>
356         <version>${ovsdb.utils.mdsal.node.version}</version>
357       </dependency>
358       <dependency>
359         <groupId>org.opendaylight.ovsdb</groupId>
360         <artifactId>utils.mdsal-openflow</artifactId>
361         <version>${ovsdb.utils.mdsal.openflow.version}</version>
362       </dependency>
363       <dependency>
364         <groupId>org.opendaylight.ovsdb</groupId>
365         <artifactId>utils.servicehelper</artifactId>
366         <version>${ovsdb.utils.servicehelper.version}</version>
367       </dependency>
368       <dependency>
369         <groupId>org.powermock</groupId>
370         <artifactId>powermock-module-junit4</artifactId>
371         <version>${powermock.version}</version>
372       </dependency>
373       <dependency>
374         <groupId>org.powermock</groupId>
375         <artifactId>powermock-api-mockito</artifactId>
376         <version>${powermock.version}</version>
377       </dependency>
378       <dependency>
379         <groupId>org.powermock</groupId>
380         <artifactId>powermock-core</artifactId>
381         <version>${powermock.version}</version>
382       </dependency>
383     </dependencies>
384   </dependencyManagement>
385
386   <build>
387     <pluginManagement>
388       <plugins>
389         <plugin>
390           <groupId>org.apache.maven.plugins</groupId>
391           <artifactId>maven-compiler-plugin</artifactId>
392           <configuration>
393             <source>${java.version.source}</source>
394             <target>${java.version.target}</target>
395             <testSource>${java.version.source}</testSource>
396             <testTarget>${java.version.target}</testTarget>
397           </configuration>
398         </plugin>
399         <!-- This configuration should move to ODL-Parent -->
400         <plugin>
401           <groupId>org.eclipse.m2e</groupId>
402           <artifactId>lifecycle-mapping</artifactId>
403           <version>${lifecycle.mapping.version}</version>
404           <configuration>
405             <lifecycleMappingMetadata>
406               <pluginExecutions>
407                 <pluginExecution>
408                   <pluginExecutionFilter>
409                     <groupId>org.codehaus.mojo</groupId>
410                     <artifactId>properties-maven-plugin</artifactId>
411                     <versionRange>[0.0,)</versionRange>
412                     <goals>
413                       <goal>set-system-properties</goal>
414                     </goals>
415                   </pluginExecutionFilter>
416                   <action>
417                     <ignore></ignore>
418                   </action>
419                 </pluginExecution>
420                 <pluginExecution>
421                   <pluginExecutionFilter>
422                     <groupId>org.jacoco</groupId>
423                     <artifactId>jacoco-maven-plugin</artifactId>
424                     <versionRange>[0.0,)</versionRange>
425                     <goals>
426                       <goal>prepare-agent</goal>
427                       <goal>pre-test</goal>
428                       <goal>post-test</goal>
429                     </goals>
430                   </pluginExecutionFilter>
431                   <action>
432                     <ignore></ignore>
433                   </action>
434                 </pluginExecution>
435                 <pluginExecution>
436                   <pluginExecutionFilter>
437                     <groupId>org.opendaylight.yangtools</groupId>
438                     <artifactId>yang-maven-plugin</artifactId>
439                     <versionRange>[0.5,)</versionRange>
440                     <goals>
441                       <goal>generate-sources</goal>
442                     </goals>
443                   </pluginExecutionFilter>
444                   <action>
445                     <execute></execute>
446                   </action>
447                 </pluginExecution>
448               </pluginExecutions>
449             </lifecycleMappingMetadata>
450           </configuration>
451         </plugin>
452         <plugin>
453           <groupId>org.apache.maven.plugins</groupId>
454           <artifactId>maven-checkstyle-plugin</artifactId>
455           <dependencies>
456             <dependency>
457               <groupId>com.puppycrawl.tools</groupId>
458               <artifactId>checkstyle</artifactId>
459               <version>6.4.1</version>
460             </dependency>
461           </dependencies>
462           <configuration>
463             <configLocation>src/main/resources/ovsdb_checks.xml</configLocation>
464             <failsOnError>true</failsOnError>
465             <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
466             <excludes>**/yang/,**/features/,**/integrationtest/,**/northbound/,
467               **/openstack/,**/ovs-sfc/,
468               **/ovsdb-plugin-compatibility-layer/,
469               **/plugin/,**/plugin-shell/,
470               **/schema/hardwarevtep/,**/schema/openvswitch/,
471               **/southbound/,**/utils/
472             </excludes>
473           </configuration>
474         </plugin>
475         <plugin>
476           <groupId>org.jacoco</groupId>
477           <artifactId>jacoco-maven-plugin</artifactId>
478           <version>${jacoco.version}</version>
479           <configuration>
480             <skip>${skip.coverage}</skip>
481           </configuration>
482           <executions>
483             <execution>
484               <id>pre-unit-test</id>
485               <goals>
486                 <goal>prepare-agent</goal>
487               </goals>
488               <configuration>
489                 <destFile>${sonar.jacoco.reportPath}</destFile>
490               </configuration>
491             </execution>
492             <execution>
493               <id>pre-integration-test</id>
494               <goals>
495                 <goal>prepare-agent-integration</goal>
496               </goals>
497               <configuration>
498                 <destFile>${sonar.jacoco.itReportPath}</destFile>
499                 <append>true</append>
500                 <skip>${skip.integrationtest}</skip>
501               </configuration>
502             </execution>
503             <execution>
504               <id>post-unit-test</id>
505               <goals>
506                 <goal>report</goal>
507               </goals>
508               <configuration>
509                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
510               </configuration>
511             </execution>
512             <execution>
513               <id>post-integration-test</id>
514               <goals>
515                 <goal>report-integration</goal>
516               </goals>
517               <configuration>
518                 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
519                 <skip>${skip.integrationtest}</skip>
520               </configuration>
521             </execution>
522           </executions>
523         </plugin>
524         <plugin>
525           <groupId>org.apache.maven.plugins</groupId>
526           <artifactId>maven-surefire-plugin</artifactId>
527         </plugin>
528         <plugin>
529           <groupId>org.apache.maven.plugins</groupId>
530           <artifactId>maven-failsafe-plugin</artifactId>
531           <executions>
532             <execution>
533               <id>failsafe-integration-tests</id>
534               <goals>
535                 <goal>integration-test</goal>
536                 <goal>verify</goal>
537               </goals>
538               <configuration>
539                 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
540                 <skipTests>${skip.integrationtest}</skipTests>
541               </configuration>
542             </execution>
543           </executions>
544         </plugin>
545         <plugin>
546           <groupId>org.opendaylight.yangtools</groupId>
547           <artifactId>yang-maven-plugin</artifactId>
548           <version>${yangtools.version}</version>
549           <executions>
550             <execution>
551               <goals>
552                 <goal>generate-sources</goal>
553               </goals>
554               <configuration>
555                 <!-- directory containing yang files to parse and generate code -->
556                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
557                 <codeGenerators>
558                   <generator>
559                     <codeGeneratorClass>
560                       org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
561                     </codeGeneratorClass>
562                     <!-- directory into which generated files will be placed -->
563                     <outputBaseDir>
564                       target/generated-sources/sal
565                     </outputBaseDir>
566                   </generator>
567                 </codeGenerators>
568                 <inspectDependencies>true</inspectDependencies>
569               </configuration>
570             </execution>
571           </executions>
572           <dependencies>
573             <dependency>
574               <groupId>org.opendaylight.yangtools</groupId>
575               <artifactId>maven-sal-api-gen-plugin</artifactId>
576               <version>${yangtools.version}</version>
577               <type>jar</type>
578             </dependency>
579           </dependencies>
580         </plugin>
581         <plugin>
582           <groupId>org.codehaus.mojo</groupId>
583           <artifactId>build-helper-maven-plugin</artifactId>
584           <version>1.7</version>
585           <executions>
586             <execution>
587               <phase>generate-sources</phase>
588               <goals>
589                 <goal>add-source</goal>
590               </goals>
591               <configuration>
592                 <sources>
593                   <source>target/generated-sources/sal</source>
594                 </sources>
595               </configuration>
596             </execution>
597           </executions>
598         </plugin>
599       </plugins>
600     </pluginManagement>
601   </build>
602
603   <scm>
604     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
605     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
606     <tag>HEAD</tag>
607     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
608   </scm>
609
610   <profiles>
611     <profile>
612       <id>integrationtest</id>
613       <activation>
614         <activeByDefault>false</activeByDefault>
615       </activation>
616       <properties>
617         <skip.integrationtest>false</skip.integrationtest>
618       </properties>
619     </profile>
620     <profile>
621       <id>coverage</id>
622       <activation>
623         <activeByDefault>false</activeByDefault>
624       </activation>
625       <properties>
626         <skip.coverage>false</skip.coverage>
627       </properties>
628     </profile>
629     <profile>
630       <id>jenkins</id>
631       <activation>
632         <activeByDefault>false</activeByDefault>
633       </activation>
634       <properties>
635         <skip.distribution>true</skip.distribution>
636         <root.directory>${env.WORKSPACE}</root.directory>
637       </properties>
638     </profile>
639     <profile>
640       <id>karaf</id>
641       <activation>
642         <activeByDefault>false</activeByDefault>
643       </activation>
644       <properties>
645         <skip.karaf.featureTest>false</skip.karaf.featureTest>
646       </properties>
647     </profile>
648   </profiles>
649 </project>