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