BUG-1173: do not hard-code guava version
[lispflowmapping.git] / commons / parent / 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/maven-v4_0_0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4
5   <!-- NOTE: Tags we removed: SCM: We don't use maven to pull and push code, so
6              the SCM section does not appear to be needed. See http://maven.apache.org/scm/maven-scm-plugin/usage.html
7
8        NOTE: Our ultimate goal is to remove this pom, and move everything in here
9              up to ODL parent or the root of this project, depending on
10              its relevance. Only the logical root should reference this file. -->
11
12   <parent>
13     <!-- We want to inherit of ODL parent so we can inherit common third party
14          versions etc instead of redefining them here. Also we get some common definitions
15          for plugin configuration etc. -->
16     <groupId>org.opendaylight.odlparent</groupId>
17     <artifactId>odlparent</artifactId>
18     <version>1.5.0-SNAPSHOT</version>
19   </parent>
20
21   <groupId>org.opendaylight.lispflowmapping</groupId>
22   <artifactId>lispflowmapping-commons</artifactId>
23   <version>1.2.0-SNAPSHOT</version>
24   <packaging>pom</packaging>
25   <name>Parent POM</name>
26   <description></description>
27
28   <properties>
29     <branding.version>1.1.0-SNAPSHOT</branding.version>
30     <build.suffix>1.0.0</build.suffix>
31     <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
32     <config.version>0.3.0-SNAPSHOT</config.version>
33     <controller.checkstyle.version>0.1.0-SNAPSHOT</controller.checkstyle.version>
34     <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
35     <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
36     <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
37     <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
38     <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
39     <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
40     <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
41     <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
42     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
43     <nsf.version>0.5.0-SNAPSHOT</nsf.version>
44     <sal.version>0.9.0-SNAPSHOT</sal.version>
45     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
46     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
47     <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
48     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
49     <statisticsmanager.version>0.5.0</statisticsmanager.version>
50     <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
51     <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
52     <yang.binding.version>0.6.1</yang.binding.version>
53     <yang.codegen.version>0.6.1</yang.codegen.version>
54     <yang.src.path>src/main/yang</yang.src.path>
55     <yang.version>0.6.1</yang.version>
56     <yangtools.binding.version>0.6.1</yangtools.binding.version>
57     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
58   </properties>
59
60   <dependencyManagement>
61     <dependencies>
62       <!-- NOTE: The "Type" jar is considered default. You only need to specify
63                  the type when it is something other than jar. -->
64       <dependency>
65         <groupId>equinoxSDK381</groupId>
66         <artifactId>org.eclipse.osgi</artifactId>
67         <version>3.8.1.v20120830-144521</version>
68       </dependency>
69       <dependency>
70         <groupId>junit</groupId>
71         <artifactId>junit</artifactId>
72         <version>4.8.1</version>
73       </dependency>
74       <dependency>
75         <groupId>junit-addons</groupId>
76         <artifactId>junit-addons</artifactId>
77         <version>1.4</version>
78       </dependency>
79       <dependency>
80         <groupId>org.apache.karaf.features</groupId>
81         <artifactId>framework</artifactId>
82         <version>${karaf.version}</version>
83         <type>kar</type>
84       </dependency>
85       <dependency>
86         <groupId>org.hamcrest</groupId>
87         <artifactId>hamcrest-core</artifactId>
88         <version>1.3</version>
89       </dependency>
90       <dependency>
91         <groupId>org.jmock</groupId>
92         <artifactId>jmock-junit4</artifactId>
93         <version>2.6.0</version>
94       </dependency>
95       <dependency>
96         <groupId>org.jmock</groupId>
97         <artifactId>jmock-legacy</artifactId>
98         <version>2.6.0</version>
99       </dependency>
100       <dependency>
101         <groupId>org.opendaylight.controller</groupId>
102         <artifactId>clustering.services</artifactId>
103         <version>0.6.0-SNAPSHOT</version>
104       </dependency>
105       <dependency>
106         <groupId>org.opendaylight.controller</groupId>
107         <artifactId>commons.northbound</artifactId>
108         <version>0.5.0-SNAPSHOT</version>
109       </dependency>
110       <dependency>
111         <groupId>org.opendaylight.controller</groupId>
112         <artifactId>config-api</artifactId>
113         <version>0.3.0-SNAPSHOT</version>
114       </dependency>
115       <dependency>
116         <groupId>org.opendaylight.controller</groupId>
117         <artifactId>config-manager</artifactId>
118         <version>${config.version}</version>
119       </dependency>
120       <dependency>
121         <groupId>org.opendaylight.controller</groupId>
122         <artifactId>config-util</artifactId>
123         <version>0.3.0-SNAPSHOT</version>
124       </dependency>
125       <dependency>
126         <groupId>org.opendaylight.controller</groupId>
127         <artifactId>containermanager</artifactId>
128         <version>0.6.0-SNAPSHOT</version>
129       </dependency>
130       <dependency>
131         <groupId>org.opendaylight.controller</groupId>
132         <artifactId>distribution.opendaylight</artifactId>
133         <version>0.2.0-SNAPSHOT</version>
134         <classifier>osgipackage</classifier>
135         <type>zip</type>
136         <!-- Make sure this isn't included on any classpath -->
137       </dependency>
138       <dependency>
139         <groupId>org.opendaylight.controller</groupId>
140         <artifactId>features-adsal</artifactId>
141         <version>${sal.version}</version>
142         <classifier>features</classifier>
143         <type>xml</type>
144       </dependency>
145       <dependency>
146         <groupId>org.opendaylight.controller</groupId>
147         <artifactId>features-mdsal</artifactId>
148         <version>${mdsal.version}</version>
149         <classifier>features</classifier>
150         <type>xml</type>
151       </dependency>
152       <dependency>
153         <groupId>org.opendaylight.controller</groupId>
154         <artifactId>features-netconf-connector</artifactId>
155         <version>${mdsal.version}</version>
156         <classifier>features</classifier>
157         <type>xml</type>
158       </dependency>
159       <dependency>
160         <groupId>org.opendaylight.controller</groupId>
161         <artifactId>features-nsf</artifactId>
162         <version>${nsf.version}</version>
163         <classifier>features</classifier>
164         <type>xml</type>
165       </dependency>
166
167       <dependency>
168         <groupId>org.opendaylight.controller</groupId>
169         <artifactId>karaf.branding</artifactId>
170         <version>${branding.version}</version>
171         <scope>compile</scope>
172       </dependency>
173       <dependency>
174         <groupId>org.opendaylight.controller</groupId>
175         <artifactId>netty-event-executor-config</artifactId>
176         <version>${config.version}</version>
177       </dependency>
178       <dependency>
179         <groupId>org.opendaylight.controller</groupId>
180         <artifactId>networkconfig.neutron</artifactId>
181         <version>0.5.0-SNAPSHOT</version>
182       </dependency>
183       <dependency>
184         <groupId>org.opendaylight.controller</groupId>
185         <artifactId>opendaylight-karaf-empty</artifactId>
186         <version>${karaf.empty.version}</version>
187         <type>zip</type>
188       </dependency>
189
190       <dependency>
191         <groupId>org.opendaylight.controller</groupId>
192         <artifactId>opendaylight-karaf-resources</artifactId>
193         <version>${karaf.resources.version}</version>
194       </dependency>
195       <dependency>
196         <groupId>org.opendaylight.controller</groupId>
197         <artifactId>sal</artifactId>
198         <version>0.9.0-SNAPSHOT</version>
199       </dependency>
200       <dependency>
201         <groupId>org.opendaylight.controller</groupId>
202         <artifactId>sal-binding-api</artifactId>
203         <version>${mdsal.version}</version>
204       </dependency>
205       <dependency>
206         <groupId>org.opendaylight.controller</groupId>
207         <artifactId>sal-binding-broker-impl</artifactId>
208         <version>${mdsal.version}</version>
209       </dependency>
210       <dependency>
211         <groupId>org.opendaylight.controller</groupId>
212         <artifactId>sal-binding-config</artifactId>
213         <version>${mdsal.version}</version>
214       </dependency>
215       <dependency>
216         <groupId>org.opendaylight.controller</groupId>
217         <artifactId>sal-broker-impl</artifactId>
218         <version>${mdsal.version}</version>
219       </dependency>
220       <dependency>
221         <groupId>org.opendaylight.controller</groupId>
222         <artifactId>sal-common-util</artifactId>
223         <version>${mdsal.version}</version>
224       </dependency>
225       <dependency>
226         <groupId>org.opendaylight.controller</groupId>
227         <artifactId>sal-netconf-connector</artifactId>
228         <version>${mdsal.version}</version>
229       </dependency>
230       <dependency>
231         <groupId>org.opendaylight.controller</groupId>
232         <artifactId>threadpool-config-api</artifactId>
233         <version>${config.version}</version>
234       </dependency>
235       <dependency>
236         <groupId>org.opendaylight.controller</groupId>
237         <artifactId>threadpool-config-impl</artifactId>
238         <version>0.3.0-SNAPSHOT</version>
239       </dependency>
240       <dependency>
241         <groupId>org.opendaylight.lispflowmapping</groupId>
242         <artifactId>common.build.tools</artifactId>
243         <version>${lispflowmapping.version}</version>
244       </dependency>
245       <dependency>
246         <groupId>org.opendaylight.lispflowmapping</groupId>
247         <artifactId>lispflowmapping-code-commons</artifactId>
248         <version>${lispflowmapping.version}</version>
249       </dependency>
250       <dependency>
251         <groupId>org.opendaylight.lispflowmapping</groupId>
252         <artifactId>lispflowmapping-commons</artifactId>
253         <version>${lispflowmapping.version}</version>
254       </dependency>
255       <dependency>
256         <groupId>org.opendaylight.lispflowmapping</groupId>
257         <artifactId>mappingservice.api</artifactId>
258         <version>${lispflowmapping.version}</version>
259       </dependency>
260       <dependency>
261         <groupId>org.opendaylight.lispflowmapping</groupId>
262         <artifactId>mappingservice.clusterdao</artifactId>
263         <version>${lispflowmapping.version}</version>
264       </dependency>
265       <dependency>
266         <groupId>org.opendaylight.lispflowmapping</groupId>
267         <artifactId>mappingservice.config</artifactId>
268         <version>${lispflowmapping.version}</version>
269       </dependency>
270       <dependency>
271         <groupId>org.opendaylight.lispflowmapping</groupId>
272         <artifactId>mappingservice.implementation</artifactId>
273         <version>${lispflowmapping.version}</version>
274       </dependency>
275
276       <dependency>
277         <groupId>org.opendaylight.lispflowmapping</groupId>
278         <artifactId>mappingservice.netconf</artifactId>
279         <version>${lispflowmapping.version}</version>
280       </dependency>
281       <dependency>
282         <groupId>org.opendaylight.lispflowmapping</groupId>
283         <artifactId>mappingservice.neutron</artifactId>
284         <version>${lispflowmapping.version}</version>
285       </dependency>
286       <dependency>
287         <groupId>org.opendaylight.lispflowmapping</groupId>
288         <artifactId>mappingservice.northbound</artifactId>
289         <version>${lispflowmapping.version}</version>
290       </dependency>
291       <dependency>
292         <groupId>org.opendaylight.lispflowmapping</groupId>
293         <artifactId>mappingservice.southbound</artifactId>
294         <version>${lispflowmapping.version}</version>
295       </dependency>
296       <dependency>
297         <groupId>org.opendaylight.lispflowmapping</groupId>
298         <artifactId>mappingservice.yangmodel</artifactId>
299         <version>${lispflowmapping.version}</version>
300       </dependency>
301       <dependency>
302         <groupId>org.opendaylight.yangtools</groupId>
303         <artifactId>yang-binding</artifactId>
304         <version>0.7.0-SNAPSHOT</version>
305       </dependency>
306       <dependency>
307         <groupId>org.opendaylight.yangtools</groupId>
308         <artifactId>yang-common</artifactId>
309         <version>0.7.0-SNAPSHOT</version>
310       </dependency>
311       <dependency>
312         <groupId>org.opendaylight.yangtools</groupId>
313         <artifactId>yang-data-api</artifactId>
314         <version>0.7.0-SNAPSHOT</version>
315       </dependency>
316       <dependency>
317         <groupId>org.opendaylight.yangtools</groupId>
318         <artifactId>yang-data-impl</artifactId>
319         <version>${yangtools.version}</version>
320       </dependency>
321       <dependency>
322         <groupId>org.opendaylight.yangtools</groupId>
323         <artifactId>yang-data-util</artifactId>
324         <version>0.7.0-SNAPSHOT</version>
325       </dependency>
326       <dependency>
327         <groupId>org.opendaylight.yangtools</groupId>
328         <artifactId>yang-model-api</artifactId>
329         <version>0.7.0-SNAPSHOT</version>
330       </dependency>
331       <dependency>
332         <groupId>org.opendaylight.yangtools</groupId>
333         <artifactId>yang-parser-impl</artifactId>
334         <version>${yangtools.version}</version>
335       </dependency>
336       <dependency>
337         <groupId>org.opendaylight.yangtools.model</groupId>
338         <artifactId>ietf-inet-types</artifactId>
339         <version>2010.09.24.7-SNAPSHOT</version>
340       </dependency>
341       <dependency>
342         <groupId>org.opendaylight.yangtools.model</groupId>
343         <artifactId>ietf-yang-types</artifactId>
344         <version>2010.09.24.7-SNAPSHOT</version>
345       </dependency>
346       <dependency>
347         <groupId>org.apache.karaf.features</groupId>
348         <artifactId>standard</artifactId>
349         <version>${karaf.version}</version>
350         <classifier>features</classifier>
351         <type>xml</type>
352         <scope>runtime</scope>
353       </dependency>
354
355       <dependency>
356         <groupId>org.opendaylight.lispflowmapping</groupId>
357         <artifactId>features-lispflowmapping</artifactId>
358         <version>${lispflowmapping.version}</version>
359         <classifier>features</classifier>
360         <type>xml</type>
361         <scope>runtime</scope>
362       </dependency>
363       <dependency>
364         <groupId>org.opendaylight.lispflowmapping</groupId>
365         <artifactId>common.unittest.tools</artifactId>
366         <version>${lispflowmapping.version}</version>
367         <scope>test</scope>
368       </dependency>
369       <dependency>
370         <groupId>org.opendaylight.yangtools</groupId>
371         <artifactId>features-test</artifactId>
372         <version>${feature.test.version}</version>
373         <scope>test</scope>
374       </dependency>
375       <dependency>
376         <groupId>org.opendaylight.yangtools</groupId>
377         <artifactId>mockito-configuration</artifactId>
378         <version>${yangtools.version}</version>
379         <scope>test</scope>
380       </dependency>
381     </dependencies>
382   </dependencyManagement>
383   <build>
384     <pluginManagement>
385       <plugins>
386         <plugin>
387           <!-- This configures the sort pom plugin to sort properties, dependencies
388                etc during a build. It helps to ensure consistent poms that are easy to read.
389                While the configuration should exist at a root level it is still up to the
390                individual projects to invoke it by defining the plugin in the build->plugins
391                section. -->
392           <groupId>com.google.code.sortpom</groupId>
393           <artifactId>maven-sortpom-plugin</artifactId>
394           <version>2.2.1</version>
395           <configuration>
396             <createBackupFile>false</createBackupFile>
397             <encoding>${project.build.sourceEncoding}</encoding>
398             <keepBlankLines>true</keepBlankLines>
399             <lineSeparator>\n</lineSeparator>
400             <nrOfIndentSpace>2</nrOfIndentSpace>
401             <predefinedSortOrder>custom_1</predefinedSortOrder>
402             <sortDependencies>scope,groupId,artifactId</sortDependencies>
403             <sortPlugins>groupId,artifactId</sortPlugins>
404             <sortProperties>true</sortProperties>
405           </configuration>
406           <executions>
407             <execution>
408               <goals>
409                 <goal>sort</goal>
410               </goals>
411               <phase>verify</phase>
412             </execution>
413           </executions>
414         </plugin>
415         <plugin>
416           <groupId>org.apache.felix</groupId>
417           <artifactId>maven-bundle-plugin</artifactId>
418           <version>2.4.0</version>
419           <extensions>true</extensions>
420           <configuration>
421             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
422           </configuration>
423         </plugin>
424         <plugin>
425           <groupId>org.apache.maven.plugins</groupId>
426           <artifactId>maven-assembly-plugin</artifactId>
427           <version>2.4</version>
428         </plugin>
429         <plugin>
430           <!-- Define the configuration for the checkstyle plugin.  Import the rules from the controller project, which
431                is defined as a dependency.  Print rule violations to the console, but don't fail the build if violations
432                are found. -->
433           <groupId>org.apache.maven.plugins</groupId>
434           <artifactId>maven-checkstyle-plugin</artifactId>
435           <version>${checkstyle.version}</version>
436           <configuration>
437             <failOnViolation>false</failOnViolation>
438             <configLocation>controller/checkstyle.xml</configLocation>
439             <consoleOutput>true</consoleOutput>
440             <includeTestSourceDirectory>true</includeTestSourceDirectory>
441             <sourceDirectory>${project.basedir}</sourceDirectory>
442             <includes>**\/*.java,**\/*.xml,**\/*.yang</includes>
443             <excludes>**\/target\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
444           </configuration>
445           <dependencies>
446             <dependency>
447               <groupId>org.opendaylight.controller</groupId>
448               <artifactId>checkstyle</artifactId>
449               <version>${controller.checkstyle.version}</version>
450             </dependency>
451           </dependencies>
452           <executions>
453             <execution>
454               <goals>
455                 <goal>check</goal>
456               </goals>
457               <phase>process-sources</phase>
458             </execution>
459           </executions>
460         </plugin>
461         <plugin>
462           <!-- TODO move up to ODL parent. -->
463           <!-- This is required to make sure that we delete the files which are
464                being generated under the src/main directory since by default only files
465                under target get cleaned up. Because the clean plugin is automatically invoked
466                you do NOT need to specify it in the build->plugin section. You would only
467                want to override this if you have additional folders which need to be cleaned
468                up. -->
469           <artifactId>maven-clean-plugin</artifactId>
470           <configuration>
471             <filesets>
472               <fileset>
473                 <directory>${xtend.dstdir}</directory>
474                 <includes>
475                   <include>**</include>
476                 </includes>
477               </fileset>
478               <fileset>
479                 <directory>${jmxGeneratorPath}</directory>
480                 <includes>
481                   <include>**</include>
482                 </includes>
483               </fileset>
484               <fileset>
485                 <directory>${salGeneratorPath}</directory>
486                 <includes>
487                   <include>**</include>
488                 </includes>
489               </fileset>
490             </filesets>
491           </configuration>
492         </plugin>
493         <plugin>
494           <!-- this should really be defined in odl parent as it defines what
495                JRE this is targeted for. -->
496           <groupId>org.apache.maven.plugins</groupId>
497           <artifactId>maven-compiler-plugin</artifactId>
498           <version>2.3.2</version>
499           <configuration>
500             <source>${java.version.source}</source>
501             <target>${java.version.target}</target>
502           </configuration>
503         </plugin>
504         <plugin>
505           <!-- we are overriding the default version of this plugin here... not
506                sure why. -->
507           <groupId>org.apache.maven.plugins</groupId>
508           <artifactId>maven-dependency-plugin</artifactId>
509           <version>2.8</version>
510         </plugin>
511         <plugin>
512           <!-- Configures the java doc generation. Generally you should not have
513                to override this unless you need to exclude other packages etc. -->
514           <groupId>org.apache.maven.plugins</groupId>
515           <artifactId>maven-javadoc-plugin</artifactId>
516           <version>2.8.1</version>
517           <configuration>
518             <doclet>org.jboss.apiviz.APIviz</doclet>
519             <docletArtifact>
520               <groupId>org.jboss.apiviz</groupId>
521               <artifactId>apiviz</artifactId>
522               <version>1.3.2.GA</version>
523             </docletArtifact>
524             <finalName>${project.artifactId}-${project.version}</finalName>
525             <useStandardDocletOptions>true</useStandardDocletOptions>
526             <charset>UTF-8</charset>
527             <encoding>UTF-8</encoding>
528             <docencoding>UTF-8</docencoding>
529             <breakiterator>true</breakiterator>
530             <version>true</version>
531             <author>true</author>
532             <keywords>true</keywords>
533             <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
534             <failOnError>false</failOnError>
535           </configuration>
536         </plugin>
537         <plugin>
538           <groupId>org.apache.maven.plugins</groupId>
539           <artifactId>maven-jxr-plugin</artifactId>
540           <version>2.3</version>
541           <configuration>
542             <aggregate>true</aggregate>
543             <linkJavadoc>true</linkJavadoc>
544             <javadocDir>target/apidocs</javadocDir>
545           </configuration>
546         </plugin>
547         <plugin>
548           <groupId>org.apache.maven.plugins</groupId>
549           <artifactId>maven-release-plugin</artifactId>
550           <version>${releaseplugin.version}</version>
551         </plugin>
552         <plugin>
553           <groupId>org.apache.maven.plugins</groupId>
554           <artifactId>maven-surefire-plugin</artifactId>
555           <version>2.14.1</version>
556         </plugin>
557         <plugin>
558           <groupId>org.codehaus.enunciate</groupId>
559           <artifactId>maven-enunciate-plugin</artifactId>
560           <version>${enunciate.version}</version>
561           <configuration>
562             <configFile>enunciate.xml</configFile>
563           </configuration>
564           <executions>
565             <execution>
566               <goals>
567                 <goal>docs</goal>
568               </goals>
569             </execution>
570           </executions>
571         </plugin>
572         <plugin>
573           <!-- TODO: This should be in ODL parent -->
574           <groupId>org.codehaus.mojo</groupId>
575           <artifactId>build-helper-maven-plugin</artifactId>
576           <version>1.8</version>
577           <executions>
578             <execution>
579               <id>add-source</id>
580               <goals>
581                 <goal>add-source</goal>
582               </goals>
583               <phase>generate-sources</phase>
584               <configuration>
585                 <sources>
586                   <source>${yang.src.path}</source>
587                   <source>${jmxGeneratorPath}</source>
588                   <source>${salGeneratorPath}</source>
589                   <source>${xtend.dstdir}</source>
590                 </sources>
591               </configuration>
592             </execution>
593           </executions>
594         </plugin>
595
596         <plugin>
597           <groupId>org.eclipse.m2e</groupId>
598           <artifactId>lifecycle-mapping</artifactId>
599           <version>1.0.0</version>
600           <configuration>
601             <lifecycleMappingMetadata>
602               <pluginExecutions>
603                 <pluginExecution>
604                   <pluginExecutionFilter>
605                     <groupId>org.codehaus.mojo</groupId>
606                     <artifactId>properties-maven-plugin</artifactId>
607                     <versionRange>[0.0,)</versionRange>
608                     <goals>
609                       <goal>set-system-properties</goal>
610                     </goals>
611                   </pluginExecutionFilter>
612                   <action>
613                     <ignore></ignore>
614                   </action>
615                 </pluginExecution>
616                 <pluginExecution>
617                   <pluginExecutionFilter>
618                     <groupId>org.codehaus.enunciate</groupId>
619                     <artifactId>maven-enunciate-plugin</artifactId>
620                     <versionRange>[0.0,)</versionRange>
621                     <goals>
622                       <goal>docs</goal>
623                     </goals>
624                   </pluginExecutionFilter>
625                   <action>
626                     <ignore></ignore>
627                   </action>
628                 </pluginExecution>
629                 <pluginExecution>
630                   <pluginExecutionFilter>
631                     <groupId>org.jacoco</groupId>
632                     <artifactId>jacoco-maven-plugin</artifactId>
633                     <versionRange>[0.0,)</versionRange>
634                     <goals>
635                       <goal>prepare-agent</goal>
636                       <goal>pre-test</goal>
637                       <goal>post-test</goal>
638                     </goals>
639                   </pluginExecutionFilter>
640                   <action>
641                     <ignore></ignore>
642                   </action>
643                 </pluginExecution>
644                 <pluginExecution>
645                   <pluginExecutionFilter>
646                     <groupId>org.ops4j.pax.exam</groupId>
647                     <artifactId>maven-paxexam-plugin</artifactId>
648                     <versionRange>[1.2.4,)</versionRange>
649                     <goals>
650                       <goal>generate-depends-file</goal>
651                     </goals>
652                   </pluginExecutionFilter>
653                   <action>
654                     <ignore></ignore>
655                   </action>
656                 </pluginExecution>
657                 <pluginExecution>
658                   <pluginExecutionFilter>
659                     <groupId>org.apache.maven.plugins</groupId>
660                     <artifactId>maven-checkstyle-plugin</artifactId>
661                     <versionRange>[2.0,)</versionRange>
662                     <goals>
663                       <goal>check</goal>
664                     </goals>
665                   </pluginExecutionFilter>
666                   <action>
667                     <ignore></ignore>
668                   </action>
669                 </pluginExecution>
670                 <pluginExecution>
671                   <pluginExecutionFilter>
672                     <groupId>org.opendaylight.yangtools</groupId>
673                     <artifactId>yang-maven-plugin</artifactId>
674                     <versionRange>[0.5,)</versionRange>
675                     <goals>
676                       <goal>generate-sources</goal>
677                     </goals>
678                   </pluginExecutionFilter>
679                   <action>
680                     <ignore></ignore>
681                   </action>
682                 </pluginExecution>
683               </pluginExecutions>
684             </lifecycleMappingMetadata>
685           </configuration>
686         </plugin>
687         <plugin>
688           <!-- here we are defining the default generators for yang You may need
689                to override this in child poms if you want to define additional generators,
690                such as the JMX generator etc. -->
691           <groupId>org.opendaylight.yangtools</groupId>
692           <artifactId>yang-maven-plugin</artifactId>
693           <version>${yangtools.version}</version>
694           <dependencies>
695             <dependency>
696               <groupId>org.opendaylight.yangtools</groupId>
697               <artifactId>maven-sal-api-gen-plugin</artifactId>
698               <version>${yangtools.version}</version>
699             </dependency>
700           </dependencies>
701           <executions>
702             <execution>
703               <goals>
704                 <goal>generate-sources</goal>
705               </goals>
706               <configuration>
707                 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
708                 <codeGenerators>
709                   <generator>
710                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
711                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
712                   </generator>
713                 </codeGenerators>
714                 <inspectDependencies>true</inspectDependencies>
715               </configuration>
716             </execution>
717           </executions>
718         </plugin>
719       </plugins>
720     </pluginManagement>
721     <plugins>
722       <plugin>
723         <groupId>org.jacoco</groupId>
724         <artifactId>jacoco-maven-plugin</artifactId>
725         <executions>
726           <execution>
727             <id>prepare-ut-agent</id>
728             <phase>process-test-classes</phase>
729             <goals>
730               <goal>prepare-agent</goal>
731             </goals>
732             <configuration>
733               <destFile>${sonar.jacoco.reportPath}</destFile>
734             </configuration>
735           </execution>
736           <execution>
737             <id>prepare-it-agent</id>
738             <phase>pre-integration-test</phase>
739             <goals>
740               <goal>prepare-agent</goal>
741             </goals>
742             <configuration>
743               <destFile>${sonar.jacoco.itReportPath}</destFile>
744             </configuration>
745           </execution>
746            <execution>
747              <id>post-test</id>
748              <phase>test</phase>
749              <goals>
750                <goal>report</goal>
751              </goals>
752            </execution>
753         </executions>
754       </plugin>
755     </plugins>
756   </build>
757
758   <reporting>
759     <outputDirectory>${project.build.directory}/site</outputDirectory>
760     <excludeDefaults>true</excludeDefaults>
761     <plugins>
762       <plugin>
763         <groupId>org.apache.maven.plugins</groupId>
764         <artifactId>maven-javadoc-plugin</artifactId>
765         <version>2.8.1</version>
766         <configuration>
767           <doclet>org.jboss.apiviz.APIviz</doclet>
768           <docletArtifact>
769             <groupId>org.jboss.apiviz</groupId>
770             <artifactId>apiviz</artifactId>
771             <version>1.3.2.GA</version>
772           </docletArtifact>
773           <finalName>${project.artifactId}-${build.suffix}</finalName>
774           <useStandardDocletOptions>true</useStandardDocletOptions>
775           <charset>UTF-8</charset>
776           <encoding>UTF-8</encoding>
777           <docencoding>UTF-8</docencoding>
778           <breakiterator>true</breakiterator>
779           <version>true</version>
780           <author>true</author>
781           <keywords>true</keywords>
782           <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
783         </configuration>
784       </plugin>
785       <plugin>
786         <groupId>org.apache.maven.plugins</groupId>
787         <artifactId>maven-jxr-plugin</artifactId>
788         <version>2.3</version>
789         <configuration>
790           <aggregate>true</aggregate>
791           <linkJavadoc>true</linkJavadoc>
792         </configuration>
793       </plugin>
794       <plugin>
795         <groupId>org.apache.maven.plugins</groupId>
796         <artifactId>maven-project-info-reports-plugin</artifactId>
797         <version>${projectinfo}</version>
798         <configuration>
799           <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
800           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
801         </configuration>
802         <reportSets>
803           <reportSet>
804             <reports>
805               <report>index</report>
806               <report>project-team</report>
807               <report>license</report>
808               <report>mailing-list</report>
809               <report>plugin-management</report>
810               <report>cim</report>
811               <report>issue-tracking</report>
812               <report>scm</report>
813               <report>summary</report>
814             </reports>
815           </reportSet>
816         </reportSets>
817       </plugin>
818     </plugins>
819   </reporting>
820
821   <distributionManagement>
822     <!-- Note: We want the nexus proxy property here because want to enable
823          devs to upload this artifact using mvn deploy to other maven repositories. -->
824     <!-- OpenDayLight Released artifact -->
825     <repository>
826       <id>opendaylight-release</id>
827       <url>${nexusproxy}/repositories/opendaylight.release/</url>
828     </repository>
829     <!-- OpenDayLight Snapshot artifact -->
830     <snapshotRepository>
831       <id>opendaylight-snapshot</id>
832       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
833     </snapshotRepository>
834     <!-- Site deployment -->
835   </distributionManagement>
836
837 </project>