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