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