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