pom.xml revision a776d7ff
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  ~ Copyright (c) 2016 Cisco and/or its affiliates.
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at:
8  ~
9  ~     http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19
20    <modelVersion>4.0.0</modelVersion>
21    <groupId>io.fd.honeycomb.common</groupId>
22    <artifactId>honeycomb-parent</artifactId>
23    <name>${project.artifactId}</name>
24    <version>1.19.08-SNAPSHOT</version>
25    <packaging>pom</packaging>
26    <prerequisites>
27        <maven>3.1.1</maven>
28    </prerequisites>
29
30    <properties>
31        <nexusproxy>http://nexus.fd.io/content</nexusproxy>
32        <odl.nexusproxy>https://nexus.opendaylight.org/content</odl.nexusproxy>
33
34        <!-- Sonar configuration -->
35        <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
36        <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**</sonar.exclusions>
37        <!-- https://github.com/SonarSource/sonar-scanning-examples/blob/master/sonarqube-scanner-maven/pom.xml#L24 -->
38        <!-- The destination file for the code coverage report has to be set to the same value
39             in the parent pom and in each module pom. Then JaCoCo will add up information in
40             the same report, so that, it will give the cross-module code coverage. -->
41        <!-- We store jacoco-it.exec in honeycomb-parent because it is built first,
42             so mvn clean won't remove aggregated report. -->
43        <sonar.jacoco.itReportPath>${maven.multiModuleProjectDirectory}/common/honeycomb-parent/target/jacoco-it.exec</sonar.jacoco.itReportPath>
44
45        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
47
48        <!-- ODL dependencies -->
49        <odl.yangtools.version>2.1.8</odl.yangtools.version>
50        <odl.mdsal.version>3.0.6</odl.mdsal.version>
51        <odl.mdsal.controller.version>1.9.0</odl.mdsal.controller.version>
52        <odl.mdsalmodel.version>0.13.2</odl.mdsalmodel.version>
53        <odl.binding.model.version>2.0.0</odl.binding.model.version>
54        <odl.netconf.version>1.6.0</odl.netconf.version>
55        <odl.restconf.version>1.9.0</odl.restconf.version>
56        <odl.salGenerator.version>0.13.2</odl.salGenerator.version>
57        <odl.bgpcep.version>0.11.0</odl.bgpcep.version>
58        <salGeneratorPath>target/generated-sources/mdsal-binding</salGeneratorPath>
59
60        <!-- common dependencies -->
61        <junit.version>4.12</junit.version>
62        <mockito.version>2.23.4</mockito.version>
63        <hamcrest.version>2.1</hamcrest.version>
64        <guava.version>23.6-jre</guava.version>
65        <jsr305.version>3.0.2</jsr305.version>
66        <slf4j.version>1.7.25</slf4j.version>
67        <jdt.version>2.2.200</jdt.version>
68
69        <!-- plugins -->
70        <checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
71        <checkstyle.version>8.18</checkstyle.version>
72        <maven.javadoc.version>3.0.1</maven.javadoc.version>
73        <jacoco.version>0.8.2</jacoco.version>
74        <enforcer.version>3.0.0-M2</enforcer.version>
75        <maven.compile.plugin.version>3.8.0</maven.compile.plugin.version>
76        <maven.bundle.version>4.1.0</maven.bundle.version>
77
78        <!-- checkstyle -->
79        <checkstyle.header.file>APACHE_HEADER.txt</checkstyle.header.file>
80
81        <!-- site -->
82        <!-- skip location check = makes site exec faster -->
83        <dependency.locations.enabled>false</dependency.locations.enabled>
84        <project.info.report.version>2.9</project.info.report.version>
85        <maven.resources.version>3.0.1</maven.resources.version>
86        <maven.site.version>3.4</maven.site.version>
87        <!-- adoc -->
88        <asciidoctor.maven.plugin.version>1.5.3</asciidoctor.maven.plugin.version>
89        <asciidoctorj.diagram.version>1.3.1</asciidoctorj.diagram.version>
90
91        <!-- groovy -->
92        <maven.groovy.version>1.6.2</maven.groovy.version>
93        <groovy.version>2.5.5</groovy.version>
94        <groovy.eclipse.compiler.version>3.3.0-01</groovy.eclipse.compiler.version>
95        <groovy.eclipse.batch.version>2.5.6-02</groovy.eclipse.batch.version>
96
97        <docs.base.url>https://nexus.fd.io/content/sites/site</docs.base.url>
98        <docs.hc.folder>io/fd/honeycomb</docs.hc.folder>
99    </properties>
100
101    <organization>
102        <name>fd.io</name>
103        <url>https://fd.io</url>
104    </organization>
105
106    <licenses>
107        <license>
108            <name>Apache License, Version 2.0</name>
109            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
110        </license>
111    </licenses>
112
113    <issueManagement>
114        <system>JIRA</system>
115        <url>https://jira.fd.io/</url>
116    </issueManagement>
117
118    <ciManagement>
119        <system>Jenkins</system>
120        <url>https://jenkins.fd.io/</url>
121    </ciManagement>
122
123    <mailingLists>
124        <mailingList>
125            <name>HC dev</name>
126            <post>honeycomb-dev@fd.io</post>
127            <subscribe>https://lists.fd.io/mailman/listinfo/honeycomb-dev</subscribe>
128            <archive>https://lists.fd.io/pipermail/honeycomb-dev/</archive>
129        </mailingList>
130    </mailingLists>
131
132    <dependencyManagement>
133        <dependencies>
134            <!-- ODL -->
135            <dependency>
136                <groupId>org.opendaylight.yangtools</groupId>
137                <artifactId>yangtools-artifacts</artifactId>
138                <version>${odl.yangtools.version}</version>
139                <type>pom</type>
140                <scope>import</scope>
141            </dependency>
142            <dependency>
143                <groupId>org.opendaylight.controller</groupId>
144                <artifactId>mdsal-artifacts</artifactId>
145                <version>${odl.mdsal.controller.version}</version>
146                <type>pom</type>
147                <scope>import</scope>
148            </dependency>
149            <dependency>
150                <groupId>org.opendaylight.mdsal</groupId>
151                <artifactId>mdsal-artifacts</artifactId>
152                <version>${odl.mdsal.version}</version>
153                <type>pom</type>
154                <scope>import</scope>
155            </dependency>
156            <dependency>
157                <groupId>org.opendaylight.netconf</groupId>
158                <artifactId>netconf-artifacts</artifactId>
159                <version>${odl.netconf.version}</version>
160                <type>pom</type>
161                <scope>import</scope>
162            </dependency>
163            <dependency>
164                <groupId>org.opendaylight.netconf</groupId>
165                <artifactId>restconf-artifacts</artifactId>
166                <version>${odl.restconf.version}</version>
167                <type>pom</type>
168                <scope>import</scope>
169            </dependency>
170            <dependency>
171                <groupId>org.opendaylight.mdsal.model</groupId>
172                <artifactId>mdsal-model-artifacts</artifactId>
173                <version>${odl.mdsalmodel.version}</version>
174                <type>pom</type>
175                <scope>import</scope>
176            </dependency>
177            <dependency>
178                <groupId>org.opendaylight.bgpcep</groupId>
179                <artifactId>bgpcep-artifacts</artifactId>
180                <version>${odl.bgpcep.version}</version>
181                <type>pom</type>
182                <scope>import</scope>
183            </dependency>
184
185            <!-- Utilities -->
186            <dependency>
187                <groupId>com.google.guava</groupId>
188                <artifactId>guava</artifactId>
189                <version>${guava.version}</version>
190            </dependency>
191            <dependency>
192                <groupId>com.google.code.findbugs</groupId>
193                <artifactId>jsr305</artifactId>
194                <version>${jsr305.version}</version>
195            </dependency>
196            <dependency>
197                <groupId>org.slf4j</groupId>
198                <artifactId>slf4j-api</artifactId>
199                <version>${slf4j.version}</version>
200            </dependency>
201            <dependency>
202                <groupId>org.eclipse.jdt</groupId>
203                <artifactId>org.eclipse.jdt.annotation</artifactId>
204                <version>${jdt.version}</version>
205            </dependency>
206
207            <!-- Testing Dependencies -->
208            <dependency>
209                <groupId>junit</groupId>
210                <artifactId>junit</artifactId>
211                <version>${junit.version}</version>
212                <scope>test</scope>
213            </dependency>
214            <!-- Dont use mockito-all, it has problematic dependency on harmcrest
215                More details here - https://github.com/mockito/mockito/issues/324-->
216            <dependency>
217                <groupId>org.mockito</groupId>
218                <artifactId>mockito-core</artifactId>
219                <version>${mockito.version}</version>
220                <scope>test</scope>
221            </dependency>
222            <dependency>
223                <groupId>org.hamcrest</groupId>
224                <artifactId>hamcrest</artifactId>
225                <version>${hamcrest.version}</version>
226                <scope>test</scope>
227            </dependency>
228        </dependencies>
229    </dependencyManagement>
230
231    <build>
232        <pluginManagement>
233            <plugins>
234                <!-- checkstyle -->
235                <plugin>
236                    <artifactId>maven-checkstyle-plugin</artifactId>
237                    <version>${checkstyle.plugin.version}</version>
238                    <configuration>
239                        <!--TODO HONEYCOMB-155 enable fail on violation after issues are resolved + set in as errors in checkstyle xml-->
240                        <failOnViolation>false</failOnViolation>
241                        <failsOnError>true</failsOnError>
242                        <consoleOutput>true</consoleOutput>
243                        <includeTestResources>true</includeTestResources>
244                        <includeTestSourceDirectory>true</includeTestSourceDirectory>
245                        <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
246                        <excludes>**\/target\/,
247                            **\/bin\/,
248                            **\/target-ide\/,
249                            **\/src/main/yang-gen-config\/,
250                            org/opendaylight/yang/gen/**,
251                            **\/src/main/yang-gen-sal\/,
252                            **\/src/main/xtend-gen\/,
253                            **\/src/main/yang\/,
254                            **\/archetype-resources\/,
255                            **\/.idea\/</excludes>
256                    </configuration>
257                    <executions>
258                        <!-- Override license check configuration to fit Honeycomb coding style-->
259                        <execution>
260                            <id>check-license</id>
261                            <goals>
262                                <goal>check</goal>
263                            </goals>
264                            <phase>process-sources</phase>
265                            <configuration>
266                                <configLocation>honeycomb-checkstyle-license.xml</configLocation>
267                                <outputFile>${project.build.directory}/checkstyle-license-result.xml</outputFile>
268                            </configuration>
269                        </execution>
270                        <!-- Add logging checks from yangtools -->
271                        <execution>
272                            <id>check-logging</id>
273                            <goals>
274                                <goal>check</goal>
275                            </goals>
276                            <phase>process-sources</phase>
277                            <configuration>
278                                <configLocation>honeycomb-checkstyle-logging.xml</configLocation>
279                                <sourceDirectories>
280                                    <sourceDirectory>${project.basedir}</sourceDirectory>
281                                </sourceDirectories>
282
283                                <outputFile>${project.build.directory}/checkstyle-logging-result.xml</outputFile>
284                            </configuration>
285                        </execution>
286                        <!-- Check HC's coding style -->
287                        <execution>
288                            <goals>
289                                <goal>check</goal>
290                            </goals>
291                            <phase>process-sources</phase>
292                            <configuration>
293                                <configLocation>honeycomb-checkstyle.xml</configLocation>
294                            </configuration>
295                        </execution>
296                    </executions>
297                    <dependencies>
298                        <dependency>
299                            <groupId>io.fd.honeycomb.common</groupId>
300                            <artifactId>honeycomb-checkstyle</artifactId>
301                            <!-- Hardcoded version to prevent archetype generated projects to use their own project version -->
302                            <version>1.19.08-SNAPSHOT</version>
303                        </dependency>
304                        <!-- Necessary for logging checks -->
305                        <dependency>
306                            <groupId>org.opendaylight.yangtools</groupId>
307                            <artifactId>checkstyle-logging</artifactId>
308                            <version>${odl.yangtools.version}</version>
309                        </dependency>
310                        <!-- Needed by ODL's checkstyle-logging -->
311                        <dependency>
312                            <groupId>com.puppycrawl.tools</groupId>
313                            <artifactId>checkstyle</artifactId>
314                            <version>${checkstyle.version}</version>
315                        </dependency>
316                    </dependencies>
317                </plugin>
318                <!-- Deactivate strict java8 checks -->
319                <!-- TODO HONEYCOMB-156 fix all the javadoc offenders of doclint -->
320                <plugin>
321                    <groupId>org.apache.maven.plugins</groupId>
322                    <artifactId>maven-javadoc-plugin</artifactId>
323                    <version>${maven.javadoc.version}</version>
324                    <configuration>
325                        <source>8</source>
326                        <additionalparam>-Xdoclint:none</additionalparam>
327                    </configuration>
328                    <executions>
329                        <execution>
330                            <id>attach-javadocs</id>
331                            <goals>
332                                <goal>jar</goal>
333                            </goals>
334                        </execution>
335                    </executions>
336                </plugin>
337                <!-- Sonar -->
338                <!-- If Maven encounters a plugin with no version declaration, it will use the LATEST version.
339                     which might not be compatible with Sonar server (fd.io uses 6.7.3 currently).
340                     Therefore it is recommended to lock down version of Sonar plugin:
341                     http://blog.sonatype.com/2008/04/maven-209-released/
342                     -->
343                <plugin>
344                    <groupId>org.sonarsource.scanner.maven</groupId>
345                    <artifactId>sonar-maven-plugin</artifactId>
346                    <version>3.4.1.1170</version>
347                </plugin>
348                <!-- jacoco test coverage for sonar -->
349                <plugin>
350                    <groupId>org.jacoco</groupId>
351                    <artifactId>jacoco-maven-plugin</artifactId>
352                    <version>${jacoco.version}</version>
353                    <executions>
354                        <execution>
355                            <id>agent-for-ut</id>
356                            <goals>
357                                <goal>prepare-agent</goal>
358                            </goals>
359                        </execution>
360                        <execution>
361                            <id>agent-for-it</id>
362                            <goals>
363                                <goal>prepare-agent-integration</goal>
364                            </goals>
365                        </execution>
366                        <execution>
367                            <id>jacoco-site</id>
368                            <goals>
369                                <goal>report</goal>
370                            </goals>
371                        </execution>
372                    </executions>
373                    <configuration>
374                        <!-- Appends data to existing JaCoCo execution file. Required for IT coverage.
375                             Will not affect UT which use separate files. -->
376                        <append>true</append>
377                        <excludes>
378                            <exclude>**/gen/**</exclude>
379                            <exclude>**/generated-sources/**</exclude>
380                            <exclude>**/yang-gen/**</exclude>
381                        </excludes>
382                    </configuration>
383                </plugin>
384                <!-- Enforce maven version -->
385                <plugin>
386                    <groupId>org.apache.maven.plugins</groupId>
387                    <artifactId>maven-enforcer-plugin</artifactId>
388                    <version>${enforcer.version}</version>
389                    <executions>
390                        <execution>
391                            <id>enforce-maven</id>
392                            <configuration>
393                                <rules>
394                                    <requireMavenVersion>
395                                        <version>3.1.1</version>
396                                    </requireMavenVersion>
397                                </rules>
398                            </configuration>
399                            <goals>
400                                <goal>enforce</goal>
401                            </goals>
402                        </execution>
403                    </executions>
404                </plugin>
405                <!-- Compile with google static analysis tool: error_prone -->
406                <plugin>
407                    <groupId>org.apache.maven.plugins</groupId>
408                    <artifactId>maven-compiler-plugin</artifactId>
409                    <version>${maven.compile.plugin.version}</version>
410                    <configuration>
411                        <!-- Use google's error-prone static analysis-->
412                        <!-- TODO reenable errorprone once it is able to be built using java 11 -->
413                        <!--<compilerId>javac-with-errorprone</compilerId>-->
414                        <forceJavacCompilerUse>true</forceJavacCompilerUse>
415                        <showWarnings>true</showWarnings>
416                        <source>1.8</source>
417                        <target>1.8</target>
418                    </configuration>
419                    <!--<dependencies>-->
420                        <!--<dependency>-->
421                            <!--<groupId>org.codehaus.plexus</groupId>-->
422                            <!--<artifactId>plexus-compiler-javac-errorprone</artifactId>-->
423                            <!--<version>2.8.5</version>-->
424                        <!--</dependency>-->
425                        <!--&lt;!&ndash; override plexus-compiler-javac-errorprone's dependency on-->
426                             <!--Error Prone with the latest version &ndash;&gt;-->
427                        <!--<dependency>-->
428                            <!--<groupId>com.google.errorprone</groupId>-->
429                            <!--<artifactId>error_prone_core</artifactId>-->
430                            <!--<version>2.3.2</version>-->
431                        <!--</dependency>-->
432                    <!--</dependencies>-->
433                </plugin>
434                <plugin>
435                    <groupId>org.apache.felix</groupId>
436                    <artifactId>maven-bundle-plugin</artifactId>
437                    <version>${maven.bundle.version}</version>
438                    <extensions>true</extensions>
439                </plugin>
440                <!-- Source jar -->
441                <plugin>
442                    <groupId>org.apache.maven.plugins</groupId>
443                    <artifactId>maven-source-plugin</artifactId>
444                    <executions>
445                        <execution>
446                            <id>attach-sources</id>
447                            <goals>
448                                <goal>jar</goal>
449                            </goals>
450                        </execution>
451                    </executions>
452                </plugin>
453                <!-- Site (from https://github.com/asciidoctor/asciidoctor-maven-examples/blob/master/asciidoc-maven-site-example/pom.xml) -->
454                <!-- + https://github.com/asciidoctor/asciidoctor-maven-plugin -->
455                <plugin>
456                    <groupId>org.apache.maven.plugins</groupId>
457                    <artifactId>maven-site-plugin</artifactId>
458                    <version>${maven.site.version}</version>
459                    <configuration>
460                        <generateReports>true</generateReports>
461                        <generateSitemap>true</generateSitemap>
462                        <relativizeDecorationLinks>false</relativizeDecorationLinks>
463                        <locales>en</locales>
464                        <inputEncoding>UTF-8</inputEncoding>
465                        <outputEncoding>UTF-8</outputEncoding>
466                        <siteDirectory>${project.basedir}</siteDirectory>
467                        <relativizeDecorationLinks>false</relativizeDecorationLinks>
468                        <asciidoc>
469                            <requires>
470                                <require>asciidoctor-diagram</require>
471                            </requires>
472                            <!-- optional site-wide AsciiDoc attributes -->
473                            <attributes>
474                                <source-highlighter>coderay</source-highlighter>
475                                <coderay-css>style</coderay-css>
476                                <icons>font</icons>
477                                <sectanchors>true</sectanchors>
478                                <idprefix/>
479                                <idseparator>-</idseparator>
480                            </attributes>
481                        </asciidoc>
482                        <!-- Exclude partial docs that are included elsewhere -->
483                        <moduleExcludes>
484                            <asciidoc>**/_*.adoc</asciidoc>
485                        </moduleExcludes>
486                    </configuration>
487                    <dependencies>
488                        <dependency>
489                            <groupId>org.asciidoctor</groupId>
490                            <artifactId>asciidoctor-maven-plugin</artifactId>
491                            <version>${asciidoctor.maven.plugin.version}</version>
492                        </dependency>
493                        <dependency>
494                            <groupId>org.asciidoctor</groupId>
495                            <artifactId>asciidoctorj-diagram</artifactId>
496                            <version>${asciidoctorj.diagram.version}</version>
497                        </dependency>
498                    </dependencies>
499                </plugin>
500                <plugin>
501                    <groupId>org.codehaus.gmavenplus</groupId>
502                    <artifactId>gmavenplus-plugin</artifactId>
503                    <version>${maven.groovy.version}</version>
504                    <executions>
505                        <!-- Generate Readme.adoc if not present -->
506                        <execution>
507                            <id>generate-adoc</id>
508                            <phase>generate-resources</phase>
509                            <goals>
510                                <goal>execute</goal>
511                            </goals>
512                            <configuration>
513                                <!-- Generate module adoc documentation -->
514                                <scripts>
515                                    <script>
516                                        <![CDATA[
517                                            import io.fd.honeycomb.common.scripts.ReadmeGenerator
518                                            ReadmeGenerator.checkReadme(project, properties, log)
519                                        ]]>
520                                    </script>
521                                </scripts>
522                            </configuration>
523                        </execution>
524                        <!-- Fix generated html -->
525                        <execution>
526                            <id>fix-generated-site</id>
527                            <phase>site</phase>
528                            <goals>
529                                <goal>execute</goal>
530                            </goals>
531                            <configuration>
532                                <!-- Site generates wrong link to Readme.html, trying to point to Readme.html at root -->
533                                <scripts>
534                                    <script>
535                                        <![CDATA[
536                                            import io.fd.honeycomb.common.scripts.ReadmeGenerator
537                                            ReadmeGenerator.fixSite(project, properties, log)
538                                        ]]>
539                                    </script>
540                                </scripts>
541                            </configuration>
542                        </execution>
543                        <!-- copy generated schema pictures -->
544                        <execution>
545                            <id>copy-generated-pictures</id>
546                            <phase>site</phase>
547                            <goals>
548                                <goal>execute</goal>
549                            </goals>
550                            <configuration>
551                                <!-- Copies generated schema pictures from ascii-doctor folders to site folder-->
552                                <scripts>
553                                    <script>
554                                        <![CDATA[
555                                            import io.fd.honeycomb.common.scripts.AsciiDocImgForwarder
556                                            AsciiDocImgForwarder.copyGeneratedImages(project, properties, log)
557                                        ]]>
558                                    </script>
559                                </scripts>
560                            </configuration>
561                        </execution>
562                    </executions>
563                    <dependencies>
564                        <dependency>
565                            <groupId>org.codehaus.groovy</groupId>
566                            <artifactId>groovy-all</artifactId>
567                            <type>pom</type>
568                            <version>${groovy.version}</version>
569                        </dependency>
570                        <dependency>
571                            <groupId>io.fd.honeycomb.doc</groupId>
572                            <artifactId>asciidoc-scripts</artifactId>
573                            <version>1.19.08-SNAPSHOT</version>
574                        </dependency>
575                    </dependencies>
576                </plugin>
577            </plugins>
578        </pluginManagement>
579        <plugins>
580            <plugin>
581                <artifactId>maven-enforcer-plugin</artifactId>
582            </plugin>
583            <plugin>
584                <artifactId>maven-source-plugin</artifactId>
585            </plugin>
586            <plugin>
587                <artifactId>maven-javadoc-plugin</artifactId>
588            </plugin>
589            <plugin>
590                <artifactId>maven-checkstyle-plugin</artifactId>
591            </plugin>
592            <plugin>
593                <artifactId>maven-dependency-plugin</artifactId>
594            </plugin>
595            <plugin>
596                <artifactId>maven-compiler-plugin</artifactId>
597            </plugin>
598            <plugin>
599                <groupId>org.jacoco</groupId>
600                <artifactId>jacoco-maven-plugin</artifactId>
601            </plugin>
602            <plugin>
603                <groupId>org.apache.felix</groupId>
604                <artifactId>maven-bundle-plugin</artifactId>
605            </plugin>
606            <plugin>
607                <groupId>org.codehaus.gmavenplus</groupId>
608                <artifactId>gmavenplus-plugin</artifactId>
609            </plugin>
610        </plugins>
611
612        <!-- To support site push-->
613        <extensions>
614            <extension>
615                <groupId>org.apache.maven.wagon</groupId>
616                <artifactId>wagon-webdav-jackrabbit</artifactId>
617                <version>2.9</version>
618            </extension>
619        </extensions>
620    </build>
621
622    <reporting>
623        <plugins>
624            <plugin>
625                <groupId>org.apache.maven.plugins</groupId>
626                <artifactId>maven-project-info-reports-plugin</artifactId>
627                <version>${project.info.report.version}</version>
628                <reportSets>
629                    <reportSet>
630                        <reports>
631                            <report>index</report>
632                            <report>summary</report>
633                            <report>modules</report>
634                            <report>cim</report>
635                            <report>dependencies</report>
636                            <report>distribution-management</report>
637                            <report>mailing-list</report>
638                            <report>issue-tracking</report>
639                            <report>license</report>
640                            <report>scm</report>
641                        </reports>
642                    </reportSet>
643                </reportSets>
644            </plugin>
645            <plugin>
646                <groupId>org.apache.maven.plugins</groupId>
647                <artifactId>maven-javadoc-plugin</artifactId>
648                <version>${maven.javadoc.version}</version>
649                <reportSets>
650                    <reportSet>
651                        <id>default</id>
652                        <reports>
653                            <report>javadoc-no-fork</report>
654                        </reports>
655                    </reportSet>
656                </reportSets>
657                <configuration>
658                    <additionalparam>-Xdoclint:none</additionalparam>
659                </configuration>
660            </plugin>
661            <plugin>
662                <groupId>org.apache.maven.plugins</groupId>
663                <artifactId>maven-resources-plugin</artifactId>
664                <version>${maven.resources.version}</version>
665            </plugin>
666        </plugins>
667    </reporting>
668
669    <distributionManagement>
670        <repository>
671            <id>fdio-release</id>
672            <url>${nexusproxy}/repositories/fd.io.release/</url>
673        </repository>
674        <snapshotRepository>
675            <id>fdio-snapshot</id>
676            <url>${nexusproxy}/repositories/fd.io.snapshot/</url>
677        </snapshotRepository>
678        <site>
679            <id>fdio-site</id>
680            <url>dav:${docs.base.url}/${docs.hc.folder}/${project.version}</url>
681        </site>
682    </distributionManagement>
683
684    <repositories>
685        <!-- Using only ODL stable releases -->
686        <repository>
687            <releases>
688                <enabled>true</enabled>
689                <updatePolicy>never</updatePolicy>
690            </releases>
691            <snapshots>
692                <enabled>false</enabled>
693            </snapshots>
694            <id>opendaylight-mirror</id>
695            <name>opendaylight-mirror</name>
696            <url>${odl.nexusproxy}/repositories/public/</url>
697        </repository>
698    </repositories>
699</project>
700