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