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