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