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