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