1 ========================
2 ODL Parent release notes
3 ========================
8 This is a bug-fix upgrade from version 4.0.8.
13 * ``karaf-plugin`` invocation in ``karaf4-parent`` caused previously
14 patched features to be overwritten with their stock versions, referencing
15 bundles which were not populated in the local repository. (See
16 `ODLPARENT-194 <https://jira.opendaylight.org/browse/ODLPARENT-194>`__.)
18 * ``karaf-plugin`` version in ``karaf4-parent`` is now provided through
19 plugin management so downstreams can override it without needing
20 to repeat its configuration.
22 * ``karaf-plugin`` no longer reads features twice when running discovery,
23 speeding up the process a bit.
28 This is a bug-fix and minor upstream bump upgrade from version 4.0.7.
33 * ``bcprov-ext-jdk15on`` is a superset of ``bcprov-jdk15on``, so there’s no
34 need to ship both; we now only ship the former. In addition, we install the
35 Bouncy Castle JARs in ``lib/boot`` so that they continue to be available on
36 the boot classpath (JDK 9 removes the extension mechanism which was used
37 previously), and provide the corresponding bundles from the boot classpath
38 instead of using separate JARs in the system repository. (See
39 `ODLPARENT-183 <https://jira.opendaylight.org/browse/ODLPARENT-183>`__ and
40 `ODLPARENT-185 <https://jira.opendaylight.org/browse/ODLPARENT-185>`__.)
42 * A dependency check has been added to ensure that we don’t run into the
43 TrieMap dependency bug in 4.0.6 again.
45 * Dependencies pulled in by features are now checked for convergence, and
46 ``karaf-plugin`` warns when it finds diverging dependencies (the same
47 artifact with two different versions). Upstream-provided features are
48 patched to avoid the following divergences (and upgrade some dependencies in
51 * Aries utilities 1.1.0/1.1.3 (upgraded to 1.1.3).
52 * Commons Beanutils 1.8.3/1.9.3 (upgraded to 1.9.3).
53 * Commons Codec 1.8/1.10 (upgraded to 1.11).
54 * ``javax.mail`` 1.4.4/1.4.7 (upgraded to 1.4.7).
56 (See `ODLPARENT-189 <https://jira.opendaylight.org/browse/ODLPARENT-189>`__.)
61 * ``odl-dropwizard-metrics`` provides Dropwizard Metrics (which are also
62 available in dependency management).
64 * ``enunciate-maven-plugin`` is added as the replacement for
65 ``maven-enunciate-plugin``.
67 Third-party dependencies
68 ~~~~~~~~~~~~~~~~~~~~~~~~
70 The following dependencies are no longer provided by the JVM, starting with
71 version 11, but we make them available via dependency management for projects
74 * ``javax.annotation-api``.
76 * JAXB (``jaxb-core``, ``jaxb-impl``).
78 The following dependencies have been upgraded:
80 * Checkstyle `8.15 → 8.16 <https://checkstyle.org/releasenotes.html#Release_8.16>`__.
82 * Dependency Check `4.0.0 → 4.0.2 <https://github.com/jeremylong/DependencyCheck/blob/master/RELEASE_NOTES.md>`__.
84 * ``git-commit-id`` `2.2.5 → 2.2.6 <https://github.com/ktoso/maven-git-commit-id-plugin/releases>`__.
86 * Immutables 2.7.1 → 2.7.3:
88 * `2.7.2 <https://github.com/immutables/immutables#272-2018-11-05>`__.
89 * `2.7.3 <https://github.com/immutables/immutables#273-2018-11-10>`__.
91 (2.7.4 breaks our Javadocs.)
93 * Jackson `2.9.7 → 2.9.8 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.8>`__.
98 This is a bug-fix release, correcting the ``triemap`` import declaration.
103 This is a bug-fix and minor upstream packaging upgrade from version 4.0.5.
108 Single-feature-test was broken with JDK 9 and later and Karaf 4.2.2; this
109 release adds the additional JVM configuration needed.
111 Third-party dependencies
112 ~~~~~~~~~~~~~~~~~~~~~~~~
114 This release adds the ``triemap`` BOM to dependency management.
119 This is a bug-fix release: the Karaf Maven plugin, in version 4.2.2, is
120 `broken <https://issues.apache.org/jira/browse/KARAF-6057>`__ in some cases we
121 need in OpenDaylight; we revert to 4.2.1 in ``karaf4-parent`` to avoid this.
126 This is a bug-fix release, reverting the change made in 4.0.3 to handle
127 building with either ``zip`` or ``tar.gz`` Karaf archives (which breaks
128 builds in our infrastructure, without the empty Karaf archive).
133 This is a bug-fix and minor upstream bump upgrade from version 4.0.2.
138 * Our FindBugs configuration for JDK 9 and later caused the plugin to run
139 everywhere; instead, this version defines the ``findbugs.skip`` property to
140 disable the plugin in modules where it would be used otherwise.
142 * The PowerMock declarations in dependency management missed
143 ``powermock-api-mockito2``, which is necessary for modules using PowerMock
146 * The “quick” profile (``-Pq``) now skips SpotBugs.
148 * JSR-305 annotations are now optional, which fixes a number of issues when
149 building with newer JDKs.
151 * We provide JAXB with JDK 11 and later (where it is no longer provided by the
154 * ``odlparent-artifacts`` has been updated to accurately represent the
157 * ``javax.activation`` is now excluded from generated features (it’s provided
158 on Karaf’s boot classpath).
160 * When the build is configured to build Karaf distributions in ``tar.gz``
161 archives, but not ``zip`` archives, ``features-test`` used to fail; it will
162 now used whichever is available
163 (`ODLPARENT-174 <https://jira.opendaylight.org/browse/ODLPARENT-174>`__).
165 * Explicit GCs are disabled by default, so that calls to ``System.gc()`` are
167 (`ODLPARENT-175 <https://jira.opendaylight.org/browse/ODLPARENT-175>`__).
169 * Null checks are disabled in SpotBugs because of bad interactions with newer
170 annotations and the bytecode produces by JDK 11 and later for
171 ``try``-with-resources.
173 * Akka Persistence expects LevelDB 0.10, so we now pull in that version
176 Dependency convergence
177 ~~~~~~~~~~~~~~~~~~~~~~
179 A number of dependencies have been added or constrained so that projects using
180 this parent can enforce dependency convergence:
182 * Karaf’s ``framework`` feature is used as an import POM, so that we converge
183 by default on the versions used in Karaf.
185 * The following dependencies have been added to dependency management:
187 * ``commons-beanutils``
188 * the Checker Framework
189 * Error Prone annotations
190 * ``javax.activation``
196 The following Karaf features have been added:
198 * ``odl-antlr4`` (providing ``antlr4-runtime``);
200 * ``odl-gson`` (providing ``gson``);
202 * ``odl-jersey-2`` (providing Jersey client, server, and container servlet,
203 along with the necessary feature dependencies);
205 * ``odl-servlet-api`` (providing ``javax.servlet-api``);
207 * ``odl-stax2-api`` (providing ``stax2-api``);
209 * ``odl-ws-rs-api`` (providing ``javax.ws.rs-api``);
211 A new ``sonar-jacoco-aggregate`` profile can be used to produce Sonar reports
212 with aggregated JaCoCo reports. Additionally, Sonar builds (run with
213 ``-Dsonar``) are detected and run with a number of irrelevant plugins disabled.
215 Upstream version upgrades
216 ~~~~~~~~~~~~~~~~~~~~~~~~~
218 * Akka 2.5.14 → 2.5.19 (and related ``ssl-config``, Aeron and Agrona upgrades):
220 * `2.5.15 <https://akka.io/blog/news/2018/08/24/akka-2.5.15-released>`__.
221 * `2.5.16 <https://akka.io/blog/news/2018/08/29/akka-2.5.16-security-fix-released>`__.
222 * `2.5.17 <https://akka.io/blog/news/2018/09/27/akka-2.5.17-released>`__.
223 * `2.5.18 <https://akka.io/blog/news/2018/10/07/akka-2.5.18-released>`__.
224 * `2.5.19 <https://akka.io/blog/news/2018/12/07/akka-2.5.19-released>`__.
226 * Commons Text `1.4 → 1.6 <http://www.apache.org/dist/commons/text/RELEASE-NOTES.txt>`__.
228 * Eclipse JDT annotations 2.2.0 → 2.2.100.
230 * Javassist 3.23.1 → 3.24.0.
232 * Karaf 4.2.1 → 4.2.2, with related upgrades.
234 * LMAX Disruptor `3.4.1 → 3.4.2 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.2>`__.
236 * Mockito `2.20.1 → 2.23.4 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md>`__.
238 * Netty 4.1.29 → 4.1.31:
240 * `4.1.30 <https://netty.io/news/2018/09/28/4-1-30-Final.html>`__.
241 * `4.1.31 <https://netty.io/news/2018/10/30/4-1-31-Final.html>`__.
243 * Pax Exam 4.12.0 → 4.13.1.
245 * Scala 2.12.6 → 2.12.8:
247 * `2.12.7 <https://github.com/scala/scala/releases/tag/v2.12.7>`__.
248 * `2.12.8 <https://github.com/scala/scala/releases/tag/v2.12.8>`__.
250 * Wagon HTTP 3.1.0 → 3.2.0.
252 * Xtend `2.14.0 → 2.16.0 <https://www.eclipse.org/xtend/releasenotes.html>`__.
254 Plugin version upgrades
255 ~~~~~~~~~~~~~~~~~~~~~~~
257 * Asciidoctor `1.5.6 → 1.5.7.1 <https://github.com/asciidoctor/asciidoctor-maven-plugin/releases>`__
258 (with related AsciidoctorJ upgrades).
260 * Bundle 4.0.0 → 4.1.0.
262 * Checkstyle `8.12 → 8.15 <https://checkstyle.org/releasenotes.html#Release_8.13>`__.
264 * DependencyCheck `3.3.2 → 4.0.0 <https://github.com/jeremylong/DependencyCheck/blob/master/RELEASE_NOTES.md>`__.
266 * Failsafe / Surefire `2.22.0 → 2.22.1 <https://blogs.apache.org/maven/entry/apache-maven-surefire-plugin-version1>`__.
268 * Help 3.1.0 → 3.1.1.
272 * PMD `3.10.0 → 3.11.0 <https://blogs.apache.org/maven/entry/apache-maven-pmd-plugin-3>`__.
274 * Remote Resources `1.5 → 1.6.0 <https://blogs.apache.org/maven/entry/apache-maven-remote-resources-plugin>`__.
277 `3.2.0 → 3.2.1 <https://blog.soebes.de/blog/2018/11/12/apache-maven-shade-plugin-version-3-dot-2-1-released/>`__.
279 * SpotBugs `3.1.6 → 3.1.9 <https://github.com/spotbugs/spotbugs/blob/release-3.1/CHANGELOG.md>`__.
281 * XBean finder 4.9 → 4.12.
283 * XTend 2.14.0 → 2.16.0.
288 This is a bug-fix and minor upstream bump upgrade from version 4.0.1.
293 Previous releases overrode Karaf’s ``jre.properties``; this is no longer
294 necessary, and was causing failures with Java 9 and later (our version of
295 ``jre.properties`` didn’t have the appropriate settings for anything after
296 Java 8). This release drops that override. See
297 `ODLPARENT-168 <https://jira.opendaylight.org/browse/ODLPARENT-168>`__ for
300 Upstream version upgrades
301 ~~~~~~~~~~~~~~~~~~~~~~~~~
303 * Commons Lang `3.8 → 3.8.1 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`__.
305 * Jackson `2.9.6 → 2.9.7 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.7>`__.
307 * Netty `4.1.28 → 4.1.29 <http://netty.io/news/2018/08/24/4-1-29-Final.html>`__.
309 Plugin version upgrades
310 ~~~~~~~~~~~~~~~~~~~~~~~
312 * JAR `3.0.2 → 3.1.0 <https://blog.soebes.de/blog/2018/04/10/apache-maven-jar-plugin-version-3-dot-1-dot-0-released>`__.
314 * Javadoc `3.0.0 → 3.0.1 <https://blogs.apache.org/maven/entry/apache-maven-javadoc-plugin-version>`__.
316 * Jersey `2.22.2 → 2.25.1 <https://jersey.github.io/release-notes/2.25.html>`__,
317 along with Glassfish JSON 1.0.4 → 1.1.2.
319 * Plugin 3.5 → 3.5.2:
321 * `3.5.1 <https://blog.soebes.de/blog/2018/01/22/apache-maven-plugin-tools-version-3-dot-5-1-released/>`__.
322 * `3.5.2 <https://blog.soebes.de/blog/2018/05/26/apache-mave-plugin-tools-version-3-dot-5-2-released/>`__.
324 * Resources `3.0.1 → 3.1.0 <https://blogs.apache.org/maven/entry/apache-maven-resources-plugin-version>`__.
329 This is a bug-fix and minor upstream bump upgrade from version 4.0.0.
334 The JaCoCo execution profile was incorrect, breaking Sonar; the report is now
335 written correctly, so that Sonar can find it.
337 The Blueprint Maven plugin fails when it encounters Java 9 classes; this is
338 fixed by forcefully upgrading its dependency on xbean-finder. See
339 `ODLPARENT-167 <https://jira.opendaylight.org/browse/ODLPARENT-167>`__ for
342 Upstream version upgrades
343 ~~~~~~~~~~~~~~~~~~~~~~~~~
345 * SpotBugs `3.1.6 → 3.1.7 <https://github.com/spotbugs/spotbugs/blob/release-3.1/CHANGELOG.md>`__.
347 Upstream version additions
348 ~~~~~~~~~~~~~~~~~~~~~~~~~~
350 * Mockito Inline is added alongside Mockito Core, to ensure that the versions
353 Plugin version upgrades
354 ~~~~~~~~~~~~~~~~~~~~~~~
356 * Clean `3.0.0 → 3.1.0 <https://blog.soebes.de/blog/2018/04/14/apache-maven-clean-plugin-version-3-dot-1-0-released/>`__.
358 * Compiler `3.7.0 → 3.8.0 <https://blog.soebes.de/blog/2018/07/30/apache-maven-compiler-plugin-version-3-dot-8-0-released/>`__.
360 * Dependency 3.0.2 → 3.1.1:
362 * `3.1.0 <https://blog.soebes.de/blog/2018/04/06/apache-maven-dependency-plugin-version-3-dot-1-0-released/>`__.
363 * `3.1.1 <https://blog.soebes.de/blog/2018/05/24/apache-maven-dependency-plugin-version-3-dot-1-1-released/>`__.
365 * Dependency Check `3.3.1 → 3.3.2 <https://github.com/jeremylong/DependencyCheck/blob/master/RELEASE_NOTES.md>`__.
367 * Enforcer `3.0.0-M1 → 3.0.0-M2 <https://mail-archives.apache.org/mod_mbox/maven-announce/201806.mbox/%3Cop.zko9b2vhkdkhrr%40desktop-2khsk44.dynamic.ziggo.nl%3E>`__.
369 * Failsafe 2.20.1 → 2.22:
371 * `2.21 <https://blog.soebes.de/blog/2018/03/06/apache-maven-surefire-plugin-version-2-dot-21-released/>`__.
372 * `2.22 <https://blog.soebes.de/blog/2018/06/16/apache-maven-surefire-plugin-version-2-dot-22-released/>`__.
376 * `3.0.0 <https://blog.soebes.de/blog/2018/03/18/apache-maven-help-plugin-version-3-dot-0-0-released/>`__.
377 * `3.0.1 <https://blog.soebes.de/blog/2018/03/28/apache-maven-help-plugin-version-3-dot-0-1-released/>`__.
378 * `3.1.0 <https://blog.soebes.de/blog/2018/06/09/apache-maven-help-plugin-version-3-dot-1-0-released/>`__.
380 * Invoker 2.0.0 → 3.1.0:
382 * `3.0.0 <https://blog.soebes.de/blog/2017/05/24/apache-maven-invoker-plugin-version-3-dot-0-0-released/>`__.
383 * `3.1.0 <https://blog.soebes.de/blog/2018/05/31/apache-maven-invoker-plugin-version-3-dot-1-0-released/>`__.
385 * JAR `3.0.2 → 3.1.0 <https://blog.soebes.de/blog/2018/04/10/apache-maven-jar-plugin-version-3-dot-1-dot-0-released/>`__.
387 * Project Info Reports `2.9 → 3.0.0 <https://blog.soebes.de/blog/2018/06/27/apache-maven-project-info-reports-plugin-3-dot-0-0-released/>`__.
389 * Resources `3.0.1 → 3.1.0 <https://blog.soebes.de/blog/2018/05/01/apache-maven-resources-plugin-version-3-dot-1-0-released/>`__.
391 * Shade `3.1.0 → 3.2.0 <https://blog.soebes.de/blog/2018/09/13/apache-maven-shade-plugin-version-3-dot-2-0-released/>`__.
393 * Site `3.7 → 3.7.1 <https://blog.soebes.de/blog/2018/04/29/apache-maven-site-plugin-version-3-dot-7-1-released/>`__.
395 * Surefire 2.18.1 → 2.22.0:
397 * `2.19 <https://blog.soebes.de/blog/2015/10/19/apache-maven-surefire-plugin-version-2-dot-19-released/>`__.
398 * `2.19.1 <https://blog.soebes.de/blog/2016/01/03/apache-maven-surefire-plugin-version-2-dot-19-dot-1-released/>`__.
399 * `2.20 <https://blog.soebes.de/blog/2017/04/12/apache-maven-surefire-plugin-version-2-dot-20-released/>`__.
400 * `2.21 <https://blog.soebes.de/blog/2018/03/06/apache-maven-surefire-plugin-version-2-dot-21-released/>`__.
401 * `2.22 <https://blog.soebes.de/blog/2018/06/16/apache-maven-surefire-plugin-version-2-dot-22-released/>`__.
407 This is a major upgrade from version 3, with breaking changes; projects will
408 need to make changes to upgrade to this version.
410 `This Wiki page <https://wiki.opendaylight.org/view/Neon_platform_upgrade>`_
411 has detailed step-by-step migration instructions.
413 ODL Parent 4 requires Maven 3.5.3 or later; this is needed in particular to
414 enable SpotBugs support with current versions of the SpotBugs plugin.
419 This release’s SpotBugs support doesn’t handle Guava 25.1 correctly, resulting
420 in false-positives regarding null handling; see
421 `ODLPARENT-161 <https://jira.opendaylight.org/browse/ODLPARENT-161>`_ for
422 details. Until this is fixed, the corresponding warnings are disabled, which
423 matches our existing FindBugs configuration (which suffers from the a variant
424 of this, with the same consequences).
426 We are planning on upgrading Akka during the 4.x cycle, even if it results in
427 a technically breaking upgrade. This is currently blocked on an OSGi bug in
428 Akka; see `Akka issue 25579 <https://github.com/akka/akka/issues/25579>`_ for
431 Blueprint and OSGi service handling
432 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
434 Previous releases used an OpenDaylight-specific directory for Blueprint XML
435 files, ``org/opendaylight/blueprint``. It turned out this wasn’t useful, so
436 version 4 uses the default directory, ``OSGI-INF/blueprint``.
438 The Maven bundle plugin is now configured to omit the ``Import-Service`` and
439 ``Export-Service`` headers, since they are deprecated, unnecessary in
440 OpenDaylight, and liable to cause issues.
442 With previous releases of OpenDaylight, projects were encouraged to use Pax
443 CDI API annotations to describe their Blueprint beans, services and injections;
444 with version 4, Blueprint annotations should be used instead:
446 * modules should depend on
447 ``org.apache.aries.blueprint:blueprint-maven-plugin-annotation``, with the
448 ``<optional>true</optional>`` flag, instead of
449 ``org.ops4j.pax.cdi:pax-cdi-api``;
451 * ``@OsgiServiceProvider`` on bean definitions is replaced by ``@Service``;
453 * ``@OsgiService`` at injection points is replaced by ``@Reference``;
455 * ``@OsgiService`` on bean definitions, while technically wrong, can be seen in
456 the OpenDaylight codebase; this is replaced by ``@Service``;
458 * service lists can be injected using ``@ReferenceList``.
460 See `this Gerrit patch <https://git.opendaylight.org/gerrit/75699>`_ for an
466 Builds now warn about unchecked type uses (such as raw types where generics
469 JUnit and Mockito are always available as test dependencies and no longer need
470 to be declared in POMs.
475 An OWASP profile is now available to run OWASP’s dependency checker; this will
476 check all third-party dependencies against the NVD vulnerability database. To
477 enable this, run Maven with ``-Powasp``.
479 Build profile changes
480 ~~~~~~~~~~~~~~~~~~~~~
482 ``-Pq`` now skips Modernizer.
487 ``odl-akka-leveldb-0.10`` wraps LevelDB 0.10 for Akka.
489 ``odl-apache-commons-codec`` wraps Apache Commons Codec.
491 ``odl-apache-commons-lang3`` wraps Apache Commons Lang 3.
493 ``odl-apache-commons-net`` wraps Apache Commons Net.
495 ``odl-apache-commons-text`` wraps Apache Commons Text.
497 ``odl-apache-sshd`` wraps Apache SSHD.
499 ``odl-guava`` provides the default ODL version of Guava; it should be used
500 instead of ``odl-guava-23`` or the new ``odl-guava-25``.
502 ``odl-jackson-2.9`` wraps Jackson 2.9.
504 New FindBugs and SpotBugs settings
505 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
507 FindBugs and SpotBugs are configured with
508 `the SLF4J extension <http://kengotoda.github.io/findbugs-slf4j/>`_ (version
509 1.4.0 for FindBugs, 1.4.1 for SpotBugs). This will flag misused SLF4J calls, in
510 particular message templates which don’t match the arguments, and invalid
511 placeholders (*e.g.* ``%s`` instead of ``{}``).
516 ``aggregator-parent`` was unusable outside ``odlparent`` and has been removed.
517 Instead, the ``maven.deploy.skip`` and ``maven.install.skip`` properties are
518 available to disable deploying and installing artifacts.
520 Upstream version upgrades
521 ~~~~~~~~~~~~~~~~~~~~~~~~~
523 This version upgrades the following third-party dependencies:
525 * Aeron 1.7.0 → 1.9.3:
527 * `1.8.0 <https://github.com/real-logic/aeron/releases/tag/1.8.0>`_.
528 * `1.8.1 <https://github.com/real-logic/aeron/releases/tag/1.8.1>`_.
529 * `1.8.2 <https://github.com/real-logic/aeron/releases/tag/1.8.2>`_.
530 * `1.9.0 <https://github.com/real-logic/aeron/releases/tag/1.9.0>`_.
531 * `1.9.1 <https://github.com/real-logic/aeron/releases/tag/1.9.1>`_.
532 * `1.9.2 <https://github.com/real-logic/aeron/releases/tag/1.9.2>`_.
533 * `1.9.3 <https://github.com/real-logic/aeron/releases/tag/1.9.3>`_.
535 * Agrona 0.9.12 → 0.9.21:
537 * `0.9.13 <https://github.com/real-logic/agrona/releases/tag/0.9.13>`_.
538 * `0.9.14 <https://github.com/real-logic/agrona/releases/tag/0.9.14>`_.
539 * `0.9.15 <https://github.com/real-logic/agrona/releases/tag/0.9.15>`_.
540 * `0.9.16 <https://github.com/real-logic/agrona/releases/tag/0.9.16>`_.
541 * `0.9.17 <https://github.com/real-logic/agrona/releases/tag/0.9.17>`_.
542 * `0.9.18 <https://github.com/real-logic/agrona/releases/tag/0.9.18>`_.
543 * `0.9.19 <https://github.com/real-logic/agrona/releases/tag/0.9.19>`_.
544 * `0.9.20 <https://github.com/real-logic/agrona/releases/tag/0.9.20>`_.
545 * `0.9.21 <https://github.com/real-logic/agrona/releases/tag/0.9.21>`_.
547 * Akka 2.5.11 → 2.5.14:
549 * `2.5.12 <https://akka.io/blog/news/2018/04/13/akka-2.5.12-released>`_.
550 * `2.5.13 <https://akka.io/blog/news/2018/06/08/akka-2.5.13-released>`_.
551 * `2.5.14 <https://akka.io/blog/news/2018/07/13/akka-2.5.14-released>`_.
553 * ASM 5.1 → 6.2.1 (synchronised with Karaf).
555 * Bouncy Castle `1.59 → 1.60 <https://www.bouncycastle.org/releasenotes.html>`_.
557 * Checkstyle `8.4 → 8.12 <http://checkstyle.sourceforge.net/releasenotes.html#Release_8.12>`_.
559 * Commons Lang `3.7 → 3.8 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`_.
561 * Commons Text 1.1 → 1.4:
563 * `1.2 <https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.2.txt>`_.
564 * `1.3 <https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.3.txt>`_.
565 * `1.4 <https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.4.txt>`_.
567 * Eclipse JDT annotations 2.1.150 → 2.2.0.
569 * EclipseLink Moxy JAXB `2.7.1 → 2.7.3 <https://www.eclipse.org/eclipselink/releases/2.7.php>`_.
571 * Enunciate core annotations
572 `2.10.1 → 2.11.1 <https://github.com/stoicflame/enunciate/releases>`_.
574 * Felix Metatype 1.1.6 → 1.2.0 (synchronised with Karaf).
576 * Google Truth `0.40 → 0.42 <https://github.com/google/truth/releases>`_.
578 * Guava 23.6.1 → 25.1:
580 * `23.4 <https://github.com/google/guava/releases/tag/v23.4>`_.
581 * `23.5 <https://github.com/google/guava/releases/tag/v23.5>`_.
582 * `23.6 <https://github.com/google/guava/releases/tag/v23.6>`_.
583 * `24.0 <https://github.com/google/guava/releases/tag/v24.0>`_.
584 * `24.1 <https://github.com/google/guava/releases/tag/v24.1>`_.
585 * `25.0 <https://github.com/google/guava/releases/tag/v25.0>`_.
586 * `25.1 <https://github.com/google/guava/releases/tag/v25.1>`_.
588 * Immutables `2.5.6 → 2.7.1 <https://github.com/immutables/immutables/blob/master/README.md#changelog>`_.
590 * Jackson 2.8.9 → 2.9.6:
592 * `2.9 feature overview <https://medium.com/@cowtowncoder/jackson-2-9-features-b2a19029e9ff>`_.
593 * `2.9 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9>`_.
594 * `2.9.1 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.1>`_.
595 * `2.9.2 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.2>`_.
596 * `2.9.3 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.3>`_.
597 * `2.9.4 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.4>`_.
598 * `2.9.5 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.5>`_.
599 * `2.9.6 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.6>`_.
601 * JaCoCo `0.8.1 → 0.8.2 <https://github.com/jacoco/jacoco/releases/tag/v0.8.2>`_.
603 * Javassist 3.22.0 → 3.23.1. This provides compatibility with Java 9 and later,
604 and `fixes a file handle leak <https://github.com/jboss-javassist/javassist/issues/165>`_.
606 * Jettison 1.3.8 → 1.4.0.
608 * Jetty 9.3.21 → 9.4.11 (synchronised with Karaf):
610 * `9.4.0 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00097.html>`_.
611 * `9.4.1 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00100.html>`_.
612 * `9.4.2 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00101.html>`_.
613 * `9.4.3 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00102.html>`_.
614 * `9.4.4 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00105.html>`_.
615 * `9.4.5 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00107.html>`_.
616 * `9.4.6 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00109.html>`_.
617 * `9.4.7 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00111.html>`_.
618 * `9.4.8 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html>`_.
619 * `9.4.9 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00117.html>`_.
620 * `9.4.10 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00119.html>`_.
621 * `9.4.11 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00122.html>`_.
623 * Jolokia OSGi `1.5.0 → 1.6.0 <https://jolokia.org/changes-report.html#a1.6.0>`_.
625 * Karaf 4.1.5 → 4.2.1:
627 * `4.1.6 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12342748>`_.
628 * `4.2.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12342945>`_.
630 * LMAX Disruptor 3.3.10 → 3.4.1:
632 * `3.4.0 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.0>`_.
633 * `3.4.1 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.1>`_.
635 * META-INF services 1.7 → 1.8.
637 * Mockito 1.10.19 → 2.20.1; see
638 `What’s new in Mockito 2 <https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2>`_
639 for upgrade instructions and
640 `the list of issues you might run into <https://asolntsev.github.io/en/2016/10/11/mockito-2.1/>`_.
642 * Netty 4.1.22 → 4.1.28:
644 * `4.1.17 <http://netty.io/news/2017/11/08/4-0-53-Final-4-1-17-Final.html>`_.
645 * `4.1.18 <http://netty.io/news/2017/12/11/4-0-54-Final-4-1-18-Final.html>`_.
646 * `4.1.19 <http://netty.io/news/2017/12/18/4-1-19-Final.html>`_.
647 * `4.1.20 <http://netty.io/news/2018/01/22/4-0-55-Final-4-1-20-Final.html>`_.
648 * `4.1.21 <http://netty.io/news/2018/02/05/4-0-56-Final-4-1-21-Final.html>`_.
649 * `4.1.22 <http://netty.io/news/2018/02/21/4-1-22-Final.html>`_.
650 * `4.1.23 <http://netty.io/news/2018/04/04/4-1-23-Final.html>`_.
651 * `4.1.24 <http://netty.io/news/2018/04/19/4-1-24-Final.html>`_.
652 * `4.1.25 <http://netty.io/news/2018/05/14/4-1-25-Final.html>`_.
653 * `4.1.26 <http://netty.io/news/2018/07/10/4-1-26-Final.html>`_.
654 * `4.1.27 <http://netty.io/news/2018/07/11/4-1-27-Final.html>`_.
655 * `4.1.28 <http://netty.io/news/2018/07/27/4-1-28-Final.html>`_.
657 * Pax Exam 4.11.0 → 4.12.0.
659 * Pax URL 2.5.3 → 2.5.4, which only fixes
660 `a potential NullPointerException <https://ops4j1.jira.com/browse/PAXURL-346>`_.
662 * PowerMock 1.6.4 → 1.7.4:
664 * `1.6.5 <https://github.com/powermock/powermock/releases/tag/powermock-1.6.5>`_.
665 * `1.6.6 <https://github.com/powermock/powermock/releases/tag/powermock-1.6.6>`_.
666 * `1.7.0 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.0>`_.
667 * `1.7.1 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.1>`_.
668 * `1.7.2 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.2>`_.
669 * `1.7.3 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.3>`_.
670 * `1.7.4 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.4>`_.
672 * Scala parser combinators 1.0.7 → 1.1.1:
674 * `1.1.0 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.1.0>`_.
675 * `1.1.1 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.1.1>`_.
677 * SpotBugs `3.1.0 → 3.1.6 <https://github.com/spotbugs/spotbugs/blob/3.1.6/CHANGELOG.md>`_.
679 * Threeten Extra `1.3.2 → 1.4 <https://github.com/ThreeTen/threeten-extra/releases>`_.
681 * Typesafe SSL config 0.2.2 → 0.2.4:
683 * `0.2.3 <https://github.com/lightbend/ssl-config/releases/tag/v0.2.3>`_.
684 * `0.2.4 <https://github.com/lightbend/ssl-config/releases/tag/v0.2.4>`_.
687 `2.10 → 3.1.0 <https://lists.apache.org/thread.html/96024c54db7680697cb066e22a37b0ed5b4498386714a8a9ae1ec9cd@%3Cannounce.maven.apache.org%3E>`_.
689 * XMLUnit `1.6 → 2.6.2 <https://github.com/xmlunit/xmlunit/blob/master/RELEASE_NOTES.md>`_.
691 Upstream version additions
692 ~~~~~~~~~~~~~~~~~~~~~~~~~~
694 The following upstream dependencies have been added to dependency management:
696 * Apache SSHD 2.0.0, with EdDSA and Netty support (EdDSA is provided by ``net.i2p.crypto:eddsa``).
698 * Blueprint annotations (``org.apache.aries.blueprint:blueprint-maven-plugin-annotation``).
702 * Pax Web 7.2.3 (synchronised with Karaf).
704 Upstream version removals
705 ~~~~~~~~~~~~~~~~~~~~~~~~~
707 The following upstream dependencies have been removed from dependency management:
711 * Our repackaging of Jersey Servlet.
713 * JUnit’s ``junit-dep``, which has long been obsolete.
715 * LevelDB (which is still available as features).
717 * Pax CDI API — Blueprint annotations should be used instead.
719 Plugin version upgrades
720 ~~~~~~~~~~~~~~~~~~~~~~~
722 The following plugins have been upgraded:
724 * Blueprint 1.4.0 → 1.10.0.
726 * Build helper 1.12 → 3.0.0.
728 * Bundle plugin 3.5.0 → 4.0.0.
731 `2.17 → 3.0.0 <https://mail-archives.apache.org/mod_mbox/maven-announce/201801.mbox/%3Cop.zchs68akkdkhrr%40desktop-2khsk44.mshome.net%3E>`_.
734 `1.2.1 → 1.3.0 <https://github.com/basepom/duplicate-finder-maven-plugin/blob/master/CHANGES.md>`_.
736 * Git commit id `2.2.4 → 2.2.5 <https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.5>`_.
738 * Jacoco Maven plugin `0.8.1 → 0.8.2 <https://github.com/jacoco/jacoco/releases/tag/v0.8.2>`_.
740 * Javadoc `3.0.0 → 3.0.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317529&version=12342283>`_.
744 * `3.10.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12342689&styleName=Text&projectId=12317621>`_.
746 * Sevntu `1.29.0 → 1.32.0 <http://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.32.0>`_.
748 * SpotBugs 3.1.0-RC6 → 3.1.6 (see the SpotBugs changes above).
753 This version fixes the following issues:
755 * `ODLPARENT-156 <https://jira.opendaylight.org/browse/ODLPARENT-156>`_:
756 ``xtend-maven-plugin``’s dependencies end up pulling in conflicting
757 dependencies. ODL Parent now constrains part of its dependency tree to avoid
760 This version adds ``odl-jackson-2.8`` to ``odlparent-artifacts``.
765 This version fixes the following issues:
767 * `INFRAUTILS-41 <https://jira.opendaylight.org/browse/INFRAUTILS-41>`_:
768 ``jre.properties`` includes ``com.sun.management`` so that it can be
769 enabled if necessary. (This doesn’t add a dependency on
770 ``com.sun.management``, it allows bundles to use it if it is present.)
772 * `ODLPARENT-136 <https://jira.opendaylight.org/browse/ODLPARENT-136>`_:
773 ``SingleFeatureTest`` pulls in ``org.osgi.compendium``.
775 * `ODLPARENT-144 <https://jira.opendaylight.org/browse/ODLPARENT-144>`_:
776 ``org.apache.karaf.scr.management`` is whitelisted so that it no longer
777 affects ``SingleFeatureTest``.
779 * `ODLPARENT-146 <https://jira.opendaylight.org/browse/ODLPARENT-146>`_:
780 null-related FindBugs checks which produce false-positives with Guava 23.6
781 and later are disabled, so that this really is fully backwards-compatible
784 * `ODLPARENT-148 <https://jira.opendaylight.org/browse/ODLPARENT-148>`_:
785 ``SingleFeatureTest`` preserves ``target/SFT/karaf.log``.
787 This version includes the following improvements:
789 * ``custom.properties`` no longer includes OVSDB-specific configuration.
791 * The ``odl-jersey-1`` feature includes the Jersey client.
793 * Redundant bundle dependency declarations in ``SingleFeatureTest`` have been
794 removed (these are declarations which are also present in our base Karaf
797 * Build errors involving invalid feature or bundle URLs now indicate which
800 * Obsolete Log4J overrides have been removed from ``SingleFeatureTest``.
802 When building using JDK 9 or 10, the default settings have been changed as
803 follows to avoid errors or extraneous warnings:
805 * SFT is disabled (it needs Karaf 4.2 or later);
807 * Javadocs are generated as HTML 4;
809 * SpotBugs is disabled on JDK 10 or later;
811 * FindBugs is disabled on JDK 9 or later.
813 The following third-party dependencies have been upgraded:
815 * `EclipseLink Moxy JAXB 2.6.2 → 2.7.1 <https://www.eclipse.org/eclipselink/releases/2.7.php>`_.
817 * `Google Truth 0.36 → 0.40 <https://github.com/google/truth/releases>`_.
819 * `Gson 2.8.2 → 2.8.5 <https://github.com/google/gson/blob/master/CHANGELOG.md>`_.
821 * `Guava 23.6 → 23.6.1 <https://github.com/google/guava/compare/v23.6...v23.6.1>`_.
822 This addresses CVE-2018-10237 (that’s the only change in this release).
824 * `Jacoco Maven plugin 0.8.0 → 0.8.1 <https://github.com/jacoco/jacoco/releases/tag/v0.8.1>`_.
826 * JDT annotations 2.1.0 → 2.1.150.
828 * `Scala 2.12.5 → 2.12.6 <https://github.com/scala/scala/releases/tag/v2.12.6>`_.
830 * `Scala Parser Combinators 1.0.6 → 1.0.7 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.0.7>`_.
832 * `Sevntu 1.24.2 → 1.29.0 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.29.0>`_.
834 * `Xtext and Xtend 2.13.0 → 2.14.0 <https://github.com/eclipse/xtext/blob/website-master/xtend-website/_posts/releasenotes/2018-05-23-version-2-14-0.md>`_.
836 The following Maven plugin has been upgraded:
838 * `Javadoc 3.0.0 → 3.0.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317529&version=12342283>`_.
843 This version fixes the following issues:
845 * `ODLPARENT-137 <https://jira.opendaylight.org/browse/ODLPARENT-137>`_:
846 restore the OpenDaylight prompt.
848 * `ODLPARENT-146 <https://jira.opendaylight.org/browse/ODLPARENT-146>`_:
849 Guava 23.6 switched from @Nullable to @NullableDecl, which causes false
850 positives in FindBugs’ ``NP_NONNULL_PARAM_VIOLATION`` rule; we’re
851 disabling the rule for now.
856 This version fixes the following issues:
858 * Mycila dependencies are now “compile” scoped rather than “test”; this allows
859 child projects to use Guice with Mycila more easily.
861 * The duplicate finder now ignores ``web.xml`` and BluePrint XML files.
863 This version includes the following improvements:
865 * The ``-Pq`` profile skips Maven Modernizer, in preparation for its future
866 integration (and its use in child projects).
868 * An OWASP profile, ``-Powasp`` is available for vulnerability checking.
870 * A new ``odl-jackson-2.8`` feature provides Jackson 2.8 to child projects.
872 The following third-party dependencies have been added to dependency management:
874 * `ThreeTen-Extra <http://www.threeten.org/threeten-extra/>`_
876 The following third-party dependencies have been upgraded:
878 * Aeron 1.2.5 → 1.7.0; release notes:
880 * `1.3.0 <https://github.com/real-logic/aeron/releases/tag/1.3.0>`_
881 * `1.4.0 <https://github.com/real-logic/aeron/releases/tag/1.4.0>`_
882 * `1.5.0 <https://github.com/real-logic/aeron/releases/tag/1.5.0>`_
883 * `1.5.1 <https://github.com/real-logic/aeron/releases/tag/1.5.1>`_
884 * `1.5.2 <https://github.com/real-logic/aeron/releases/tag/1.5.2>`_
885 * `1.6.0 <https://github.com/real-logic/aeron/releases/tag/1.6.0>`_
886 * `1.7.0 <https://github.com/real-logic/aeron/releases/tag/1.7.0>`_
888 * Agrona 0.9.5 → 0.9.12; release notes:
890 * `0.9.6 <https://github.com/real-logic/Agrona/releases/tag/0.9.6>`_
891 * `0.9.7 <https://github.com/real-logic/Agrona/releases/tag/0.9.7>`_
892 * `0.9.8 <https://github.com/real-logic/Agrona/releases/tag/0.9.8>`_
893 * `0.9.9 <https://github.com/real-logic/Agrona/releases/tag/0.9.9>`_
894 * `0.9.10 <https://github.com/real-logic/Agrona/releases/tag/0.9.10>`_
895 * `0.9.11 <https://github.com/real-logic/Agrona/releases/tag/0.9.11>`_
896 * `0.9.12 <https://github.com/real-logic/Agrona/releases/tag/0.9.12>`_
898 * Akka 2.5.5 → 2.5.11; release notes:
900 * `2.5.6 <https://akka.io/blog/news/2017/09/28/akka-2.5.6-released>`_
901 * `2.5.7 <https://akka.io/blog/news/2017/11/17/akka-2.5.7-released>`_
902 * `2.5.8 <https://akka.io/blog/news/2017/12/08/akka-2.5.8-released>`_
903 * `2.5.9 <https://akka.io/blog/news/2018/01/11/akka-2.5.9-released-2.4.x-end-of-life>`_
904 * `2.5.10 <https://akka.io/blog/news/2018/02/23/akka-2.5.10-released>`_
905 * `2.5.11 <https://akka.io/blog/news/2018/02/28/akka-2.5.11-released>`_
907 * Commons Lang 3 `3.6 → 3.7 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`_
909 * Guava 23.3 → 23.6; release notes:
911 * `23.4 <https://github.com/google/guava/releases/tag/v23.4>`_
912 * `23.5 <https://github.com/google/guava/releases/tag/v23.5>`_
913 * `23.6 <https://github.com/google/guava/releases/tag/v23.6>`_
915 * H2 database `1.4.193 → 1.4.196 <http://www.h2database.com/html/changelog.html>`_
917 * Jacoco `0.7.9 → 0.8.0 <https://github.com/jacoco/jacoco/releases/tag/v0.8.0>`_
919 * Javassist `3.21.0 → 3.22.0 <https://github.com/jboss-javassist/javassist/compare/rel_3_21_0_ga...rel_3_22_0_ga>`_
921 * lmax-disruptor 3.3.7 → 3.3.10; release notes:
923 * `3.3.8 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.8>`_
924 * `3.3.9 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.9>`_
925 * `3.3.10 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.10>`_
927 * Netty 4.1.16 → 4.1.22; release notes:
929 * `4.1.17 <http://netty.io/news/2017/11/08/4-0-53-Final-4-1-17-Final.html>`_
930 * `4.1.18 <http://netty.io/news/2017/12/11/4-0-54-Final-4-1-18-Final.html>`_
931 * `4.1.19 <http://netty.io/news/2017/12/18/4-1-19-Final.html>`_
932 * `4.1.20 <http://netty.io/news/2018/01/22/4-0-55-Final-4-1-20-Final.html>`_
933 * `4.1.21 <http://netty.io/news/2018/02/05/4-0-56-Final-4-1-21-Final.html>`_
934 * `4.1.22 <http://netty.io/news/2018/02/21/4-1-22-Final.html>`_
936 * Scala `2.12.4 → 2.12.5 <http://www.scala-lang.org/news/2.12.5>`_
938 * Typesafe Config `0.2.1 → 0.2.2 <https://github.com/typesafehub/config/blob/master/NEWS.md>`_
940 The following Maven plugins have been upgraded:
942 * FindBugs 3.0.4 → 3.0.5
944 * Git commit id 2.2.2 → 2.2.4; release notes:
946 * `2.2.3 <https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.3>`_
947 * `2.2.4 <https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.4>`_
952 This version fixes the following issues:
954 * `ODLPARENT-136`_: ``features-test`` needs ``org.osgi.compendium``.
956 * Jackson dependencies are declared using ``jackson-bom`` to ensure all they
959 * ``find-duplicate-classpath-entries`` is run in the “verify” phase rather than
960 the “validate” phase, which is too early.
962 * The version of Jetty we pull in is now aligned with that declared in Karaf,
963 resolving a number of restart and dependency issues.
965 * Pulling in the ``wrap`` feature unconditionally is no longer necessary, so
966 ``karaf4-parent`` no longer does so.
968 * ``metainf-services`` are declared with scope “provided” to avoid their being
969 included in downstream features (it’s a build-time dependency only).
971 * ``leveldb-api`` is excluded from ``odl-akka-leveldb-0.7``, and ``jsr250-api``
972 from ``enunciate-core-annotations``, to avoid duplicate having classes on the
975 * Since the ``ssh`` feature is excluded from generated features, our Karaf
976 need to enable it at boot in all cases.
978 * ``bundle-test-lib`` is now a bundle.
980 * Since we use static SLF4J loggers, the ``SLF4J_LOGGER_SHOULD_BE_NON_STATIC``
981 rule needs to be disabled in our FindBugs configuration (this allows
982 downstream projects to enable ``findbugs-slf4j`` without having to deal with
983 all the resulting false-positives).
985 * ``org.apache.karaf.scr.management`` is white-listed in SFT to avoid failures
986 apparently related to that component (which we don’t care about).
988 .. _ODLPARENT-136: https://jira.opendaylight.org/browse/ODLPARENT-136
990 This version upgrades the following third-party dependencies:
992 * `Antlr 4.7 → 4.7.1`_
994 * `BouncyCastle 1.58 → 1.59`_
996 * Jersey 1.17 → 1.19.4 (additionally available as the ``odl-jersey-1`` feature)
998 * Jolokia 1.3.7 → 1.5.0
1000 * Karaf 4.1.3 → 4.1.5; release notes:
1005 .. _Antlr 4.7 → 4.7.1: https://github.com/antlr/antlr4/releases/tag/4.7.1
1006 .. _BouncyCastle 1.58 → 1.59: https://www.bouncycastle.org/releasenotes.html
1007 .. _Karaf 4.1.4: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12341702
1008 .. _Karaf 4.1.5: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12342294
1013 This version fixes the following issues:
1015 * SingleFeatureTest uses the configured local Maven repository for Pax Exam.
1017 * JavaDoc links are disabled for now to `speed up builds`_. A new
1018 ``javadoc-links`` profile enables the links.
1020 * Conditional feature dependencies are processed, ensuring our
1021 `distribution is complete`_.
1023 * Startup features are `adjusted for Karaf 4.1`_, avoiding unnecessary
1026 * The ``hiddenField`` Checkstyle check is disabled for abstract methods.
1028 * The default logging configuration uses Log4J2, which is the new default in
1031 .. _speed up builds: https://jira.opendaylight.org/browse/ODLPARENT-121
1032 .. _distribution is complete: https://jira.opendaylight.org/browse/ODLPARENT-133
1033 .. _adjusted for Karaf 4.1: https://jira.opendaylight.org/browse/ODLPARENT-134
1035 This version upgrades the following dependencies or plugins:
1037 * ``maven-enforcer-plugin`` 1.4.1 → 3.0.0-M1
1039 * ``maven-javadoc-plugin`` 3.0.0-M1 → 3.0.0
1044 This version fixes the following issues:
1046 * Karaf pulls in an invalid Hibernate feature repository, breaking downstream
1047 dependencies pulling in the “war” feature. ``populate-local-repo`` corrects
1048 the repository dependency.
1057 Build now show compiler warnings and deprecation warnings. This doesn't affect
1058 the result or require any changes currently, it just makes the issues more
1061 New Checkstyle rules
1062 ~~~~~~~~~~~~~~~~~~~~
1064 Checkstyle has been upgraded from 7.6 to 8.4 (see the
1065 `Checkstyle release notes`_ for details), and Sevntu from 1.21.0 to 1.24.2
1066 (note that the latter's group identifier changed from
1067 ``com.github.sevntu.checkstyle`` to ``com.github.sevntu-checkstyle``; you
1068 might need to update your IDE's configuration).
1070 The following Checkstyle rules are enabled; this might require changes in
1071 projects which enforce Checkstyle validation:
1073 * `AvoidHidingCauseExceptionCheck`_
1074 * `FinalClass`_: utility classes must be declared ``final``
1075 * `HiddenField`_: fields must not be shadowed
1076 * `HideUtilityClassConstructor`_: utility classes must hide their constructor
1078 .. _Checkstyle release notes: http://checkstyle.sourceforge.net/releasenotes.html
1080 .. _AvoidHidingCauseExceptionCheck: http://sevntu-checkstyle.github.io/sevntu.checkstyle/apidocs/com/github/sevntu/checkstyle/checks/coding/AvoidHidingCauseExceptionCheck.html
1081 .. _FinalClass: http://checkstyle.sourceforge.net/config_design.html#FinalClass
1082 .. _HiddenField: http://checkstyle.sourceforge.net/config_coding.html#HiddenField
1083 .. _HideUtilityClassConstructor: http://checkstyle.sourceforge.net/config_design.html#HideUtilityClassConstructor
1088 Karaf has been upgraded to 4.1.3. This should be transparent for dependent
1094 * When building a Karaf distribution using ``karaf4-parent``, projects can
1095 specify which archives to build: the ``karaf.archiveZip`` property will
1096 enable ZIP files if true, and ``karaf.archiveTarGz`` will enable
1097 gzip-compressed tarballs if true. By default both are enabled.
1099 * Our Karaf distribution provides Bouncy Castle at startup. Auto-generated
1100 feature descriptors take this into account (they won't embed a Bouncy
1106 * The ``odl-triemap-0.2`` feature wrapping
1107 ``com.github.romix:java-concurrent-hash-trie-map`` was rendered obsolete by
1108 YANG Tools' implementation and has been removed.
1113 * ``odl-javassist-3`` provides Javassist in a feature.
1115 * ``odl-jung-2.1`` provides `JUNG`_ in a feature.
1117 .. _JUNG: http://jung.sourceforge.net/
1119 Upstream version upgrades
1120 ~~~~~~~~~~~~~~~~~~~~~~~~~
1122 The following upstream dependencies have been upgraded:
1124 * Akka 2.4.18 → 2.5.4; release notes:
1132 * `Awaitility 2 → 3`_
1134 * `Bouncy Castle 1.57 → 1.58`_
1136 * `Commons Codec 1.10 → 1.11`_
1138 * `Commons File Upload 1.3.2 → 1.3.3`_
1140 * `Commons IO 2.5 → 2.6`_
1142 * Eclipse JDT annotations 2.0.0 → 2.1.0
1144 * Felix Dependency Manager 4.3.0 → 4.4.1
1145 * Felix Dependency Manager Shell 4.0.4 → 4.0.6
1146 * Felix Metatype 1.1.2 → 1.1.6
1148 * `Google Truth 0.28 → 0.36`_ (with the Java 8 extensions)
1150 * `Gson 2.7 → 2.8.2`_
1152 * Guava 22 → 23.3 along with the associated feature name change from
1153 ``odl-guava-22`` to ``odl-guava-23`` (dependent packages *must* change their
1154 dependency); release notes:
1161 * Immutables 2.4.2 → 2.5.6
1163 * Jackson 2.3.2 → 2.8.9
1165 * Jacoco 0.7.7 → 0.7.9; release notes:
1170 * Jacoco Listeners 2.4 → 3.8
1172 * `Javassist 3.20.0 → 3.21.0`_
1174 * `Jettison 1.3.7 → 1.3.8`_
1176 * `Jolokia 1.3.6 → 1.3.7`_
1178 * `JSONassert 1.3.0 → 1.5.0`_
1180 * `logback 1.2.2 → 1.2.3`_
1182 * `LMAX Disruptor 3.3.6 → 3.3.7`_
1184 * Netty 4.1.8 → 4.1.16; release notes:
1195 * `Pax URL 2.5.2 → 2.5.3`_
1197 * Scala 2.11.11 → 2.12.4; release notes:
1205 * Servlet API 3.0.1 → 3.1.0
1207 * `SLF4J 1.7.21 → 1.7.25`_
1209 * `webcohesion enunciate 2.6.0 → 2.10.1`_
1211 * `Xtend 2.12 → 2.13`_
1213 .. _Akka 2.5.0: http://akka.io/blog/news/2017/04/13/akka-2.5.0-released
1214 .. _Akka 2.5.1: http://akka.io/blog/news/2017/05/02/akka-2.5.1-released
1215 .. _Akka 2.5.2: http://akka.io/blog/news/2017/05/24/akka-2.5.2-released
1216 .. _Akka 2.5.3: http://akka.io/blog/news/2017/06/19/akka-2.5.3-released
1217 .. _Akka 2.5.4: http://akka.io/blog/news/2017/08/10/akka-2.5.4-released
1219 .. _Awaitility 2 → 3: https://github.com/awaitility/awaitility/wiki/ReleaseNotes30
1221 .. _Bouncy Castle 1.57 → 1.58: https://www.bouncycastle.org/releasenotes.html
1223 .. _Commons Codec 1.10 → 1.11: http://www.apache.org/dist/commons/codec/RELEASE-NOTES.txt
1225 .. _Commons File Upload 1.3.2 → 1.3.3: http://www.apache.org/dist/commons/fileupload/RELEASE-NOTES.txt
1227 .. _Commons IO 2.5 → 2.6: http://www.apache.org/dist/commons/io/RELEASE-NOTES.txt
1229 .. _Google Truth 0.28 → 0.36: https://github.com/google/truth/releases
1231 .. _Gson 2.7 → 2.8.2: https://github.com/google/gson/blob/master/CHANGELOG.md
1233 .. _Guava 23: https://github.com/google/guava/wiki/Release23
1234 .. _Guava 23.1: https://github.com/google/guava/releases/tag/v23.1
1235 .. _Guava 23.2: https://github.com/google/guava/releases/tag/v23.2
1236 .. _Guava 23.3: https://github.com/google/guava/releases/tag/v23.3
1238 .. _Jacoco 0.7.8: https://github.com/jacoco/jacoco/releases/tag/v0.7.8
1239 .. _Jacoco 0.7.9: https://github.com/jacoco/jacoco/releases/tag/v0.7.9
1241 .. _Javassist 3.20.0 → 3.21.0: https://github.com/jboss-javassist/javassist/compare/rel_3_20_0_ga...rel_3_21_0_ga
1243 .. _Jettison 1.3.7 → 1.3.8: https://github.com/jettison-json/jettison/compare/jettison-1.3.7...jettison-1.3.8
1245 .. _Jolokia 1.3.6 → 1.3.7: https://github.com/rhuss/jolokia/releases/tag/v1.3.7
1247 .. _JSONassert 1.3.0 → 1.5.0: https://github.com/skyscreamer/JSONassert/releases
1249 .. _logback 1.2.2 → 1.2.3: https://logback.qos.ch/news.html
1251 .. _LMAX Disruptor 3.3.6 → 3.3.7: https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.7
1253 .. _Netty 4.1.9: http://netty.io/news/2017/03/10/4-0-45-Final-4-1-9-Final.html
1254 .. _Netty 4.1.10: http://netty.io/news/2017/04/30/4-0-46-Final-4-1-10-Final.html
1255 .. _Netty 4.1.11: http://netty.io/news/2017/05/12/4-0-47-Final-4-1-11-Final.html
1256 .. _Netty 4.1.12: http://netty.io/news/2017/06/09/4-0-48-Final-4-1-12-Final.html
1257 .. _Netty 4.1.13: http://netty.io/news/2017/07/06/4-0-49-Final-4-1-13-Final.html
1258 .. _Netty 4.1.14: http://netty.io/news/2017/08/03/4-0-50-Final-4-1-14-Final.html
1259 .. _Netty 4.1.15: http://netty.io/news/2017/08/25/4-0-51-Final-4-1-15-Final.html
1260 .. _Netty 4.1.16: http://netty.io/news/2017/09/25/4-0-52-Final-4-1-16-Final.html
1262 .. _Pax URL 2.5.2 → 2.5.3: https://ops4j1.jira.com/browse/PAXURL-345?jql=project%20%3D%20PAXURL%20AND%20fixVersion%20%3D%202.5.3
1264 .. _Scala 2.12.0: https://github.com/scala/scala/releases/tag/v2.12.0
1265 .. _Scala 2.12.1: https://github.com/scala/scala/releases/tag/v2.12.1
1266 .. _Scala 2.12.2: https://github.com/scala/scala/releases/tag/v2.12.2
1267 .. _Scala 2.12.3: https://github.com/scala/scala/releases/tag/v2.12.3
1268 .. _Scala 2.12.4: https://github.com/scala/scala/releases/tag/v2.12.4
1270 .. _SLF4J 1.7.21 → 1.7.25: https://www.slf4j.org/news.html
1272 .. _webcohesion enunciate 2.6.0 → 2.10.1: https://github.com/stoicflame/enunciate/releases
1274 .. _Xtend 2.12 → 2.13: https://www.eclipse.org/xtend/releasenotes.html
1276 Upstream version additions
1277 ~~~~~~~~~~~~~~~~~~~~~~~~~~
1279 The following upstream dependencies have been added to dependency management:
1281 * Commons Text, ``org.apache.commons:commons-text`` (this will allow downstreams
1282 to migrate from ``commons-lang3``\’s ``WordUtils``, which is deprecated)
1284 Upstream version removals
1285 ~~~~~~~~~~~~~~~~~~~~~~~~~
1287 The following upstream dependencies have been removed from dependency
1288 management (they are obsolete and unused):
1292 * Equinox HTTP service bridge
1293 * ``equinoxSDK381`` artifacts
1294 * Coda Hale Metrics, which are mostly unused and should eventually be wrapped
1296 * ``com.google.code.findbugs:jsr305`` (which *must not* be used; this is
1297 enforced — ``annotations`` should be used instead)
1298 * Felix File Install and Web Console
1301 * ``org.mockito:mockito-all`` (which *must not* be used; this is enforced —
1302 ``mockito-core`` should be used instead)
1308 Plugin version upgrades
1309 ~~~~~~~~~~~~~~~~~~~~~~~
1311 The following plugins have been upgraded:
1313 * ``org.apache.servicemix.tooling:depends-maven-plugin`` 1.3.1 → 1.4.0
1314 * ``org.apache.felix:maven-bundle-plugin`` 2.4.0 → 3.3.0
1315 * ``maven-compiler-plugin`` 3.6.1 → 3.7.0
1316 * ``maven-dependency-plugin`` 3.0.1 → 3.0.2
1317 * ``maven-enforcer-plugin`` 1.4.1 → 3.0.0-M1
1318 * ``maven-failsafe-plugin`` 2.18.1 → 2.20.1
1319 * ``maven-javadoc-plugin`` 2.10.4 → 3.0.0-M1
1320 * ``maven-shade-plugin`` 2.4.3 → 3.1.0
1325 * The `Maven Find Duplicates`_ plugin can be enabled by setting the
1326 ``duplicate-finder.skip`` property to ``false``.
1328 * The SpotBugs_ Maven plugin can now be used instead of the FindBugs plugin
1329 (both are available, so no change is required). To use SpotBugs, replace
1330 ``org.codehaus.mojo:findbugs-maven-plugin`` with
1331 ``com.github.spotbugs:spotbugs-maven-plugin``.
1333 .. _Maven Find Duplicates: https://github.com/basepom/duplicate-finder-maven-plugin/
1335 .. _SpotBugs: https://spotbugs.github.io/