1 ========================
2 ODL Parent release notes
3 ========================
7 This is a security/bug-fix upgrade from version 6.0.1.
11 * ``single-feature-parent`` was setting up Karaf repositories incorrectly, leading to
12 the test using unpatched Karaf resources. This has now been fixed and the test run
13 is using environment equivalent to the contents of the distribution. See
14 `ODLPARENT-209 <https://jira.opendaylight.org/browse/ODLPARENT-209>`__ for details.
16 * ``immutables.org`` integration relied on pre-JDK9 way of integration, where the annotation processor
17 was just dropped as a dependency. This does not work with JDK9+ artifacts which are also explicit
18 JMPS modules. Note that users are advised to switch to depending on the ``annotations``-classified
19 artifact. See `ODLPARENT-216 <https://jira.opendaylight.org/browse/ODLPARENT-216>`__ for details.
21 * Assembled Karaf distribution did not perform proper JDK checks and allowed launching with JDK8,
22 leading to a failure to install OpenDaylight components with an error stack, which confuses users
23 not familiar with OSGi. The distribution now refuses to start with anything other than JDK11. See
24 `ODLPARENT-218 <https://jira.opendaylight.org/browse/ODLPARENT-218>`__ for details.
26 Third-party dependencies
27 ~~~~~~~~~~~~~~~~~~~~~~~~
29 * Akka `2.5.25 → 2.5.26 <https://akka.io/blog/news/2019/10/17/akka-2.5.26-released>`__
31 * Checkstyle 8.20 → 8.26, release notes:
32 * `8.21 <https://checkstyle.org/releasenotes.html#Release_8.21>`__
33 * `8.22 <https://checkstyle.org/releasenotes.html#Release_8.22>`__
34 * `8.23 <https://checkstyle.org/releasenotes.html#Release_8.23>`__
35 * `8.24 <https://checkstyle.org/releasenotes.html#Release_8.24>`__
36 * `8.25 <https://checkstyle.org/releasenotes.html#Release_8.25>`__
37 * `8.26 <https://checkstyle.org/releasenotes.html#Release_8.26>`__
39 * H2 database `1.4.199 → 1.4.200 <http://www.h2database.com/html/changelog.html>`__
41 * Hamcrest `2.1 → 2.2 <https://github.com/hamcrest/JavaHamcrest/releases/tag/v2.2>`__
43 * JaCoCo `0.8.4 → 0.8.5 <https://github.com/jacoco/jacoco/releases/tag/v0.8.5>`__
45 * Karaf 4.2.2 → 4.2.6, release notes:
46 * `4.2.3 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12344587>`__
47 * `4.2.4 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12344856>`__
48 * `4.2.5 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12345153>`__
49 * `4.2.6 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12345365>`__
51 * Powermock `2.0.2 → 2.0.4 <https://github.com/powermock/powermock/blob/release/2.x/docs/release-notes/official.md#204>`__
53 * Sevntu `1.35.0 → 1.36.0 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.36.0>`__
58 * maven-bundle-plugin `4.1.0 → 4.2.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12345491>`__
60 * maven-jar-plugin `3.1.2 → 3.2.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317526&version=12345503>`__
62 * maven-source-plugin `3.1.0 → 3.2.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317924&version=12345522>`__
64 * modernizer-maven-plugin `1.9.0 → 2.0.0 <https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-2.0.0>`__
68 This is a security/bug-fix upgrade from version 6.0.0.
72 * ``karaf-plugin`` ignored exceptions coming from its failure to resolve ${karaf.etc} variable. This
73 has now been fixed and the URL handling has been revised to fix build on Windows. See
74 `ODLPARENT-214 <https://jira.opendaylight.org/browse/ODLPARENT-214>`__ for details.
76 * ``leveldb-jni`` jar, which has been seeded to nexus.opendaylight.org long time ago is not published
77 in Maven Central. This has been resolved by repackaging this jar and publishing it from odlparent.
78 See `ODLPARENT-210 <https://jira.opendaylight.org/browse/ODLPARENT-210>`__ for details.
80 Third-party dependencies
81 ~~~~~~~~~~~~~~~~~~~~~~~~
83 * Bouncy Castle `1.63 → 1.64 <http://www.bouncycastle.org/releasenotes.html>`__
85 * Jackson `2.9.9 → 2.9.10 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.10>`__
87 * Javassist 3.24.1-GA → 3.26.0-GA
89 * Guice 4.1.0 → 4.2.2, release notes:
90 * `4.2.0 <https://github.com/google/guice/wiki/Guice42>`__
91 * `4.2.1 <https://github.com/google/guice/wiki/Guice421>`__
92 * `4.2.2 <https://github.com/google/guice/wiki/Guice422>`__
94 * Mockito 2.25.1 → 2.28.2, release notes:
95 * `2.25.2 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2252>`__
96 * `2.25.3 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2253>`__
97 * `2.25.4 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2254>`__
98 * `2.25.5 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2255>`__
99 * `2.25.6 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2256>`__
100 * `2.25.7 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2257>`__
101 * `2.26.1 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2261>`__
102 * `2.26.2 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2262>`__
103 * `2.27.1 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2271>`__
104 * `2.27.2 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2272>`__
105 * `2.27.3 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2273>`__
106 * `2.27.4 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2274>`__
107 * `2.27.5 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2275>`__
108 * `2.28.0 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2280>`__
110 * Netty 4.1.39 → 4.1.42, release notes:
111 * `4.1.41 <https://netty.io/news/2019/09/12/4-1-41-Final.html>`__
112 * `4.1.42 <https://netty.io/news/2019/09/25/4-1-42-Final.html>`__
114 * pt-triemap `1.0.6 → 1.1.0 <https://github.com/PantheonTechnologies/triemap/releases/tag/triemap-1.1.0>`__
116 * reactive-streams `1.0.2 → 1.0.3 <http://www.reactive-streams.org/announce-1.0.3>`__
118 * stax2-api `3.1.4 → 4.2 <https://github.com/FasterXML/stax2-api/blob/master/release-notes/VERSION>`__
120 * woodstox-core 5.0.3 → 5.3.0, release notes:
121 * `5.1.0 <https://github.com/FasterXML/woodstox/wiki/Woodstox-Release-5.1>`__
122 * `5.2.0 <https://github.com/FasterXML/woodstox/wiki/Woodstox-Release-5.2>`__
123 * `5.3.0 <https://github.com/FasterXML/woodstox/wiki/Woodstox-Release-5.3>`__
127 This is a major upgrade from version 5, with breaking changes; projects will
128 need to make changes to upgrade to this version.
132 This release sets ``maven.compiler.release=11`` and enforces that the JDK used to build
133 is Java 11+. As there may be issues with various maven plugins when faced with JDK9+
134 constructs and JDK11+ classes, target release can be controlled on a per-artifact
135 basis (i.e. target Java 10 with ``maven.compiler.release=10`` property).
137 This release has been validated with ``openjdk-11.0.4`` and is not supported on any lower
138 version. As usual, we recommend using latest available JDK/JRE for Java 11 during development
141 Checkstyle/SpotBugs/Modernizer run by default
142 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 With this release code artifacts always run ``maven-checkstyle-plugin``, ``spotbugs-maven-plugin``
144 and ``modernizer-maven-plugin``. Checkstyle and SpotBugs run in enforcing mode, i.e. will fail
145 build if any violations are found. Modernizer is configured to report Java 8-compatible constructs
146 and will not fail the build unless instructed to do so.
148 Behavior of each of these is controlled via a maven property on a per-artifact basis:
150 * ``odlparent.checkstyle.enforce`` controls checkstyle enforcement: defaults to ``true``, but can be set to ``false``
151 * ``odlparent.checkstyle.skip`` controls checkstyle invocation: defaults to ``false``, but can be set to ``true``
152 * ``odlparent.spotbugs.enforce`` controls SpotBugs enforcement: defaults to ``true``, but can be set to ``false``
153 * ``odlparent.spotbugs.skip`` controls SpotBugs invocation: defaults to ``false``, but can be set to ``true``
154 * ``odlparent.modernizer.enforce`` controls modernizer enforcement: defaults to ``false``, but can be set to ``true``
155 * ``odlparent.modernizer.skip`` controls modernizer invocation: defaults to ``false``, but can be set to ``true``
156 * ``odlparent.modernizer.target`` controls modernizer Java version: defaults to ``1.8``, but can be set to ``1.11`` or similar
161 * ``blueprint container`` had ``org.apache.aries.blueprint.preemptiveShutdown`` set to false
162 to enable it to work with Config Subsystem. As that component is long gone, this property has
163 been removed as part of `ODLPARENT-34 <https://jira.opendaylight.org/browse/ODLPARENT-34>`__.
164 Furthermore, system properties related to Config Subsystem/NETCONF integration have been removed
167 Upstream version removals
168 ~~~~~~~~~~~~~~~~~~~~~~~~~
170 The following upstream dependencies have been removed from dependency management:
172 * com.google.code.findbugs/jsr305
174 Third-party dependencies
175 ~~~~~~~~~~~~~~~~~~~~~~~~
177 The dependency on `xmlunit-assertj` and `modernizer-maven-annotations` has been added and the following
178 dependencies have been upgraded:
180 * Akka 2.5.23 → 2.5.25, release notes:
181 * `2.5.24 <https://akka.io/blog/news/2019/08/09/akka-2.5.24-released>`__
182 * `2.5.25 <https://akka.io/blog/news/2019/08/20/akka-2.5.25-released>`__
184 * apache-sshd `2.2.0 → 2.3.0 <https://github.com/apache/mina-sshd/blob/master/docs/changes/2.3.0.md>`__
186 * Bouncy Castle `1.62 → 1.63 <https://www.bouncycastle.org/releasenotes.html>`__
188 * commons-beanutils `1.9.3 → 1.9.4 <https://www.apache.org/dist/commons/beanutils/RELEASE-NOTES.txt>`__
190 * commons-codec `1.12 → 1.13 <http://www.apache.org/dist/commons/codec/RELEASE-NOTES.txt>`__
192 * commons-text 1.6 → 1.8, release notes:
193 * `1.7 <https://commons.apache.org/proper/commons-text/changes-report.html#a1.7>`__
194 * `1.8 <https://commons.apache.org/proper/commons-text/changes-report.html#a1.8>`__
196 * Checkstyle 8.18 → 8.20, release notes:
197 * `8.19 <https://checkstyle.org/releasenotes.html#Release_8.19>`__
198 * `8.20 <https://checkstyle.org/releasenotes.html#Release_8.20>`__
200 * jackson-databind `2.9.9 → 2.9.9.3 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9#micro-patches>`__
202 * jaxb-api 2.2.8 → 2.3.0, aligning it with Karaf-provided version
204 * Netty 4.1.36 → 4.1.39, release notes:
205 * `4.1.37 <https://netty.io/news/2019/06/28/4-1-37-Final.html>`__
206 * `4.1.38 <https://netty.io/news/2019/07/24/4-1-38-Final.html>`__
207 * `4.1.39 <https://netty.io/news/2019/08/13/4-1-39-Final.html>`__
209 * Sevntu 1.32.0 → 1.35.0, release notes:
210 * `1.33.0 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.33.0>`__
211 * `1.34.0 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.34.0>`__
212 * `1.34.1 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.34.1>`__
213 * `1.35.0 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.35.0>`__
215 * Scala 2.12.8 → 2.12.9, release notes:
216 * `2.12.9 <https://github.com/scala/scala/releases/tag/v2.12.9>`__
217 * `2.12.10 <https://github.com/scala/scala/releases/tag/v2.12.10>`__
219 * slf4j `1.7.25 → 1.7.28 <https://www.slf4j.org/news.html>`__
221 * triemap `1.0.5 → 1.0.6 <https://github.com/PantheonTechnologies/triemap/releases/tag/triemap-1.0.6>`__
223 * typesafe/ssl-config `0.3.7 → 0.3.8 <https://github.com/lightbend/ssl-config/compare/v0.3.7...v0.3.8>`__
225 * Xtend 1.17.1 → 1.19.0, release notes:
226 * `1.18.0 <https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2019/06/04/version-2-18-0>`__
227 * `1.19.0 <https://www.eclipse.org/Xtext/releasenotes.html#/releasenotes/2019/09/03/version-2-19-0>`__
232 * git-commit-id-plugin 2.2.6 → 3.0.1, release notes:
233 * `3.0.0 <https://github.com/git-commit-id/maven-git-commit-id-plugin/releases/tag/v3.0.0>`__
234 * `3.0.1 <https://github.com/git-commit-id/maven-git-commit-id-plugin/releases/tag/v3.0.1>`__
236 * maven-javadoc-plugin `3.1.0 → 3.1.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317529&version=12345060>`__
238 * pmd-maven-plugin `3.11.0 → 3.12.0 <https://blogs.apache.org/maven/entry/apache-maven-pmd-plugin-version1>`__
240 * spotbugs-maven-plugin 3.1.11 → 3.1.12.2, release notes:
241 * `3.1.12 <https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-3.1.11...spotbugs-maven-plugin-3.1.12>`__
242 * `3.1.12.1 <https://github.com/spotbugs/spotbugs-maven-plugin/releases/tag/spotbugs-maven-plugin-3.1.12.1>`__
243 * `3.1.12.2 <https://github.com/spotbugs/spotbugs-maven-plugin/releases/tag/spotbugs-maven-plugin-3.1.12.2>`__
248 This is a bug-fix upgrade from version 5.0.0.
250 Third-party dependencies
251 ~~~~~~~~~~~~~~~~~~~~~~~~
253 The following dependencies have been upgraded:
255 * Akka 2.5.21 → 2.5.23, release notes:
256 * `2.5.22 <https://akka.io/blog/news/2019/04/03/akka-2.5.22-released>`__
257 * `2.5.23 <https://akka.io/blog/news/2019/05/21/akka-2.5.23-released>`__
259 * asciidoctorj-diagram 1.5.12 → 1.5.16
261 * Bouncy Castle `1.61 → 1.62 <http://www.bouncycastle.org/releasenotes.html>`__
263 * commons-lang3 `3.8.1 → 3.9 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`__
265 * JaCoCo `0.8.3 → 0.8.4 <https://github.com/jacoco/jacoco/releases/tag/v0.8.4>`__
267 * Jackson `2.9.8 → 2.9.9 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.9>`__
269 * Jolokia 1.6.0 → 1.6.2, release notes:
270 * `1.6.1 <https://jolokia.org/changes-report.html#a1.6.1>`__
271 * `1.6.2 <https://jolokia.org/changes-report.html#a1.6.2>`__
273 * Mockito `2.25.0 → 2.25.1 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2251>`__
275 * Netty 4.1.34 → 4.1.36, release notes:
276 * `4.1.35 <https://netty.io/news/2019/04/17/4-1-35-Final.html>`__
277 * `4.1.36 <https://netty.io/news/2019/04/30/4-1-36-Final.html>`__
279 * PowerMock 2.0.0 → 2.0.2, release notes:
280 * `2.0.1 <https://github.com/powermock/powermock/releases/tag/powermock-2.0.1>`__
281 * `2.0.2 <https://github.com/powermock/powermock/releases/tag/powermock-2.0.2>`__
283 * Reactive Streams `1.0.1 → 1.0.2 <https://www.lightbend.com/blog/update-reactive-streams-102-released>`__
285 * scala-parser-combinators `1.1.1 → 1.1.2 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.1.2>`__
287 * Sevntu `1.32.0 → 1.33.0 <http://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.33.0>`__
289 * Typesafe Config `1.3.2 → 1.3.3 <https://github.com/lightbend/config/releases/tag/v1.3.3>`__
291 * triemap `1.0.4 → 1.0.5 <https://github.com/PantheonTechnologies/triemap/releases/tag/triemap-1.0.5>`__
293 * XBean finder 4.12 → 4.14, release notes:
294 * `4.13 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12344253&projectId=12310312>`__
295 * `4.14 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310312&version=12345220>`__
297 * xmlunit `2.6.2 → 2.6.3 <https://github.com/xmlunit/xmlunit/releases/tag/v2.6.3>`__
299 * Xtend `2.17.0 → 2.17.1 <https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2019/04/03/version-2-17-1>`__
304 * maven-archetype-plugin 3.0.1 → 3.1.1, release notes:
305 * `3.1.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317122&version=12340346>`__
306 * `3.1.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317122&version=12345450>`__
308 * maven-bundle-plugin `4.1.0 → 4.2.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12345047>`__
310 * maven-checkstyle-plugin `3.1.0 → 3.1.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317223&version=12342397>`__
312 * maven-compiler-plugin `3.8.0 → 3.8.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317225&version=12343484>`__
314 * maven-help-plugin `3.1.1 → 3.2.0 <https://blog.soebes.de/blog/2019/04/22/apache-maven-help-plugin-version-3-dot-2-0-released/>`__
316 * maven-jar-plugin `3.1.1 → 3.1.2 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317526&version=12344629>`__
318 * maven-plugin-plugin `3.5.2 → 3.6.0 <https://blogs.apache.org/maven/entry/apache-maven-plugin-tools-version1>`__
320 * maven-source-plugin `3.0.1 → 3.1.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317924&version=12336941>`__
322 * maven-surefire-plugin 2.22.1 → 2.22.2
327 * ``modernizer-maven-plugin`` declared, allowing downstreams to more easily activate it,
328 and so detect code which should be updated to more modern equivalent.
333 * ``odl-caffeine-2`` provides a pre-packaged feature for the Caffeine caching framework,
334 along with the Guava compabitility layer.
339 This is a major upgrade from version 4, with breaking changes; projects will
340 need to make changes to upgrade to this version.
342 The most significant change is `ODLPARENT-198 <https://jira.opendaylight.org/browse/ODLPARENT-198>`__,
343 which removes JSR305 from default dependencies and does not present it at class path by default.
348 ``findbugs`` has been removed, as its only purpose was to provide FindBugs
349 rule definitions. Equivalent definitions are available in ``spotbugs``.
354 * ``blueprint-maven-plugin`` used to scan the entire classpath, resulting in potential conflicts
355 across projects. Scanning is now limited to ``${project.groupId}``, limiting conflict domain
356 to single project. See `ODLPARENT-109 <https://jira.opendaylight.org/browse/ODLPARENT-109>`__.
358 * ``bundle-maven-plugin`` configuration ignored generated ServiceLoader service entries,
359 which has now been fixed. See `ODLPARENT-197 <https://jira.opendaylight.org/browse/ODLPARENT-197>`__.
361 * Bundle tests are now enabled by default. See `ODLPARENT-158 <https://jira.opendaylight.org/browse/ODLPARENT-158>`__
362 and `ODLPARENT-80 <https://jira.opendaylight.org/browse/ODLPARENT-80>`__ for details.
364 * Karaf log file rollover was not explictly set up, leading to inability to easily override
365 the defaults. See `ODLPARENT-153 <https://jira.opendaylight.org/browse/ODLPARENT-153>`__ for details.
367 * Karaf log file used to use default maximum 16MiB file size, this has now been increased to 64MiB.
368 See `ODLPARENT-154 <https://jira.opendaylight.org/browse/ODLPARENT-154>`__.
370 * ``features-test`` excluded opendaylight-karaf-empty's transitive dependencies, leading
371 to the need to re-declare them in single-feature-parent. This re-declaration was forgotten
372 in for ``bcpkix-framework-ext`` and ``bcprov-framework-ext`` bundles, which lead to them
373 not being present in the local repository. See `ODLPARENT-130 <https://jira.opendaylight.org/browse/ODLPARENT-130>`__.
375 Upstream version removals
376 ~~~~~~~~~~~~~~~~~~~~~~~~~
378 The following upstream dependencies have been removed from dependency management:
380 * cassandra-driver-core
382 * org.codehaus.enunciate/enunciate-core-annotations
384 * org.jboss.resteasy/jaxrs-api
388 * org.osgi/org.osgi.compendium
395 * ``features-akka`` feature repository has been integrated into ``features-odlparent``
397 Third-party dependencies
398 ~~~~~~~~~~~~~~~~~~~~~~~~
400 The following dependencies have been upgraded:
402 * apache-sshd `2.0.0 → 2.2.0 <https://github.com/apache/mina-sshd/compare/sshd-2.0.0...sshd-2.2.0>`__
404 * Aeron 1.12.0 → 1.15.3, release notes:
405 * `1.13.0 <https://github.com/real-logic/aeron/releases/tag/1.13.0>`__
406 * `1.14.0 <https://github.com/real-logic/aeron/releases/tag/1.14.0>`__
407 * `1.15.0 <https://github.com/real-logic/aeron/releases/tag/1.15.0>`__
408 * `1.15.1 <https://github.com/real-logic/aeron/releases/tag/1.15.1>`__
409 * `1.15.2 <https://github.com/real-logic/aeron/releases/tag/1.15.2>`__
410 * `1.15.3 <https://github.com/real-logic/aeron/releases/tag/1.15.3>`__
412 * Agrona 0.9.27 → 0.9.33, release notes:
413 * `0.9.28 <https://github.com/real-logic/agrona/releases/tag/0.9.28>`__
414 * `0.9.29 <https://github.com/real-logic/agrona/releases/tag/0.9.29>`__
415 * `0.9.30 <https://github.com/real-logic/agrona/releases/tag/0.9.30>`__
416 * `0.9.31 <https://github.com/real-logic/agrona/releases/tag/0.9.31>`__
417 * `0.9.32 <https://github.com/real-logic/agrona/releases/tag/0.9.32>`__
418 * `0.9.33 <https://github.com/real-logic/agrona/releases/tag/0.9.33>`__
420 * Akka 2.5.19 → 2.5.21, release notes:
421 * `2.5.20 <https://akka.io/blog/news/2019/01/29/akka-2.5.20-released>`__
422 * `2.5.21 <https://akka.io/blog/news/2019/02/13/akka-2.5.21-released>`__
424 * antl4r `4.7.1 → 4.7.2 <https://github.com/antlr/antlr4/releases/tag/4.7.2>`__
426 * asciidoctorj-diagram 1.5.11 → 1.5.12
428 * Bouncy Castle `1.60 → 1.61 <http://www.bouncycastle.org/releasenotes.html>`__
430 * checkstyle 8.16 → 8.18, release notes:
431 * `8.17 <http://checkstyle.sourceforge.net/releasenotes.html#Release_8.17>`__
432 * `8.18 <http://checkstyle.sourceforge.net/releasenotes.html#Release_8.18>`__
434 * commons-codec `1.11 → 1.12 <http://www.apache.org/dist/commons/codec/RELEASE-NOTES.txt>`__
436 * Google Error Prone 2.3.2 → 2.3.3
438 * Google Guava 25.1 → 27.1, release notes:
439 * `26.0 <https://github.com/google/guava/releases/tag/v26.0>`__
440 * `27.0 <https://github.com/google/guava/releases/tag/v27.0>`__
441 * `27.0.1 <https://github.com/google/guava/releases/tag/v27.0.1>`__
442 * `27.1 <https://github.com/google/guava/releases/tag/v27.1>`__
444 * Google Truth `0.42 → 0.43 <https://github.com/google/truth/releases/tag/release_0_43>`__
446 * h2 database `1.4.196 → 1.4.199 <http://www.h2database.com/html/changelog.html>`__
448 * Immutables `2.7.3 → 2.7.5 <https://github.com/immutables/immutables/#changelog>`__
450 * Javassist `3.24.0-GA → 3.24.1-GA <https://github.com/jboss-javassist/javassist/releases/tag/rel_3_24_1_ga>`__
452 * log4j2 `2.11.1 → 2.11.2 <https://github.com/apache/logging-log4j2/blob/log4j-2.11.2/RELEASE-NOTES.md>`__
454 * Mockito 2.23.4 → 2.25.0, release notes:
455 * `2.24.0 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2240>`__
456 * `2.25.0 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2250>`__
458 * Netty 4.1.32 → 4.1.34, release notes:
459 * `4.1.32 <https://netty.io/news/2018/11/29/4-1-32-Final.html>`__
460 * `4.1.33 <https://netty.io/news/2019/01/21/4-1-33-Final.html>`__
461 * `4.1.34 <https://netty.io/news/2019/03/08/4-1-34-Final.html>`__
465 * Powermockito 1.7.4 → 2.0.0, release notes:
466 * `2.0.0-beta.5 <https://github.com/powermock/powermock/releases/tag/powermock-2.0.0-beta.5>`__
467 * `2.0.0-RC.1 <https://github.com/powermock/powermock/releases/tag/powermock-2.0.0-RC.1>`__
468 * `2.0.0 <https://github.com/powermock/powermock/releases/tag/powermock-2.0.0>`__
470 * SpotBugs `3.1.9 → 3.1.12 <https://github.com/spotbugs/spotbugs/blob/3.1.12/CHANGELOG.md>`__
472 * ThreeTen `1.4.0 → 1.5.0 <https://www.threeten.org/threeten-extra/changes-report.html#a1.5.0>`__
474 * Xtend `2.16.0 → 2.17.0 <http://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2019/03/05/version-2-17-0>`__
481 * maven-findbugs-plugin
486 * jacoco-maven-plugin `0.8.2 → 0.8.3 <https://github.com/jacoco/jacoco/releases/tag/v0.8.3>`__
488 * maven-invoker-plugin `3.1.0 → 3.2.0 <https://mail-archives.apache.org/mod_mbox/maven-announce/201901.mbox/%3Cop.zvzdg9tbkdkhrr@desktop-2khsk44%3E>`__
490 * maven-javadoc-plugin `3.0.1 → 3.1.0 <https://mail-archives.apache.org/mod_mbox/maven-announce/201903.mbox/%3C6064d830-474c-4b43-afef-99502c3a305a%40getmailbird.com%3E>`__
492 * spotbugs-maven-plugin 3.1.8 → 3.1.11
497 This is a bug-fix upgrade from version 4.0.8.
502 * ``karaf-plugin`` invocation in ``karaf4-parent`` caused previously
503 patched features to be overwritten with their stock versions, referencing
504 bundles which were not populated in the local repository. (See
505 `ODLPARENT-194 <https://jira.opendaylight.org/browse/ODLPARENT-194>`__.)
507 * ``karaf-plugin`` version in ``karaf4-parent`` is now provided through
508 plugin management so downstreams can override it without needing
509 to repeat its configuration.
511 * ``karaf-plugin`` no longer reads features twice when running discovery,
512 speeding up the process a bit.
514 * Recent versions of the SpotBugs Maven plugin use SLF4J 1.8 beta 2, which
515 can’t use the 1.7.25 implementation we provide; we therefore provide an
516 implementation of 1.8 beta 2 when SpotBugs is used. (See
517 `ODLPARENT-184 <https://jira.opendaylight.org/browse/ODLPARENT-184>`__.)
522 * ``odl-woodstox`` wraps the Woodstox StAX implementation which is imposed on
528 This is a bug-fix and minor upstream bump upgrade from version 4.0.7.
533 * ``bcprov-ext-jdk15on`` is a superset of ``bcprov-jdk15on``, so there’s no
534 need to ship both; we now only ship the former. In addition, we install the
535 Bouncy Castle JARs in ``lib/boot`` so that they continue to be available on
536 the boot classpath (JDK 9 removes the extension mechanism which was used
537 previously), and provide the corresponding bundles from the boot classpath
538 instead of using separate JARs in the system repository. (See
539 `ODLPARENT-183 <https://jira.opendaylight.org/browse/ODLPARENT-183>`__ and
540 `ODLPARENT-185 <https://jira.opendaylight.org/browse/ODLPARENT-185>`__.)
542 * A dependency check has been added to ensure that we don’t run into the
543 TrieMap dependency bug in 4.0.6 again.
545 * Dependencies pulled in by features are now checked for convergence, and
546 ``karaf-plugin`` warns when it finds diverging dependencies (the same
547 artifact with two different versions). Upstream-provided features are
548 patched to avoid the following divergences (and upgrade some dependencies in
551 * Aries utilities 1.1.0/1.1.3 (upgraded to 1.1.3).
552 * Commons Beanutils 1.8.3/1.9.3 (upgraded to 1.9.3).
553 * Commons Codec 1.8/1.10 (upgraded to 1.11).
554 * ``javax.mail`` 1.4.4/1.4.7 (upgraded to 1.4.7).
556 (See `ODLPARENT-189 <https://jira.opendaylight.org/browse/ODLPARENT-189>`__.)
561 * ``odl-dropwizard-metrics`` provides Dropwizard Metrics (which are also
562 available in dependency management).
564 * ``enunciate-maven-plugin`` is added as the replacement for
565 ``maven-enunciate-plugin``.
567 Third-party dependencies
568 ~~~~~~~~~~~~~~~~~~~~~~~~
570 The following dependencies are no longer provided by the JVM, starting with
571 version 11, but we make them available via dependency management for projects
574 * ``javax.annotation-api``.
576 * JAXB (``jaxb-core``, ``jaxb-impl``).
578 The following dependencies have been upgraded:
580 * Checkstyle `8.15 → 8.16 <https://checkstyle.org/releasenotes.html#Release_8.16>`__.
582 * Dependency Check `4.0.0 → 4.0.2 <https://github.com/jeremylong/DependencyCheck/blob/master/RELEASE_NOTES.md>`__.
584 * ``git-commit-id`` `2.2.5 → 2.2.6 <https://github.com/ktoso/maven-git-commit-id-plugin/releases>`__.
586 * Immutables 2.7.1 → 2.7.3:
588 * `2.7.2 <https://github.com/immutables/immutables#272-2018-11-05>`__.
589 * `2.7.3 <https://github.com/immutables/immutables#273-2018-11-10>`__.
591 (2.7.4 breaks our Javadocs.)
593 * Jackson `2.9.7 → 2.9.8 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.8>`__.
598 This is a bug-fix release, correcting the ``triemap`` import declaration.
603 This is a bug-fix and minor upstream packaging upgrade from version 4.0.5.
608 Single-feature-test was broken with JDK 9 and later and Karaf 4.2.2; this
609 release adds the additional JVM configuration needed.
611 Third-party dependencies
612 ~~~~~~~~~~~~~~~~~~~~~~~~
614 This release adds the ``triemap`` BOM to dependency management.
619 This is a bug-fix release: the Karaf Maven plugin, in version 4.2.2, is
620 `broken <https://issues.apache.org/jira/browse/KARAF-6057>`__ in some cases we
621 need in OpenDaylight; we revert to 4.2.1 in ``karaf4-parent`` to avoid this.
626 This is a bug-fix release, reverting the change made in 4.0.3 to handle
627 building with either ``zip`` or ``tar.gz`` Karaf archives (which breaks
628 builds in our infrastructure, without the empty Karaf archive).
633 This is a bug-fix and minor upstream bump upgrade from version 4.0.2.
638 * Our FindBugs configuration for JDK 9 and later caused the plugin to run
639 everywhere; instead, this version defines the ``findbugs.skip`` property to
640 disable the plugin in modules where it would be used otherwise.
642 * The PowerMock declarations in dependency management missed
643 ``powermock-api-mockito2``, which is necessary for modules using PowerMock
646 * The “quick” profile (``-Pq``) now skips SpotBugs.
648 * JSR-305 annotations are now optional, which fixes a number of issues when
649 building with newer JDKs.
651 * We provide JAXB with JDK 11 and later (where it is no longer provided by the
654 * ``odlparent-artifacts`` has been updated to accurately represent the
657 * ``javax.activation`` is now excluded from generated features (it’s provided
658 on Karaf’s boot classpath).
660 * When the build is configured to build Karaf distributions in ``tar.gz``
661 archives, but not ``zip`` archives, ``features-test`` used to fail; it will
662 now used whichever is available
663 (`ODLPARENT-174 <https://jira.opendaylight.org/browse/ODLPARENT-174>`__).
665 * Explicit GCs are disabled by default, so that calls to ``System.gc()`` are
667 (`ODLPARENT-175 <https://jira.opendaylight.org/browse/ODLPARENT-175>`__).
669 * Null checks are disabled in SpotBugs because of bad interactions with newer
670 annotations and the bytecode produces by JDK 11 and later for
671 ``try``-with-resources.
673 * Akka Persistence expects LevelDB 0.10, so we now pull in that version
676 Dependency convergence
677 ~~~~~~~~~~~~~~~~~~~~~~
679 A number of dependencies have been added or constrained so that projects using
680 this parent can enforce dependency convergence:
682 * Karaf’s ``framework`` feature is used as an import POM, so that we converge
683 by default on the versions used in Karaf.
685 * The following dependencies have been added to dependency management:
687 * ``commons-beanutils``
688 * the Checker Framework
689 * Error Prone annotations
690 * ``javax.activation``
696 The following Karaf features have been added:
698 * ``odl-antlr4`` (providing ``antlr4-runtime``);
700 * ``odl-gson`` (providing ``gson``);
702 * ``odl-jersey-2`` (providing Jersey client, server, and container servlet,
703 along with the necessary feature dependencies);
705 * ``odl-servlet-api`` (providing ``javax.servlet-api``);
707 * ``odl-stax2-api`` (providing ``stax2-api``);
709 * ``odl-ws-rs-api`` (providing ``javax.ws.rs-api``);
711 A new ``sonar-jacoco-aggregate`` profile can be used to produce Sonar reports
712 with aggregated JaCoCo reports. Additionally, Sonar builds (run with
713 ``-Dsonar``) are detected and run with a number of irrelevant plugins disabled.
715 Upstream version upgrades
716 ~~~~~~~~~~~~~~~~~~~~~~~~~
718 * Akka 2.5.14 → 2.5.19 (and related ``ssl-config``, Aeron and Agrona upgrades):
720 * `2.5.15 <https://akka.io/blog/news/2018/08/24/akka-2.5.15-released>`__.
721 * `2.5.16 <https://akka.io/blog/news/2018/08/29/akka-2.5.16-security-fix-released>`__.
722 * `2.5.17 <https://akka.io/blog/news/2018/09/27/akka-2.5.17-released>`__.
723 * `2.5.18 <https://akka.io/blog/news/2018/10/07/akka-2.5.18-released>`__.
724 * `2.5.19 <https://akka.io/blog/news/2018/12/07/akka-2.5.19-released>`__.
726 * Commons Text `1.4 → 1.6 <http://www.apache.org/dist/commons/text/RELEASE-NOTES.txt>`__.
728 * Eclipse JDT annotations 2.2.0 → 2.2.100.
730 * Javassist 3.23.1 → 3.24.0.
732 * Karaf 4.2.1 → 4.2.2, with related upgrades.
734 * LMAX Disruptor `3.4.1 → 3.4.2 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.2>`__.
736 * Mockito `2.20.1 → 2.23.4 <https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md>`__.
738 * Netty 4.1.29 → 4.1.31:
740 * `4.1.30 <https://netty.io/news/2018/09/28/4-1-30-Final.html>`__.
741 * `4.1.31 <https://netty.io/news/2018/10/30/4-1-31-Final.html>`__.
743 * Pax Exam 4.12.0 → 4.13.1.
745 * Scala 2.12.6 → 2.12.8:
747 * `2.12.7 <https://github.com/scala/scala/releases/tag/v2.12.7>`__.
748 * `2.12.8 <https://github.com/scala/scala/releases/tag/v2.12.8>`__.
750 * Wagon HTTP 3.1.0 → 3.2.0.
752 * Xtend `2.14.0 → 2.16.0 <https://www.eclipse.org/xtend/releasenotes.html>`__.
754 Plugin version upgrades
755 ~~~~~~~~~~~~~~~~~~~~~~~
757 * Asciidoctor `1.5.6 → 1.5.7.1 <https://github.com/asciidoctor/asciidoctor-maven-plugin/releases>`__
758 (with related AsciidoctorJ upgrades).
760 * Bundle 4.0.0 → 4.1.0.
762 * Checkstyle `8.12 → 8.15 <https://checkstyle.org/releasenotes.html#Release_8.13>`__.
764 * DependencyCheck `3.3.2 → 4.0.0 <https://github.com/jeremylong/DependencyCheck/blob/master/RELEASE_NOTES.md>`__.
766 * Failsafe / Surefire `2.22.0 → 2.22.1 <https://blogs.apache.org/maven/entry/apache-maven-surefire-plugin-version1>`__.
768 * Help 3.1.0 → 3.1.1.
772 * PMD `3.10.0 → 3.11.0 <https://blogs.apache.org/maven/entry/apache-maven-pmd-plugin-3>`__.
774 * Remote Resources `1.5 → 1.6.0 <https://blogs.apache.org/maven/entry/apache-maven-remote-resources-plugin>`__.
777 `3.2.0 → 3.2.1 <https://blog.soebes.de/blog/2018/11/12/apache-maven-shade-plugin-version-3-dot-2-1-released/>`__.
779 * SpotBugs `3.1.6 → 3.1.9 <https://github.com/spotbugs/spotbugs/blob/release-3.1/CHANGELOG.md>`__.
781 * XBean finder 4.9 → 4.12.
783 * XTend 2.14.0 → 2.16.0.
788 This is a bug-fix and minor upstream bump upgrade from version 4.0.1.
793 Previous releases overrode Karaf’s ``jre.properties``; this is no longer
794 necessary, and was causing failures with Java 9 and later (our version of
795 ``jre.properties`` didn’t have the appropriate settings for anything after
796 Java 8). This release drops that override. See
797 `ODLPARENT-168 <https://jira.opendaylight.org/browse/ODLPARENT-168>`__ for
800 Upstream version upgrades
801 ~~~~~~~~~~~~~~~~~~~~~~~~~
803 * Commons Lang `3.8 → 3.8.1 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`__.
805 * Jackson `2.9.6 → 2.9.7 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.7>`__.
807 * Netty `4.1.28 → 4.1.29 <http://netty.io/news/2018/08/24/4-1-29-Final.html>`__.
809 Plugin version upgrades
810 ~~~~~~~~~~~~~~~~~~~~~~~
812 * 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>`__.
814 * Javadoc `3.0.0 → 3.0.1 <https://blogs.apache.org/maven/entry/apache-maven-javadoc-plugin-version>`__.
816 * Jersey `2.22.2 → 2.25.1 <https://jersey.github.io/release-notes/2.25.html>`__,
817 along with Glassfish JSON 1.0.4 → 1.1.2.
819 * Plugin 3.5 → 3.5.2:
821 * `3.5.1 <https://blog.soebes.de/blog/2018/01/22/apache-maven-plugin-tools-version-3-dot-5-1-released/>`__.
822 * `3.5.2 <https://blog.soebes.de/blog/2018/05/26/apache-mave-plugin-tools-version-3-dot-5-2-released/>`__.
824 * Resources `3.0.1 → 3.1.0 <https://blogs.apache.org/maven/entry/apache-maven-resources-plugin-version>`__.
829 This is a bug-fix and minor upstream bump upgrade from version 4.0.0.
834 The JaCoCo execution profile was incorrect, breaking Sonar; the report is now
835 written correctly, so that Sonar can find it.
837 The Blueprint Maven plugin fails when it encounters Java 9 classes; this is
838 fixed by forcefully upgrading its dependency on xbean-finder. See
839 `ODLPARENT-167 <https://jira.opendaylight.org/browse/ODLPARENT-167>`__ for
842 Upstream version upgrades
843 ~~~~~~~~~~~~~~~~~~~~~~~~~
845 * SpotBugs `3.1.6 → 3.1.7 <https://github.com/spotbugs/spotbugs/blob/release-3.1/CHANGELOG.md>`__.
847 Upstream version additions
848 ~~~~~~~~~~~~~~~~~~~~~~~~~~
850 * Mockito Inline is added alongside Mockito Core, to ensure that the versions
853 Plugin version upgrades
854 ~~~~~~~~~~~~~~~~~~~~~~~
856 * 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/>`__.
858 * 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/>`__.
860 * Dependency 3.0.2 → 3.1.1:
862 * `3.1.0 <https://blog.soebes.de/blog/2018/04/06/apache-maven-dependency-plugin-version-3-dot-1-0-released/>`__.
863 * `3.1.1 <https://blog.soebes.de/blog/2018/05/24/apache-maven-dependency-plugin-version-3-dot-1-1-released/>`__.
865 * Dependency Check `3.3.1 → 3.3.2 <https://github.com/jeremylong/DependencyCheck/blob/master/RELEASE_NOTES.md>`__.
867 * 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>`__.
869 * Failsafe 2.20.1 → 2.22:
871 * `2.21 <https://blog.soebes.de/blog/2018/03/06/apache-maven-surefire-plugin-version-2-dot-21-released/>`__.
872 * `2.22 <https://blog.soebes.de/blog/2018/06/16/apache-maven-surefire-plugin-version-2-dot-22-released/>`__.
876 * `3.0.0 <https://blog.soebes.de/blog/2018/03/18/apache-maven-help-plugin-version-3-dot-0-0-released/>`__.
877 * `3.0.1 <https://blog.soebes.de/blog/2018/03/28/apache-maven-help-plugin-version-3-dot-0-1-released/>`__.
878 * `3.1.0 <https://blog.soebes.de/blog/2018/06/09/apache-maven-help-plugin-version-3-dot-1-0-released/>`__.
880 * Invoker 2.0.0 → 3.1.0:
882 * `3.0.0 <https://blog.soebes.de/blog/2017/05/24/apache-maven-invoker-plugin-version-3-dot-0-0-released/>`__.
883 * `3.1.0 <https://blog.soebes.de/blog/2018/05/31/apache-maven-invoker-plugin-version-3-dot-1-0-released/>`__.
885 * 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/>`__.
887 * 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/>`__.
889 * 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/>`__.
891 * 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/>`__.
893 * Site `3.7 → 3.7.1 <https://blog.soebes.de/blog/2018/04/29/apache-maven-site-plugin-version-3-dot-7-1-released/>`__.
895 * Surefire 2.18.1 → 2.22.0:
897 * `2.19 <https://blog.soebes.de/blog/2015/10/19/apache-maven-surefire-plugin-version-2-dot-19-released/>`__.
898 * `2.19.1 <https://blog.soebes.de/blog/2016/01/03/apache-maven-surefire-plugin-version-2-dot-19-dot-1-released/>`__.
899 * `2.20 <https://blog.soebes.de/blog/2017/04/12/apache-maven-surefire-plugin-version-2-dot-20-released/>`__.
900 * `2.21 <https://blog.soebes.de/blog/2018/03/06/apache-maven-surefire-plugin-version-2-dot-21-released/>`__.
901 * `2.22 <https://blog.soebes.de/blog/2018/06/16/apache-maven-surefire-plugin-version-2-dot-22-released/>`__.
907 This is a major upgrade from version 3, with breaking changes; projects will
908 need to make changes to upgrade to this version.
910 `This Wiki page <https://wiki.opendaylight.org/view/Neon_platform_upgrade>`__
911 has detailed step-by-step migration instructions.
913 ODL Parent 4 requires Maven 3.5.3 or later; this is needed in particular to
914 enable SpotBugs support with current versions of the SpotBugs plugin.
919 This release’s SpotBugs support doesn’t handle Guava 25.1 correctly, resulting
920 in false-positives regarding null handling; see
921 `ODLPARENT-161 <https://jira.opendaylight.org/browse/ODLPARENT-161>`__ for
922 details. Until this is fixed, the corresponding warnings are disabled, which
923 matches our existing FindBugs configuration (which suffers from the a variant
924 of this, with the same consequences).
926 We are planning on upgrading Akka during the 4.x cycle, even if it results in
927 a technically breaking upgrade. This is currently blocked on an OSGi bug in
928 Akka; see `Akka issue 25579 <https://github.com/akka/akka/issues/25579>`__ for
931 Blueprint and OSGi service handling
932 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
934 Previous releases used an OpenDaylight-specific directory for Blueprint XML
935 files, ``org/opendaylight/blueprint``. It turned out this wasn’t useful, so
936 version 4 uses the default directory, ``OSGI-INF/blueprint``.
938 The Maven bundle plugin is now configured to omit the ``Import-Service`` and
939 ``Export-Service`` headers, since they are deprecated, unnecessary in
940 OpenDaylight, and liable to cause issues.
942 With previous releases of OpenDaylight, projects were encouraged to use Pax
943 CDI API annotations to describe their Blueprint beans, services and injections;
944 with version 4, Blueprint annotations should be used instead:
946 * modules should depend on
947 ``org.apache.aries.blueprint:blueprint-maven-plugin-annotation``, with the
948 ``<optional>true</optional>`` flag, instead of
949 ``org.ops4j.pax.cdi:pax-cdi-api``;
951 * ``@OsgiServiceProvider`` on bean definitions is replaced by ``@Service``;
953 * ``@OsgiService`` at injection points is replaced by ``@Reference``;
955 * ``@OsgiService`` on bean definitions, while technically wrong, can be seen in
956 the OpenDaylight codebase; this is replaced by ``@Service``;
958 * service lists can be injected using ``@ReferenceList``.
960 See `this Gerrit patch <https://git.opendaylight.org/gerrit/75699>`__ for an
966 Builds now warn about unchecked type uses (such as raw types where generics
969 JUnit and Mockito are always available as test dependencies and no longer need
970 to be declared in POMs.
975 An OWASP profile is now available to run OWASP’s dependency checker; this will
976 check all third-party dependencies against the NVD vulnerability database. To
977 enable this, run Maven with ``-Powasp``.
979 Build profile changes
980 ~~~~~~~~~~~~~~~~~~~~~
982 ``-Pq`` now skips Modernizer.
987 ``odl-akka-leveldb-0.10`` wraps LevelDB 0.10 for Akka.
989 ``odl-apache-commons-codec`` wraps Apache Commons Codec.
991 ``odl-apache-commons-lang3`` wraps Apache Commons Lang 3.
993 ``odl-apache-commons-net`` wraps Apache Commons Net.
995 ``odl-apache-commons-text`` wraps Apache Commons Text.
997 ``odl-apache-sshd`` wraps Apache SSHD.
999 ``odl-guava`` provides the default ODL version of Guava; it should be used
1000 instead of ``odl-guava-23`` or the new ``odl-guava-25``.
1002 ``odl-jackson-2.9`` wraps Jackson 2.9.
1004 New FindBugs and SpotBugs settings
1005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1007 FindBugs and SpotBugs are configured with
1008 `the SLF4J extension <http://kengotoda.github.io/findbugs-slf4j/>`__ (version
1009 1.4.0 for FindBugs, 1.4.1 for SpotBugs). This will flag misused SLF4J calls, in
1010 particular message templates which don’t match the arguments, and invalid
1011 placeholders (*e.g.* ``%s`` instead of ``{}``).
1016 ``aggregator-parent`` was unusable outside ``odlparent`` and has been removed.
1017 Instead, the ``maven.deploy.skip`` and ``maven.install.skip`` properties are
1018 available to disable deploying and installing artifacts.
1020 Upstream version upgrades
1021 ~~~~~~~~~~~~~~~~~~~~~~~~~
1023 This version upgrades the following third-party dependencies:
1025 * Aeron 1.7.0 → 1.9.3:
1027 * `1.8.0 <https://github.com/real-logic/aeron/releases/tag/1.8.0>`__.
1028 * `1.8.1 <https://github.com/real-logic/aeron/releases/tag/1.8.1>`__.
1029 * `1.8.2 <https://github.com/real-logic/aeron/releases/tag/1.8.2>`__.
1030 * `1.9.0 <https://github.com/real-logic/aeron/releases/tag/1.9.0>`__.
1031 * `1.9.1 <https://github.com/real-logic/aeron/releases/tag/1.9.1>`__.
1032 * `1.9.2 <https://github.com/real-logic/aeron/releases/tag/1.9.2>`__.
1033 * `1.9.3 <https://github.com/real-logic/aeron/releases/tag/1.9.3>`__.
1035 * Agrona 0.9.12 → 0.9.21:
1037 * `0.9.13 <https://github.com/real-logic/agrona/releases/tag/0.9.13>`__.
1038 * `0.9.14 <https://github.com/real-logic/agrona/releases/tag/0.9.14>`__.
1039 * `0.9.15 <https://github.com/real-logic/agrona/releases/tag/0.9.15>`__.
1040 * `0.9.16 <https://github.com/real-logic/agrona/releases/tag/0.9.16>`__.
1041 * `0.9.17 <https://github.com/real-logic/agrona/releases/tag/0.9.17>`__.
1042 * `0.9.18 <https://github.com/real-logic/agrona/releases/tag/0.9.18>`__.
1043 * `0.9.19 <https://github.com/real-logic/agrona/releases/tag/0.9.19>`__.
1044 * `0.9.20 <https://github.com/real-logic/agrona/releases/tag/0.9.20>`__.
1045 * `0.9.21 <https://github.com/real-logic/agrona/releases/tag/0.9.21>`__.
1047 * Akka 2.5.11 → 2.5.14:
1049 * `2.5.12 <https://akka.io/blog/news/2018/04/13/akka-2.5.12-released>`__.
1050 * `2.5.13 <https://akka.io/blog/news/2018/06/08/akka-2.5.13-released>`__.
1051 * `2.5.14 <https://akka.io/blog/news/2018/07/13/akka-2.5.14-released>`__.
1053 * ASM 5.1 → 6.2.1 (synchronised with Karaf).
1055 * Bouncy Castle `1.59 → 1.60 <https://www.bouncycastle.org/releasenotes.html>`__.
1057 * Checkstyle `8.4 → 8.12 <http://checkstyle.sourceforge.net/releasenotes.html#Release_8.12>`__.
1059 * Commons Lang `3.7 → 3.8 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`__.
1061 * Commons Text 1.1 → 1.4:
1063 * `1.2 <https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.2.txt>`__.
1064 * `1.3 <https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.3.txt>`__.
1065 * `1.4 <https://commons.apache.org/proper/commons-text/release-notes/RELEASE-NOTES-1.4.txt>`__.
1067 * Eclipse JDT annotations 2.1.150 → 2.2.0.
1069 * EclipseLink Moxy JAXB `2.7.1 → 2.7.3 <https://www.eclipse.org/eclipselink/releases/2.7.php>`__.
1071 * Enunciate core annotations
1072 `2.10.1 → 2.11.1 <https://github.com/stoicflame/enunciate/releases>`__.
1074 * Felix Metatype 1.1.6 → 1.2.0 (synchronised with Karaf).
1076 * Google Truth `0.40 → 0.42 <https://github.com/google/truth/releases>`__.
1078 * Guava 23.6.1 → 25.1:
1080 * `23.4 <https://github.com/google/guava/releases/tag/v23.4>`__.
1081 * `23.5 <https://github.com/google/guava/releases/tag/v23.5>`__.
1082 * `23.6 <https://github.com/google/guava/releases/tag/v23.6>`__.
1083 * `24.0 <https://github.com/google/guava/releases/tag/v24.0>`__.
1084 * `24.1 <https://github.com/google/guava/releases/tag/v24.1>`__.
1085 * `25.0 <https://github.com/google/guava/releases/tag/v25.0>`__.
1086 * `25.1 <https://github.com/google/guava/releases/tag/v25.1>`__.
1088 * Immutables `2.5.6 → 2.7.1 <https://github.com/immutables/immutables/blob/master/README.md#changelog>`__.
1090 * Jackson 2.8.9 → 2.9.6:
1092 * `2.9 feature overview <https://medium.com/@cowtowncoder/jackson-2-9-features-b2a19029e9ff>`__.
1093 * `2.9 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9>`__.
1094 * `2.9.1 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.1>`__.
1095 * `2.9.2 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.2>`__.
1096 * `2.9.3 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.3>`__.
1097 * `2.9.4 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.4>`__.
1098 * `2.9.5 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.5>`__.
1099 * `2.9.6 <https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.6>`__.
1101 * JaCoCo `0.8.1 → 0.8.2 <https://github.com/jacoco/jacoco/releases/tag/v0.8.2>`__.
1103 * Javassist 3.22.0 → 3.23.1. This provides compatibility with Java 9 and later,
1104 and `fixes a file handle leak <https://github.com/jboss-javassist/javassist/issues/165>`__.
1106 * Jettison 1.3.8 → 1.4.0.
1108 * Jetty 9.3.21 → 9.4.11 (synchronised with Karaf):
1110 * `9.4.0 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00097.html>`__.
1111 * `9.4.1 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00100.html>`__.
1112 * `9.4.2 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00101.html>`__.
1113 * `9.4.3 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00102.html>`__.
1114 * `9.4.4 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00105.html>`__.
1115 * `9.4.5 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00107.html>`__.
1116 * `9.4.6 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00109.html>`__.
1117 * `9.4.7 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00111.html>`__.
1118 * `9.4.8 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00114.html>`__.
1119 * `9.4.9 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00117.html>`__.
1120 * `9.4.10 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00119.html>`__.
1121 * `9.4.11 <https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00122.html>`__.
1123 * Jolokia OSGi `1.5.0 → 1.6.0 <https://jolokia.org/changes-report.html#a1.6.0>`__.
1125 * Karaf 4.1.5 → 4.2.1:
1127 * `4.1.6 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12342748>`__.
1128 * `4.2.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12342945>`__.
1130 * LMAX Disruptor 3.3.10 → 3.4.1:
1132 * `3.4.0 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.0>`__.
1133 * `3.4.1 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.1>`__.
1135 * META-INF services 1.7 → 1.8.
1137 * Mockito 1.10.19 → 2.20.1; see
1138 `What’s new in Mockito 2 <https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2>`__
1139 for upgrade instructions and
1140 `the list of issues you might run into <https://asolntsev.github.io/en/2016/10/11/mockito-2.1/>`__.
1142 * Netty 4.1.22 → 4.1.28:
1144 * `4.1.17 <http://netty.io/news/2017/11/08/4-0-53-Final-4-1-17-Final.html>`__.
1145 * `4.1.18 <http://netty.io/news/2017/12/11/4-0-54-Final-4-1-18-Final.html>`__.
1146 * `4.1.19 <http://netty.io/news/2017/12/18/4-1-19-Final.html>`__.
1147 * `4.1.20 <http://netty.io/news/2018/01/22/4-0-55-Final-4-1-20-Final.html>`__.
1148 * `4.1.21 <http://netty.io/news/2018/02/05/4-0-56-Final-4-1-21-Final.html>`__.
1149 * `4.1.22 <http://netty.io/news/2018/02/21/4-1-22-Final.html>`__.
1150 * `4.1.23 <http://netty.io/news/2018/04/04/4-1-23-Final.html>`__.
1151 * `4.1.24 <http://netty.io/news/2018/04/19/4-1-24-Final.html>`__.
1152 * `4.1.25 <http://netty.io/news/2018/05/14/4-1-25-Final.html>`__.
1153 * `4.1.26 <http://netty.io/news/2018/07/10/4-1-26-Final.html>`__.
1154 * `4.1.27 <http://netty.io/news/2018/07/11/4-1-27-Final.html>`__.
1155 * `4.1.28 <http://netty.io/news/2018/07/27/4-1-28-Final.html>`__.
1157 * Pax Exam 4.11.0 → 4.12.0.
1159 * Pax URL 2.5.3 → 2.5.4, which only fixes
1160 `a potential NullPointerException <https://ops4j1.jira.com/browse/PAXURL-346>`__.
1162 * PowerMock 1.6.4 → 1.7.4:
1164 * `1.6.5 <https://github.com/powermock/powermock/releases/tag/powermock-1.6.5>`__.
1165 * `1.6.6 <https://github.com/powermock/powermock/releases/tag/powermock-1.6.6>`__.
1166 * `1.7.0 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.0>`__.
1167 * `1.7.1 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.1>`__.
1168 * `1.7.2 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.2>`__.
1169 * `1.7.3 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.3>`__.
1170 * `1.7.4 <https://github.com/powermock/powermock/releases/tag/powermock-1.7.4>`__.
1172 * Scala parser combinators 1.0.7 → 1.1.1:
1174 * `1.1.0 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.1.0>`__.
1175 * `1.1.1 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.1.1>`__.
1177 * SpotBugs `3.1.0 → 3.1.6 <https://github.com/spotbugs/spotbugs/blob/3.1.6/CHANGELOG.md>`__.
1179 * Threeten Extra `1.3.2 → 1.4 <https://github.com/ThreeTen/threeten-extra/releases>`__.
1181 * Typesafe SSL config 0.2.2 → 0.2.4:
1183 * `0.2.3 <https://github.com/lightbend/ssl-config/releases/tag/v0.2.3>`__.
1184 * `0.2.4 <https://github.com/lightbend/ssl-config/releases/tag/v0.2.4>`__.
1187 `2.10 → 3.1.0 <https://lists.apache.org/thread.html/96024c54db7680697cb066e22a37b0ed5b4498386714a8a9ae1ec9cd@%3Cannounce.maven.apache.org%3E>`__.
1189 * XMLUnit `1.6 → 2.6.2 <https://github.com/xmlunit/xmlunit/blob/master/RELEASE_NOTES.md>`__.
1191 Upstream version additions
1192 ~~~~~~~~~~~~~~~~~~~~~~~~~~
1194 The following upstream dependencies have been added to dependency management:
1196 * Apache SSHD 2.0.0, with EdDSA and Netty support (EdDSA is provided by ``net.i2p.crypto:eddsa``).
1198 * Blueprint annotations (``org.apache.aries.blueprint:blueprint-maven-plugin-annotation``).
1202 * Pax Web 7.2.3 (synchronised with Karaf).
1204 Upstream version removals
1205 ~~~~~~~~~~~~~~~~~~~~~~~~~
1207 The following upstream dependencies have been removed from dependency management:
1211 * Our repackaging of Jersey Servlet.
1213 * JUnit’s ``junit-dep``, which has long been obsolete.
1215 * LevelDB (which is still available as features).
1217 * Pax CDI API — Blueprint annotations should be used instead.
1219 Plugin version upgrades
1220 ~~~~~~~~~~~~~~~~~~~~~~~
1222 The following plugins have been upgraded:
1224 * Blueprint 1.4.0 → 1.10.0.
1226 * Build helper 1.12 → 3.0.0.
1228 * Bundle plugin 3.5.0 → 4.0.0.
1231 `2.17 → 3.0.0 <https://mail-archives.apache.org/mod_mbox/maven-announce/201801.mbox/%3Cop.zchs68akkdkhrr%40desktop-2khsk44.mshome.net%3E>`__.
1234 `1.2.1 → 1.3.0 <https://github.com/basepom/duplicate-finder-maven-plugin/blob/master/CHANGES.md>`__.
1236 * Git commit id `2.2.4 → 2.2.5 <https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.5>`__.
1238 * Jacoco Maven plugin `0.8.1 → 0.8.2 <https://github.com/jacoco/jacoco/releases/tag/v0.8.2>`__.
1240 * Javadoc `3.0.0 → 3.0.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317529&version=12342283>`__.
1244 * `3.10.0 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12342689&styleName=Text&projectId=12317621>`__.
1246 * Sevntu `1.29.0 → 1.32.0 <http://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.32.0>`__.
1248 * SpotBugs 3.1.0-RC6 → 3.1.6 (see the SpotBugs changes above).
1253 This version fixes the following issues:
1255 * `ODLPARENT-156 <https://jira.opendaylight.org/browse/ODLPARENT-156>`_:
1256 ``xtend-maven-plugin``’s dependencies end up pulling in conflicting
1257 dependencies. ODL Parent now constrains part of its dependency tree to avoid
1260 This version adds ``odl-jackson-2.8`` to ``odlparent-artifacts``.
1265 This version fixes the following issues:
1267 * `INFRAUTILS-41 <https://jira.opendaylight.org/browse/INFRAUTILS-41>`_:
1268 ``jre.properties`` includes ``com.sun.management`` so that it can be
1269 enabled if necessary. (This doesn’t add a dependency on
1270 ``com.sun.management``, it allows bundles to use it if it is present.)
1272 * `ODLPARENT-136 <https://jira.opendaylight.org/browse/ODLPARENT-136>`_:
1273 ``SingleFeatureTest`` pulls in ``org.osgi.compendium``.
1275 * `ODLPARENT-144 <https://jira.opendaylight.org/browse/ODLPARENT-144>`_:
1276 ``org.apache.karaf.scr.management`` is whitelisted so that it no longer
1277 affects ``SingleFeatureTest``.
1279 * `ODLPARENT-146 <https://jira.opendaylight.org/browse/ODLPARENT-146>`_:
1280 null-related FindBugs checks which produce false-positives with Guava 23.6
1281 and later are disabled, so that this really is fully backwards-compatible
1284 * `ODLPARENT-148 <https://jira.opendaylight.org/browse/ODLPARENT-148>`_:
1285 ``SingleFeatureTest`` preserves ``target/SFT/karaf.log``.
1287 This version includes the following improvements:
1289 * ``custom.properties`` no longer includes OVSDB-specific configuration.
1291 * The ``odl-jersey-1`` feature includes the Jersey client.
1293 * Redundant bundle dependency declarations in ``SingleFeatureTest`` have been
1294 removed (these are declarations which are also present in our base Karaf
1297 * Build errors involving invalid feature or bundle URLs now indicate which
1298 feature is at fault.
1300 * Obsolete Log4J overrides have been removed from ``SingleFeatureTest``.
1302 When building using JDK 9 or 10, the default settings have been changed as
1303 follows to avoid errors or extraneous warnings:
1305 * SFT is disabled (it needs Karaf 4.2 or later);
1307 * Javadocs are generated as HTML 4;
1309 * SpotBugs is disabled on JDK 10 or later;
1311 * FindBugs is disabled on JDK 9 or later.
1313 The following third-party dependencies have been upgraded:
1315 * `EclipseLink Moxy JAXB 2.6.2 → 2.7.1 <https://www.eclipse.org/eclipselink/releases/2.7.php>`_.
1317 * `Google Truth 0.36 → 0.40 <https://github.com/google/truth/releases>`_.
1319 * `Gson 2.8.2 → 2.8.5 <https://github.com/google/gson/blob/master/CHANGELOG.md>`_.
1321 * `Guava 23.6 → 23.6.1 <https://github.com/google/guava/compare/v23.6...v23.6.1>`_.
1322 This addresses CVE-2018-10237 (that’s the only change in this release).
1324 * `Jacoco Maven plugin 0.8.0 → 0.8.1 <https://github.com/jacoco/jacoco/releases/tag/v0.8.1>`_.
1326 * JDT annotations 2.1.0 → 2.1.150.
1328 * `Scala 2.12.5 → 2.12.6 <https://github.com/scala/scala/releases/tag/v2.12.6>`_.
1330 * `Scala Parser Combinators 1.0.6 → 1.0.7 <https://github.com/scala/scala-parser-combinators/releases/tag/v1.0.7>`_.
1332 * `Sevntu 1.24.2 → 1.29.0 <https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.29.0>`_.
1334 * `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>`_.
1336 The following Maven plugin has been upgraded:
1338 * `Javadoc 3.0.0 → 3.0.1 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317529&version=12342283>`_.
1343 This version fixes the following issues:
1345 * `ODLPARENT-137 <https://jira.opendaylight.org/browse/ODLPARENT-137>`_:
1346 restore the OpenDaylight prompt.
1348 * `ODLPARENT-146 <https://jira.opendaylight.org/browse/ODLPARENT-146>`_:
1349 Guava 23.6 switched from @Nullable to @NullableDecl, which causes false
1350 positives in FindBugs’ ``NP_NONNULL_PARAM_VIOLATION`` rule; we’re
1351 disabling the rule for now.
1356 This version fixes the following issues:
1358 * Mycila dependencies are now “compile” scoped rather than “test”; this allows
1359 child projects to use Guice with Mycila more easily.
1361 * The duplicate finder now ignores ``web.xml`` and BluePrint XML files.
1363 This version includes the following improvements:
1365 * The ``-Pq`` profile skips Maven Modernizer, in preparation for its future
1366 integration (and its use in child projects).
1368 * An OWASP profile, ``-Powasp`` is available for vulnerability checking.
1370 * A new ``odl-jackson-2.8`` feature provides Jackson 2.8 to child projects.
1372 The following third-party dependencies have been added to dependency management:
1374 * `ThreeTen-Extra <http://www.threeten.org/threeten-extra/>`_
1376 The following third-party dependencies have been upgraded:
1378 * Aeron 1.2.5 → 1.7.0; release notes:
1380 * `1.3.0 <https://github.com/real-logic/aeron/releases/tag/1.3.0>`_
1381 * `1.4.0 <https://github.com/real-logic/aeron/releases/tag/1.4.0>`_
1382 * `1.5.0 <https://github.com/real-logic/aeron/releases/tag/1.5.0>`_
1383 * `1.5.1 <https://github.com/real-logic/aeron/releases/tag/1.5.1>`_
1384 * `1.5.2 <https://github.com/real-logic/aeron/releases/tag/1.5.2>`_
1385 * `1.6.0 <https://github.com/real-logic/aeron/releases/tag/1.6.0>`_
1386 * `1.7.0 <https://github.com/real-logic/aeron/releases/tag/1.7.0>`_
1388 * Agrona 0.9.5 → 0.9.12; release notes:
1390 * `0.9.6 <https://github.com/real-logic/Agrona/releases/tag/0.9.6>`_
1391 * `0.9.7 <https://github.com/real-logic/Agrona/releases/tag/0.9.7>`_
1392 * `0.9.8 <https://github.com/real-logic/Agrona/releases/tag/0.9.8>`_
1393 * `0.9.9 <https://github.com/real-logic/Agrona/releases/tag/0.9.9>`_
1394 * `0.9.10 <https://github.com/real-logic/Agrona/releases/tag/0.9.10>`_
1395 * `0.9.11 <https://github.com/real-logic/Agrona/releases/tag/0.9.11>`_
1396 * `0.9.12 <https://github.com/real-logic/Agrona/releases/tag/0.9.12>`_
1398 * Akka 2.5.5 → 2.5.11; release notes:
1400 * `2.5.6 <https://akka.io/blog/news/2017/09/28/akka-2.5.6-released>`_
1401 * `2.5.7 <https://akka.io/blog/news/2017/11/17/akka-2.5.7-released>`_
1402 * `2.5.8 <https://akka.io/blog/news/2017/12/08/akka-2.5.8-released>`_
1403 * `2.5.9 <https://akka.io/blog/news/2018/01/11/akka-2.5.9-released-2.4.x-end-of-life>`_
1404 * `2.5.10 <https://akka.io/blog/news/2018/02/23/akka-2.5.10-released>`_
1405 * `2.5.11 <https://akka.io/blog/news/2018/02/28/akka-2.5.11-released>`_
1407 * Commons Lang 3 `3.6 → 3.7 <http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt>`_
1409 * Guava 23.3 → 23.6; release notes:
1411 * `23.4 <https://github.com/google/guava/releases/tag/v23.4>`_
1412 * `23.5 <https://github.com/google/guava/releases/tag/v23.5>`_
1413 * `23.6 <https://github.com/google/guava/releases/tag/v23.6>`_
1415 * H2 database `1.4.193 → 1.4.196 <http://www.h2database.com/html/changelog.html>`_
1417 * Jacoco `0.7.9 → 0.8.0 <https://github.com/jacoco/jacoco/releases/tag/v0.8.0>`_
1419 * Javassist `3.21.0 → 3.22.0 <https://github.com/jboss-javassist/javassist/compare/rel_3_21_0_ga...rel_3_22_0_ga>`_
1421 * lmax-disruptor 3.3.7 → 3.3.10; release notes:
1423 * `3.3.8 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.8>`_
1424 * `3.3.9 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.9>`_
1425 * `3.3.10 <https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.10>`_
1427 * Netty 4.1.16 → 4.1.22; release notes:
1429 * `4.1.17 <http://netty.io/news/2017/11/08/4-0-53-Final-4-1-17-Final.html>`_
1430 * `4.1.18 <http://netty.io/news/2017/12/11/4-0-54-Final-4-1-18-Final.html>`_
1431 * `4.1.19 <http://netty.io/news/2017/12/18/4-1-19-Final.html>`_
1432 * `4.1.20 <http://netty.io/news/2018/01/22/4-0-55-Final-4-1-20-Final.html>`_
1433 * `4.1.21 <http://netty.io/news/2018/02/05/4-0-56-Final-4-1-21-Final.html>`_
1434 * `4.1.22 <http://netty.io/news/2018/02/21/4-1-22-Final.html>`_
1436 * Scala `2.12.4 → 2.12.5 <http://www.scala-lang.org/news/2.12.5>`_
1438 * Typesafe Config `0.2.1 → 0.2.2 <https://github.com/typesafehub/config/blob/master/NEWS.md>`_
1440 The following Maven plugins have been upgraded:
1442 * FindBugs 3.0.4 → 3.0.5
1444 * Git commit id 2.2.2 → 2.2.4; release notes:
1446 * `2.2.3 <https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.3>`_
1447 * `2.2.4 <https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.4>`_
1452 This version fixes the following issues:
1454 * `ODLPARENT-136`_: ``features-test`` needs ``org.osgi.compendium``.
1456 * Jackson dependencies are declared using ``jackson-bom`` to ensure all they
1459 * ``find-duplicate-classpath-entries`` is run in the “verify” phase rather than
1460 the “validate” phase, which is too early.
1462 * The version of Jetty we pull in is now aligned with that declared in Karaf,
1463 resolving a number of restart and dependency issues.
1465 * Pulling in the ``wrap`` feature unconditionally is no longer necessary, so
1466 ``karaf4-parent`` no longer does so.
1468 * ``metainf-services`` are declared with scope “provided” to avoid their being
1469 included in downstream features (it’s a build-time dependency only).
1471 * ``leveldb-api`` is excluded from ``odl-akka-leveldb-0.7``, and ``jsr250-api``
1472 from ``enunciate-core-annotations``, to avoid duplicate having classes on the
1475 * Since the ``ssh`` feature is excluded from generated features, our Karaf
1476 need to enable it at boot in all cases.
1478 * ``bundle-test-lib`` is now a bundle.
1480 * Since we use static SLF4J loggers, the ``SLF4J_LOGGER_SHOULD_BE_NON_STATIC``
1481 rule needs to be disabled in our FindBugs configuration (this allows
1482 downstream projects to enable ``findbugs-slf4j`` without having to deal with
1483 all the resulting false-positives).
1485 * ``org.apache.karaf.scr.management`` is white-listed in SFT to avoid failures
1486 apparently related to that component (which we don’t care about).
1488 .. _ODLPARENT-136: https://jira.opendaylight.org/browse/ODLPARENT-136
1490 This version upgrades the following third-party dependencies:
1492 * `Antlr 4.7 → 4.7.1`_
1494 * `BouncyCastle 1.58 → 1.59`_
1496 * Jersey 1.17 → 1.19.4 (additionally available as the ``odl-jersey-1`` feature)
1498 * Jolokia 1.3.7 → 1.5.0
1500 * Karaf 4.1.3 → 4.1.5; release notes:
1505 .. _Antlr 4.7 → 4.7.1: https://github.com/antlr/antlr4/releases/tag/4.7.1
1506 .. _BouncyCastle 1.58 → 1.59: https://www.bouncycastle.org/releasenotes.html
1507 .. _Karaf 4.1.4: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12341702
1508 .. _Karaf 4.1.5: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12342294
1513 This version fixes the following issues:
1515 * SingleFeatureTest uses the configured local Maven repository for Pax Exam.
1517 * JavaDoc links are disabled for now to `speed up builds`_. A new
1518 ``javadoc-links`` profile enables the links.
1520 * Conditional feature dependencies are processed, ensuring our
1521 `distribution is complete`_.
1523 * Startup features are `adjusted for Karaf 4.1`_, avoiding unnecessary
1526 * The ``hiddenField`` Checkstyle check is disabled for abstract methods.
1528 * The default logging configuration uses Log4J2, which is the new default in
1531 .. _speed up builds: https://jira.opendaylight.org/browse/ODLPARENT-121
1532 .. _distribution is complete: https://jira.opendaylight.org/browse/ODLPARENT-133
1533 .. _adjusted for Karaf 4.1: https://jira.opendaylight.org/browse/ODLPARENT-134
1535 This version upgrades the following dependencies or plugins:
1537 * ``maven-enforcer-plugin`` 1.4.1 → 3.0.0-M1
1539 * ``maven-javadoc-plugin`` 3.0.0-M1 → 3.0.0
1544 This version fixes the following issues:
1546 * Karaf pulls in an invalid Hibernate feature repository, breaking downstream
1547 dependencies pulling in the “war” feature. ``populate-local-repo`` corrects
1548 the repository dependency.
1557 Build now show compiler warnings and deprecation warnings. This doesn't affect
1558 the result or require any changes currently, it just makes the issues more
1561 New Checkstyle rules
1562 ~~~~~~~~~~~~~~~~~~~~
1564 Checkstyle has been upgraded from 7.6 to 8.4 (see the
1565 `Checkstyle release notes`_ for details), and Sevntu from 1.21.0 to 1.24.2
1566 (note that the latter's group identifier changed from
1567 ``com.github.sevntu.checkstyle`` to ``com.github.sevntu-checkstyle``; you
1568 might need to update your IDE's configuration).
1570 The following Checkstyle rules are enabled; this might require changes in
1571 projects which enforce Checkstyle validation:
1573 * `AvoidHidingCauseExceptionCheck`_
1574 * `FinalClass`_: utility classes must be declared ``final``
1575 * `HiddenField`_: fields must not be shadowed
1576 * `HideUtilityClassConstructor`_: utility classes must hide their constructor
1578 .. _Checkstyle release notes: http://checkstyle.sourceforge.net/releasenotes.html
1580 .. _AvoidHidingCauseExceptionCheck: http://sevntu-checkstyle.github.io/sevntu.checkstyle/apidocs/com/github/sevntu/checkstyle/checks/coding/AvoidHidingCauseExceptionCheck.html
1581 .. _FinalClass: http://checkstyle.sourceforge.net/config_design.html#FinalClass
1582 .. _HiddenField: http://checkstyle.sourceforge.net/config_coding.html#HiddenField
1583 .. _HideUtilityClassConstructor: http://checkstyle.sourceforge.net/config_design.html#HideUtilityClassConstructor
1588 Karaf has been upgraded to 4.1.3. This should be transparent for dependent
1594 * When building a Karaf distribution using ``karaf4-parent``, projects can
1595 specify which archives to build: the ``karaf.archiveZip`` property will
1596 enable ZIP files if true, and ``karaf.archiveTarGz`` will enable
1597 gzip-compressed tarballs if true. By default both are enabled.
1599 * Our Karaf distribution provides Bouncy Castle at startup. Auto-generated
1600 feature descriptors take this into account (they won't embed a Bouncy
1606 * The ``odl-triemap-0.2`` feature wrapping
1607 ``com.github.romix:java-concurrent-hash-trie-map`` was rendered obsolete by
1608 YANG Tools' implementation and has been removed.
1613 * ``odl-javassist-3`` provides Javassist in a feature.
1615 * ``odl-jung-2.1`` provides `JUNG`_ in a feature.
1617 .. _JUNG: http://jung.sourceforge.net/
1619 Upstream version upgrades
1620 ~~~~~~~~~~~~~~~~~~~~~~~~~
1622 The following upstream dependencies have been upgraded:
1624 * Akka 2.4.18 → 2.5.4; release notes:
1632 * `Awaitility 2 → 3`_
1634 * `Bouncy Castle 1.57 → 1.58`_
1636 * `Commons Codec 1.10 → 1.11`_
1638 * `Commons File Upload 1.3.2 → 1.3.3`_
1640 * `Commons IO 2.5 → 2.6`_
1642 * Eclipse JDT annotations 2.0.0 → 2.1.0
1644 * Felix Dependency Manager 4.3.0 → 4.4.1
1645 * Felix Dependency Manager Shell 4.0.4 → 4.0.6
1646 * Felix Metatype 1.1.2 → 1.1.6
1648 * `Google Truth 0.28 → 0.36`_ (with the Java 8 extensions)
1650 * `Gson 2.7 → 2.8.2`_
1652 * Guava 22 → 23.3 along with the associated feature name change from
1653 ``odl-guava-22`` to ``odl-guava-23`` (dependent packages *must* change their
1654 dependency); release notes:
1661 * Immutables 2.4.2 → 2.5.6
1663 * Jackson 2.3.2 → 2.8.9
1665 * Jacoco 0.7.7 → 0.7.9; release notes:
1670 * Jacoco Listeners 2.4 → 3.8
1672 * `Javassist 3.20.0 → 3.21.0`_
1674 * `Jettison 1.3.7 → 1.3.8`_
1676 * `Jolokia 1.3.6 → 1.3.7`_
1678 * `JSONassert 1.3.0 → 1.5.0`_
1680 * `logback 1.2.2 → 1.2.3`_
1682 * `LMAX Disruptor 3.3.6 → 3.3.7`_
1684 * Netty 4.1.8 → 4.1.16; release notes:
1695 * `Pax URL 2.5.2 → 2.5.3`_
1697 * Scala 2.11.11 → 2.12.4; release notes:
1705 * Servlet API 3.0.1 → 3.1.0
1707 * `SLF4J 1.7.21 → 1.7.25`_
1709 * `webcohesion enunciate 2.6.0 → 2.10.1`_
1711 * `Xtend 2.12 → 2.13`_
1713 .. _Akka 2.5.0: http://akka.io/blog/news/2017/04/13/akka-2.5.0-released
1714 .. _Akka 2.5.1: http://akka.io/blog/news/2017/05/02/akka-2.5.1-released
1715 .. _Akka 2.5.2: http://akka.io/blog/news/2017/05/24/akka-2.5.2-released
1716 .. _Akka 2.5.3: http://akka.io/blog/news/2017/06/19/akka-2.5.3-released
1717 .. _Akka 2.5.4: http://akka.io/blog/news/2017/08/10/akka-2.5.4-released
1719 .. _Awaitility 2 → 3: https://github.com/awaitility/awaitility/wiki/ReleaseNotes30
1721 .. _Bouncy Castle 1.57 → 1.58: https://www.bouncycastle.org/releasenotes.html
1723 .. _Commons Codec 1.10 → 1.11: http://www.apache.org/dist/commons/codec/RELEASE-NOTES.txt
1725 .. _Commons File Upload 1.3.2 → 1.3.3: http://www.apache.org/dist/commons/fileupload/RELEASE-NOTES.txt
1727 .. _Commons IO 2.5 → 2.6: http://www.apache.org/dist/commons/io/RELEASE-NOTES.txt
1729 .. _Google Truth 0.28 → 0.36: https://github.com/google/truth/releases
1731 .. _Gson 2.7 → 2.8.2: https://github.com/google/gson/blob/master/CHANGELOG.md
1733 .. _Guava 23: https://github.com/google/guava/wiki/Release23
1734 .. _Guava 23.1: https://github.com/google/guava/releases/tag/v23.1
1735 .. _Guava 23.2: https://github.com/google/guava/releases/tag/v23.2
1736 .. _Guava 23.3: https://github.com/google/guava/releases/tag/v23.3
1738 .. _Jacoco 0.7.8: https://github.com/jacoco/jacoco/releases/tag/v0.7.8
1739 .. _Jacoco 0.7.9: https://github.com/jacoco/jacoco/releases/tag/v0.7.9
1741 .. _Javassist 3.20.0 → 3.21.0: https://github.com/jboss-javassist/javassist/compare/rel_3_20_0_ga...rel_3_21_0_ga
1743 .. _Jettison 1.3.7 → 1.3.8: https://github.com/jettison-json/jettison/compare/jettison-1.3.7...jettison-1.3.8
1745 .. _Jolokia 1.3.6 → 1.3.7: https://github.com/rhuss/jolokia/releases/tag/v1.3.7
1747 .. _JSONassert 1.3.0 → 1.5.0: https://github.com/skyscreamer/JSONassert/releases
1749 .. _logback 1.2.2 → 1.2.3: https://logback.qos.ch/news.html
1751 .. _LMAX Disruptor 3.3.6 → 3.3.7: https://github.com/LMAX-Exchange/disruptor/releases/tag/3.3.7
1753 .. _Netty 4.1.9: http://netty.io/news/2017/03/10/4-0-45-Final-4-1-9-Final.html
1754 .. _Netty 4.1.10: http://netty.io/news/2017/04/30/4-0-46-Final-4-1-10-Final.html
1755 .. _Netty 4.1.11: http://netty.io/news/2017/05/12/4-0-47-Final-4-1-11-Final.html
1756 .. _Netty 4.1.12: http://netty.io/news/2017/06/09/4-0-48-Final-4-1-12-Final.html
1757 .. _Netty 4.1.13: http://netty.io/news/2017/07/06/4-0-49-Final-4-1-13-Final.html
1758 .. _Netty 4.1.14: http://netty.io/news/2017/08/03/4-0-50-Final-4-1-14-Final.html
1759 .. _Netty 4.1.15: http://netty.io/news/2017/08/25/4-0-51-Final-4-1-15-Final.html
1760 .. _Netty 4.1.16: http://netty.io/news/2017/09/25/4-0-52-Final-4-1-16-Final.html
1762 .. _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
1764 .. _Scala 2.12.0: https://github.com/scala/scala/releases/tag/v2.12.0
1765 .. _Scala 2.12.1: https://github.com/scala/scala/releases/tag/v2.12.1
1766 .. _Scala 2.12.2: https://github.com/scala/scala/releases/tag/v2.12.2
1767 .. _Scala 2.12.3: https://github.com/scala/scala/releases/tag/v2.12.3
1768 .. _Scala 2.12.4: https://github.com/scala/scala/releases/tag/v2.12.4
1770 .. _SLF4J 1.7.21 → 1.7.25: https://www.slf4j.org/news.html
1772 .. _webcohesion enunciate 2.6.0 → 2.10.1: https://github.com/stoicflame/enunciate/releases
1774 .. _Xtend 2.12 → 2.13: https://www.eclipse.org/xtend/releasenotes.html
1776 Upstream version additions
1777 ~~~~~~~~~~~~~~~~~~~~~~~~~~
1779 The following upstream dependencies have been added to dependency management:
1781 * Commons Text, ``org.apache.commons:commons-text`` (this will allow downstreams
1782 to migrate from ``commons-lang3``\’s ``WordUtils``, which is deprecated)
1784 Upstream version removals
1785 ~~~~~~~~~~~~~~~~~~~~~~~~~
1787 The following upstream dependencies have been removed from dependency
1788 management (they are obsolete and unused):
1792 * Equinox HTTP service bridge
1793 * ``equinoxSDK381`` artifacts
1794 * Coda Hale Metrics, which are mostly unused and should eventually be wrapped
1796 * ``com.google.code.findbugs:jsr305`` (which *must not* be used; this is
1797 enforced — ``annotations`` should be used instead)
1798 * Felix File Install and Web Console
1801 * ``org.mockito:mockito-all`` (which *must not* be used; this is enforced —
1802 ``mockito-core`` should be used instead)
1808 Plugin version upgrades
1809 ~~~~~~~~~~~~~~~~~~~~~~~
1811 The following plugins have been upgraded:
1813 * ``org.apache.servicemix.tooling:depends-maven-plugin`` 1.3.1 → 1.4.0
1814 * ``org.apache.felix:maven-bundle-plugin`` 2.4.0 → 3.3.0
1815 * ``maven-compiler-plugin`` 3.6.1 → 3.7.0
1816 * ``maven-dependency-plugin`` 3.0.1 → 3.0.2
1817 * ``maven-enforcer-plugin`` 1.4.1 → 3.0.0-M1
1818 * ``maven-failsafe-plugin`` 2.18.1 → 2.20.1
1819 * ``maven-javadoc-plugin`` 2.10.4 → 3.0.0-M1
1820 * ``maven-shade-plugin`` 2.4.3 → 3.1.0
1825 * The `Maven Find Duplicates`_ plugin can be enabled by setting the
1826 ``duplicate-finder.skip`` property to ``false``.
1828 * The SpotBugs_ Maven plugin can now be used instead of the FindBugs plugin
1829 (both are available, so no change is required). To use SpotBugs, replace
1830 ``org.codehaus.mojo:findbugs-maven-plugin`` with
1831 ``com.github.spotbugs:spotbugs-maven-plugin``.
1833 .. _Maven Find Duplicates: https://github.com/basepom/duplicate-finder-maven-plugin/
1835 .. _SpotBugs: https://spotbugs.github.io/