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