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