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