ODL Parent release notes¶
Version 13.1.4¶
This is a bug-fix upgrade from version 13.1.3.
Third-party dependencies¶
Antlr 4.13.1 → 4.13.2
AssertJ 3.26.0 → 3.26.3
awaitility 4.2.1 → 4.2.2
checker-qual 3.43.0 → 3.46.0
Dropwizard Metrics 4.2.25 → 4.2.26
GSON 2.10.1 → 2.11.0
Hamcrest 2.2 → 3.0
Jersey 2.43 → 2.44
Netty 4.1.109 → 4.1.112, release notes: * 4.1.110 * 4.1.111 * 4.1.112
SpotBugs 4.8.5 → 4.8.6
TrieMap 1.3.1 → 1.3.2
Plugin upgrades¶
cyclonedx-maven-plugin 2.8.0 → 2.8.1
exec-maven-plugin 3.3.0 → 3.4.1, release notes: * 3.4.0 * 3.4.1
git-commit-id-maven-plugin 8.0.0 → 9.0.1, release notes: * 9.0.0 * 9.0.1
maven-checkstyle-plugin 3.3.1 → 3.5.0, release notes: * 3.4.0 * 3.5.0
maven-clean-plugin 3.3.2 → 3.4.0
maven-dependency-plugin 3.6.1 → 3.8.0, release notes: * 3.7.0 * 3.7.1 * 3.8.0
maven-deploy-plugin 3.1.2 → 3.1.3
maven-help-plugin 3.4.1 → 3.5.0
maven-enforcer-plugin 3.4.1 → 3.5.0
maven-help-plugin 3.4.0 → 3.5.0, release notes: * 3.4.1 * 3.5.0
maven-install-plugin 3.1.2 → 3.1.3
maven-invoker-plugin 3.7.0 → 3.8.0
maven-jar-plugin 3.4.1 → 3.4.2
maven-javadoc-plugin 3.6.3 → 3.8.0, release notes: * 3.7.0 * 3.8.0
maven-plugin-plugin 3.13.0 → 3.13.1
maven-project-info-reports-plugin 3.5.0 → 3.7.0, release notes: * 3.6.0 * 3.6.1 * 3.6.2 * 3.7.0
maven-release-plugin 3.0.1 → 3.1.1, release notes: * 3.1.0 * 3.1.1
maven-shade-plugin 3.5.3 → 3.6.0
maven-site-plugin 3.12.1 → 3.20.0
maven-surefire-plugin 3.2.5 → 3.4.0, release notes: * 3.3.0 * 3.3.1 * 3.4.0
spotbugs-maven-plugin 4.8.6.1 → 4.8.6.2
versions-maven-plugin 2.16.2 → 2.17.1, release notes: * 2.17.0 * 2.17.1
Version 13.1.3¶
This is a bug-fix upgrade from version 13.1.2.
Bug fixes¶
SingleFeatureTest
plugin execution would fail with a missing required class. This has now been fixed. See ODLPARENT-314 for more information.SingleFeatureTest
execution coupled with infrautils’ready service
could cause aNullPointerException
point to a missing version. This has now been fixed. See ODLPARENT-317 for more information.template-feature-parent
performed superfluous replacements in version strings. This has now been fixed. See ODLPARENT-315 for more information.
Third-party dependencies¶
Plugin upgrades¶
builder-helper-maven-plugin 3.5.0 → 3.5.0
exec-maven-plugin 3.2.0 → 3.3.0
maven-invoker-plugin 3.6.1 → 3.7.0
maven-plugin-plugin 3.12.0 → 3.13.0
modernizer-maven-plugin 2.7.0 → 2.9.0, release notes: * 2.8.0 * 2.9.0
spotbugs-maven-plugin 4.8.3.1 → 4.8.5.0, release notes: * 4.8.4.0 * 4.8.5.0
Version 13.1.2¶
This is a bug-fix upgrade from version 13.1.1.
Bug fixes¶
SingleFeatureTest
execution did not account for asynchronous bundle updates. This has now been fixed. See ODLPARENT-312 for more information.
Third-party dependencies¶
checker-qual 3.42.0 → 3.43.0
Checkstyle 10.15.0 → 10.16.0
commons-io 2.16.0 → 2.16.1
commons-text 1.11.0 → 1.12.0
error_prone_annotations 2.26.1 → 2.27.1, release notes: * 2.27.0 * 2.27.1
Jersey 2.42 → 2.43
Netty 4.1.108 → 4.1.109
ThreeTen 1.7.2 → 1.8.0
xmlunit 2.9.1 → 2.10.0
Plugin upgrades¶
maven-deploy-plugin 3.1.1 → 3.1.2
maven-install-plugin 3.1.1 → 3.1.2
maven-jar-plugin 3.4.0 → 3.4.1
maven-shade-plugin 3.5.2 → 3.5.3
Version 13.1.1¶
This is a bug-fix upgrade from version 13.1.0.
Third-party dependencies¶
Version 13.1.0¶
This is a bug-fix/feature upgrade from version 13.0.11.
Potentially breaking change¶
This release unfortunately ended up adopting SLF4J-2 as a transitive dependency. This upgrade is transparent to normal users. Unfortunately backend integrations needs to be updated to use the new logger loading mechanism.
Improvements and new features¶
SingleFeatureTest
is now executed by a dedicated Maven plugin, leading to faster execution times and better multi-threaded behaviour. See ODLPARENT-262 for more information.sporbugs-maven-plugin
now runs withspotbugs.fork=false
. This setting improves build time by removing the need to warm up a JVM for each SpotBugs analysis.Apache Derby is now excluded from PAX JDBC features due to a vulnerability which is not fixed in a suitable release. See ODLPARENT-306 for more information.
Third-party dependencies¶
Checkstyle 10.14.0 → 10.15.0, release notes: * 10.14.1 * 10.14.2 * 10.15.0
commons-io 2.15.1 → 2.16.0
error_prone_annotations 2.25.0 → 2.26.1, release notes: * 2.26.0 * 2.26.1
Jackson 2.15.3 → 2.16.2, release notes: * 2.16 * 2.16.1 * 2.16.2
jdt-annotations 2.2.800 → 2.3.0
Jersey 2.41 → 2.42
Karaf 4.4.5 → 4.4.6
Netty 4.1.107 → 4.1.108
Pax JDBC 1.5.6 → 1.5.7
slf4j 1.7.35 → 2.0.12, release notes: * 2.0.0 * 2.0.1 * 2.0.2 * 2.0.3 * 2.0.4 * 2.0.5 * 2.0.6 * 2.0.7 * 2.0.8 * 2.0.9 * 2.0.10 * 2.0.11 * 2.0.12
log4j 2.17.2 → 2.23.1, release notes: * 2.18.0 * 2.19.0 * 2.20.0 * 2.21.0 * 2.21.1 * 2.22.0 * 2.22.1 * 2.23.0 * 2.23.1
Woodstox 6.6.1 → 6.6.2
Plugin upgrades¶
cyclonedx-maven-plugin 2.7.11 → 2.8.0
git-commit-id-maven-plugin 7.0.0 → 8.0.0, release notes: * 8.0.0 * 8.0.1
Jacoco Maven plugin 0.8.11 → 0.8.12
maven-assembly-plugin 3.6.0 → 3.7.1, release notes: * 3.7.0 * 3.7.1
maven-compiler-plugin 2.12.1 → 2.13.0
maven-deploy-plugin 2.8.2 → 3.1.1, release notes: * 3.0.0-M1 * 3.0.0-M2 * 3.0.0 * 3.1.0 * 3.1.1
maven-install-plugin 2.5.2 → 3.1.1, release notes: * 3.0.0-M1 * 3.0.0 * 3.0.1 * 3.1.0 * 3.1.1
maven-invoker-plugin 3.6.0 → 3.6.1
maven-jar-plugin 3.3.0 → 3.4.0
maven-plugin-plugin 3.10.2 → 3.12.0, release notes: * 3.11.0 * 3.12.0
maven-remote-resources-plugin 3.1.0 → 3.2.0
maven-source-plugin 3.3.0 → 3.3.1
Version 13.0.11¶
This is a bug-fix upgrade from version 13.0.10.
Third-party dependencies¶
Checkstyle 10.12.6 → 10.14.0, release notes: * 10.12.7 * 10.13.0 * 10.14.0
AssertJ 3.24.2 → 3.25.1, release notes: * 3.25.0 * 3.25.1 * 3.25.2 * 3.25.3
Dropwizard Metrics 4.2.23 → 4.2.25, release notes: * 4.2.24 * 4.2.25
immutables.org 2.10.0 → 2.10.1
Jackson 2.15.3 → 2.15.4
JUnit 5.10.1 → 5.10.2
Karaf 4.4.4 → 4.4.5
Logback 1.2.12 → 1.2.13
Mockito 5.8.0 → 5.11.0, release notes: * 5.9.0 * 5.10.0 * 5.11.0
Netty 4.1.104 → 4.1.107, release notes: * 4.1.105 * 4.1.106 * 4.1.107
Plugin upgrades¶
asciidoctor-jdiagram 2.2.14 → 2.2.17
asciidoctor-maven-plugin 2.2.4 → 2.2.6, release notes: * 2.2.5 * 2.2.6
cyclonedx-maven-plugin 2.7.10 → 2.7.11
exec-maven-plugin 3.1.1 → 3.2.0
maven-shade-plugin 3.5.1 → 3.5.2
maven-surefire-plugin 3.2.3 → 3.2.5
spotbugs-maven-plugin 4.8.2.0 → 4.8.3.1, release notes: * 4.8.3.0 * 4.8.3.1
Version 13.0.10¶
This is a bug-fix upgrade from version 13.0.9.
Bug fixes¶
Previous upgrade of
commons-lang3
caused duplicate packaging against. This has been fixed.
Improvements¶
The SpotBugs upgrade to 4.8.2+ is more touching about
CT_CONSTRUCTOR_THROW
. Fixing these is quite verbose and flaky. This release globally disables this check.Single Feature Test is now enabled for all Java versions <= 21.
Third-party dependencies¶
checker-qual 3.41.0 → 3.42.0
Dropwizard Metrics 4.2.22 → 4.2.23
Javassist 3.29.2-GA → 3.30.2-GA, release notes: * 3.30.0-GA * 3.30.1-GA * 3.30.2-GA
jdt-annotations 2.2.700 → 2.2.800
SpotBugs 4.8.2 → 4.8.3
Plugin upgrades¶
asciidoctor-jdiagram 2.2.13 → 2.2.14
maven-compiler-plugin 3.11.0 → 3.12.1, release notes: * 3.12.0 * 3.12.1
maven-surefire-plugin 3.2.2 → 3.2.3
Version 13.0.9¶
This is a bug-fix upgrade from version 13.0.8.
Bug fixes¶
The SpotBugs upgrade to 4.8.2 ends up emitting a lot of
SE_PREVENT_EXT_OBJ_OVERWRITE
violations, which cannot be sanely fixed. This check is now globally disabled.
Third-party dependencies¶
Checkstyle 10.12.5 → 10.12.6
Version 13.0.8¶
This is a bug-fix upgrade from version 13.0.7.
Improvements and new features¶
single-feature-test
now supports injection of test-only feature dependencies. This allows testing features which require externally-provided dependencies to complete their wiring. See ODLPARENT-257 for more information.
Third-party dependencies¶
Bouncy Castle 1.76 → 1.77
checker-qual 3.39.0 → 3.41.0
Checkstyle 10.12.4 → 10.12.5
commons-io 2.15.0 → 2.15.1
commons-lang3 3.13.0 → 3.14.0
Dropwizard Metrics 4.2.20 → 4.2.22, release notes: * 4.2.21 * 4.2.22
JUnit 5.10.0 → 5.10.1
Netty 4.1.100 → 4.1.101
SpotBugs 4.7.3 → 4.8.2, release notes: * 4.8.0 * 4.8.1 * 4.8.2
Plugin upgrades¶
builder-helper-maven-plugin 3.4.0 → 3.5.0
cyclonedx-maven-plugin 2.7.9 → 2.7.10
exec-maven-plugin 3.1.0 → 3.1.1
maven-javadoc-plugin 3.6.0 → 3.6.3, release notes: * 3.6.2 * 3.6.3
maven-plugin-plugin 3.8.2 → 3.10.1, release notes: * 3.9.0 * 3.10.1 * 3.10.2
maven-project-info-reports-plugin 3.4.5 → 3.5.0
maven-surefire-plugin 3.2.1 → 3.2.2
spotbugs-maven-plugin 4.7.3.6 → 4.8.2.0, release notes: * 4.8.1.0 * 4.8.2.0
versions-maven-plugin 2.16.1 → 2.16.2
Version 13.0.7¶
This is a bug-fix upgrade from version 13.0.6.
Bug fixes¶
The Dropwizard Metrics upgrade to 4.2.21 ends up making metics-graphite
failing to load
in Karaf. This has been rectified by reverting back to 4.2.20.
Third-party dependencies¶
commons-io 2.13.0 → 2.15.0, release notes: * 2.14.0 * 2.15.0
commons-text 1.10.0 → 1.11.0
Plugin upgrades¶
git-commit-id-maven-plugin 6.0.0 → 7.0.0
maven-checkstyle-plugin 3.3.0 → 3.3.1
maven-clean-plugin 3.3.1 → 3.3.2
maven-dependency-plugin 3.6.0 → 3.6.1
maven-surefire-plugin 3.1.2 → 3.2.1
properties-maven-plugin 1.2.0 → 1.2.1
Version 13.0.6¶
This is a bug-fix upgrade from version 13.0.5.
Third-party dependencies¶
checker-qual 3.38.0 → 3.39.0
Checkstyle 10.12.3 → 10.12.4
Dropwizard Metrics 4.2.20 → 4.2.21
Guava 32.1.2 → 32.1.3
immutables.org 2.9.3 → 2.10.0
Jackson 2.15.2 → 2.15.3
Jersey 2.40 → 2.41
Log4J 2.17.1 → 2.17.2
Logback 1.2.11 → 1.2.12
Mockito 5.5.0 → 5.6.0
Netty 4.1.99 → 4.1.100
stax2-api 4.2.1 → 4.2.2
Plugin upgrades¶
bnd-maven-plugin 6.4.0 → 7.0.0
Jacoco Maven plugin 0.8.10 → 0.8.11
Version 13.0.5¶
This is a bug-fix upgrade from version 13.0.4.
Third-party dependencies¶
Antlr 4.13.0 → 4.13.1
checker-qual 3.37.0 → 3.38.0
Dropwizard Metrics 4.2.19 → 4.2.20
Jetty 9.4.50.v20221201 → 9.4.52.v20230823, release notes: * 9.4.51.v20230217 * 9.4.52.v20230823
Karaf 4.4.3 → 4.4.4
Plugin upgrades¶
asciidoctor-jdiagram 2.2.11 → 2.2.13
maven-enforcer-plugin 3.4.0 → 3.4.1
maven-javadoc-plugin 3.5.0 → 3.6.0
maven-share-plugin 3.5.0 → 3.5.1
modernizer-maven-plugin 2.6.0 → 2.7.0
spotbugs-maven-plugin 4.7.3.5 → 4.7.3.6
versions-maven-plugin 2.16.0 → 2.16.1
Version 13.0.4¶
This is a bug-fix upgrade from version 13.0.3.
Third-party dependencies¶
Bouncy Castle 1.75 → 1.76
checker-qual 3.35.0 → 3.37.0
commons-lang3 3.12.0 → 3.13.0
Checkstyle 10.12.0 → 10.12.3, release notes: * 10.12.1 * 10.12.2 * 10.12.3
Guava 32.0.1 → 32.1.2, release notes: * 32.1.0 * 32.1.1 * 32.1.2
JUnit 5.9.3 → 5.10.0
Mockito 5.4.0 → 5.5.0
Netty 4.1.94 → 4.1.97, release notes: * 4.1.95 * 4.1.96 * 4.1.97
Plugin upgrades¶
asciidoctor-jdiagram 2.2.9 → 2.2.11, release notes: * 2.2.10 * 2.2.11
depends-maven-plugin 1.4.0 → 1.5.0
maven-enforcer-plugin 3.3.0 → 3.4.0
maven-remote-resources-plugin 3.0.0 → 3.1.0
metainf-services 1.9 → 1.11
properties-maven-plugin 1.1.0 → 1.2.0
Version 13.0.3¶
This is a bug-fix upgrade from version 13.0.2.
Bug fixes¶
The upgrade of
javax.inject
to1.2.2.1
is a silent switch to Jakarta EE and has been rolled back to version1.0.20.2
.
Version 13.0.2¶
This is a bug-fix upgrade from version 13.0.1.
Third-party dependencies¶
Antlr 4.12.0 → 4.13.0
checker-qual 3.34.0 → 3.35.0
commons-io 2.12.0 → 2.13.0,
Dropwizard Metrics 4.2.18 → 4.2.19
Guava 32.0.0 → 32.0.1
Jackson 2.15.1 → 2.15.2
Jersey 2.39.1 → 2.40
javax.inject 1.0.20.0 → 1.2.2.1
Mockito 5.3.1 → 5.4.0
Netty 4.1.93 → 4.1.94
Plugin upgrades¶
asciidoctor-jdiagram 2.2.8 → 2.2.9
duplicate-finder-maven-plugin 1.5.1 → 2.0.1, release notes: * 2.0.0 * 2.0.1
echo-maven-plugin 2.0.1 → 2.1.0
maven-clean-plugin 3.2.0 → 3.3.1
maven-invoker-plugin 3.5.1 → 3.6.0
maven-project-info-reports-plugin 3.4.3 → 3.4.5, release notes: * 3.4.4 * 3.4.5
maven-release-plugin 2.5.3 → 3.0.1, release notes: * 3.0.0-M1 * 3.0.0-M4 * 3.0.0-M5 * 3.0.0-M6 * 3.0.0-M7 * 3.0.0 * 3.0.1
maven-shade-plugin 3.4.1 → 3.5.0
maven-surefire-plugin 3.1.0 → 3.1.2
spotbugs-maven-plugin 4.7.3.4 → 4.7.3.5
versions-maven-plugin 2.15.0 → 2.16.0
Version 13.0.1¶
This is a bug-fix upgrade from version 13.0.0.
Bug fixes¶
Generated features included
org.eclipse.jdt.annotation
andvalue
annotation JARs. This has been corrected by excluding from generation See ODLPARENT-302 for details.
Version 13.0.0¶
This is a major upgrade from version 12, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Bug fixes¶
Declaration of annotation artifacts for
spotbugs-annotations
,org.eclipse.jdt.annotation
andmodernizer-maven-annotations
are no longer by default as<scope>provided</scope>
. This means that users of these annotations need to explicitly depend on them. Note thatspotbugs-annotations
are not provided at runtime and therefore should be used with<optional>true</optional>
. See ODLPARENT-300 for details.Default configuration now includes test-scoped dependency to
jassert-core
. Users are encouraged to migrate assertions from Hamcrest to AssertJ. See ODLPARENT-295 for details.
Upstream version removals¶
The following upstream dependencies have been removed from dependency/plugin management:
Declaration of
commons-lang
has been removed. This dependency is not used by any active downstream andcommons-lang3
already provides better or equivalent replacements.
Third-party dependencies¶
Checkstyle 10.11.0 → 10.12.0
Guava 31.1 → 32.0.0
Plugin upgrades¶
asciidoctor-maven-plugin 2.2.3 → 2.2.4
maven-bundle-plugin 5.1.8 → 5.1.9
Version 12.0.6¶
This is a bug-fix upgrade from version 12.0.5.
Third-party dependencies¶
asciidoctor-jdiagram 2.2.4 → 2.2.8
checker-qual 3.33.0 → 3.34.0
Checkstyle 10.9.3 → 10.11.0, release notes: * 10.10.0 * 10.11.0
commons-io 2.11.0 → 2.12.0,
Jackson 2.14.2 → 2.14.3
JUnit 5.9.2 → 5.9.3
Mockito 5.3.0 → 5.3.1
TrieMap 1.3.0 → 1.3.1
Plugin upgrades¶
asciidoctor-maven-plugin 2.2.2 → 2.2.3
builder-helper-maven-plugin 3.3.0 → 3.4.0
cyclonedx-maven-plugin 2.7.5 → 2.7.9, release notes: * 2.7.6 * 2.7.7 * 2.7.8 * 2.7.9
git-commit-id-maven-plugin 5.0.0 → 6.0.0
Jacoco Maven plugin 0.8.8 → 0.8.10, release notes: * 0.8.9 * 0.8.10
maven-assembly-plugin 3.4.2 → 3.6.0, release notes: * 3.5.0 * 3.6.0
maven-checkstyle-plugin 3.2.1 → 3.3.0, release notes: * 3.2.2 * 3.3.0
maven-dependency-plugin 3.5.0 → 3.6.0
maven-help-plugin 3.3.0 → 3.4.0
maven-invoker-plugin 3.4.0 → 3.5.1, release notes: * 3.5.0 * 3.5.1
maven-plugin-plugin 3.7.1 → 3.8.2, release notes: * 3.8.1 * 3.8.2
maven-project-info-reports-plugin 3.4.1 → 3.4.3, release notes: * 3.4.2 * 3.4.3
maven-resources-plugin 3.3.0 → 3.3.1
maven-source-plugin 3.2.1 → 3.3.0
maven-surefire-plugin 3.0.0 → 3.1.0
versions-maven-plugin 2.14.2 → 2.15.0
Version 12.0.5¶
This is a bug-fix upgrade from version 12.0.4.
Bug fixes¶
cyclonedx-maven-plugin has been rolled back to version
2.7.5
because newer versions execute incredibly slowly on large dependency graphs.
Third-party dependencies¶
Bouncy Castle 1.72 → 1.73
Mockito 5.2.0 → 5.3.0
Version 12.0.4¶
This is a bug-fix upgrade from version 12.0.4.
Third-party dependencies¶
Plugin upgrades¶
cyclonedx-maven-plugin 2.7.5 → 2.7.6
maven-compiler-plugin 3.10.1 → 3.11.0
maven-enforcer-plugin 3.2.1 → 3.3.0
maven-surefire-plugin 3.0.0-M8 → 3.0.0, release notes: * 3.0.0-M9 * 3.0.0
modernizer-maven-plugin 2.5.0 → 2.6.0
spotbugs-maven-plugin 4.7.3.0 → 4.7.3.4, release notes: * 4.7.3.1 * 4.7.3.2 * 4.7.3.3 * 4.7.3.4
Version 12.0.3¶
This is a bug-fix upgrade from version 12.0.2.
Bug fixes¶
The configuration of
spotbugs-maven-plugin
was incorrect in that it referencedFindBugs
settings. This issue is reported withmaven-3.9.0
and later and has now been corrected. See ODLPARENT-299 for details.
Third-party dependencies¶
asciidoctor-jdiagram 2.2.3 → 2.2.4
Checkstyle 10.6.0 → 10.7.0
Jackson 2.14.1 → 2.14.2
Mockito 4.11.0 → 5.1.1, release notes: * 5.0.0 * 5.1.0 * 5.1.1
Netty 4.1.86 → 4.1.89, release notes: * 4.1.87 * 4.1.88 * 4.1.89
Plugin upgrades¶
cyclonedx-maven-plugin 2.7.4 → 2.7.5
echo-maven-plugin 1.3.2 → 2.0.1, release notes: * 2.0.0 * 2.0.1
maven-checkstyle-plugin 3.2.0 → 3.2.1
maven-dependency-plugin 3.4.0 → 3.5.0
maven-enforcer-plugin 3.2.0 → 3.2.1
maven-javadoc-plugin 3.4.1 → 3.5.0
maven-plugin-plugin 3.7.0 → 3.7.1
maven-surefire-plugin 3.0.0-M7 → 3.0.0-M8
Version 12.0.2¶
This is a security bug-fix upgrade from version 12.0.1.
New features¶
Two new features,
odl-asm
andodl-apache-spifly
have been added. See ODLPARENT-296 for details.
Third-party dependencies¶
Dropwizard Metrics 4.2.13 → 4.2.15, release notes: * 4.2.14 * 4.2.15
GSON 2.10.0 → 2.10.1
immutables.org 2.9.2 → 2.9.3
Jolokia 1.7.1 → 1.7.2
Jersey 2.37 → 2.38
JUnit 5.9.1 → 5.9.2
Karaf 4.4.2 → 4.4.3
ThreeTen 1.7.1 → 1.7.2
xmlunit 2.9.0 → 2.9.1
Plugin upgrades¶
bnd-maven-plugin 6.3.1 → 6.4.0
cyclonedx-maven-plugin 2.7.1 → 2.7.4, release notes: * 2.7.2 * 2.7.3 * 2.7.4
duplicate-finder-maven-plugin 1.5.0 → 1.5.1
exec-maven-plugin 3.0.0 → 3.1.0
maven-archetype-plugin 3.2.0 → 3.2.1
maven-dependency-plugin 3.3.0 → 3.4.0
maven-help-plugin 3.2.0 → 3.3.0
maven-invoker-plugin 3.2.2 → 3.4.0, release notes: * 3.3.0 * 3.4.0
maven-plugin-plugin 3.6.2 → 3.7.0, release notes: * 3.6.4 * 3.7.0
maven-remote-resources-plugin 1.7.0 → 3.0.0
properties-maven-plugin 1.0.0 → 1.1.0
spotbugs-maven-plugin 4.7.2.2 → 4.7.3.0
versions-maven-plugin 2.8.1 → 2.14.2, release notes: * 2.9.0 * 2.10.0 * 2.11.0 * 2.12.0 * 2.13.0 * 2.14.0 * 2.14.1 * 2.14.2
Version 12.0.1¶
This is a security bug-fix upgrade from version 12.0.0.
Improvements and new features¶
junit-jupiter-params
is now a test dependency. This allows using JUnit 5 parameterized types without further declarations.
Third-party dependencies¶
Checkstyle 10.3.4 → 10.4
Dropwizard Metrics 4.2.12 → 4.2.13
GSON 2.9.0 → 2.10.0
Jackson 2.13.4 → 2.13.4.20221013
Mockito 4.8.1 → 4.9.0
Netty 4.1.84 → 4.1.85
Sevntu 1.42.0 → 1.43.0
Woodstox 6.3.1 → 6.4.0
Plugin upgrades¶
maven-shade-plugin 3.3.0 → 3.4.1, release notes: * 3.4.0 * 3.4.1
modernizer-maven-plugin 2.4.0 → 2.5.0
spotbugs-maven-plugin 4.7.2.1 → 4.7.2.2
Version 12.0.0¶
This is a major upgrade from version 11, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Upstream version removals¶
The following upstream dependencies have been removed from dependency/plugin management:
Declaration of
Enunciate
has been removed. This dependency is not used by any active downstream.The opt-in for generating HTML4 Javadoc documentation has been removed.
Third-party dependencies¶
Antlr 4.9.2 → 4.11.1, release notes: * 4.10 * 4.10.1 * 4.11.0 * 4.11.1
Checkstyle 10.3.1 → 10.3.4, release notes: * 10.3.2 * 10.3.3 * 10.3.4
commons-text 1.9 → 1.10.0
Dropwizard Metrics 4.2.10 → 4.2.12, release notes: * 4.2.11 * 4.2.12
immutables.org 2.8.8 → 2.9.2, release notes: * 2.9.0 * 2.9.1 * 2.9.2
Jackson 2.13.3 → 2.13.4
Javassist 3.28.0-GA → 3.29.2-GA
Jersey 2.36 → 2.37
Jetty 9.4.46.v20220331 → 9.4.49.v20220914, release notes: * 9.4.47.v20220610 * 9.4.48.v20220622 * 9.4.49.v20220914
JUnit 5.9.0 → 5.9.1
Karaf 4.4.1 → 4.4.2
Mockito 4.6.1 → 4.8.1, release notes: * 4.7.0 * 4.8.0 * 4.8.1
Netty 4.1.76 → 4.1.84, release notes: * 4.1.77 * 4.1.78 * 4.1.79 * 4.1.80 * 4.1.81 * 4.1.82 * 4.1.84
ThreeTen 1.7.0 → 1.7.1
Plugin upgrades¶
bnd-maven-plugin 6.2.0 → 6.3.1, release notes: * 6.3.0 * 6.3.1
maven-bundle-plugin 5.1.6 → 5.1.8, release notes: * 5.1.7 * 5.1.8
maven-checkstyle-plugin 3.1.2 → 3.2.0
maven-jar-plugin 3.2.2 → 3.3.0
maven-javadoc-plugin 3.4.0 → 3.4.1
maven-resources-plugin 3.2.0 → 3.3.0
maven-site-plugin 3.12.0 → 3.12.1
project-info-reports-plugin 3.3.0 → 3.4.1, release notes: * 3.4.0 * 3.4.1
Version 11.0.1¶
This is a bug-fix upgrade from version 11.0.0.
Improvements and new features¶
An alternative way of defining features has been introduced. This is hosted by the
template-feature-parent
and unlikesingle-feature-parent
, only performs replacement of versions in a provided template. See ODLPARENT-235 for more information.
Third-party dependencies¶
Checkstyle 10.3 → 10.3.1
Dropwizard Metrics 4.2.9 → 4.2.10
Jersey 2.35 → 2.36
Jetty 9.4.46.v20220331 → 9.4.48.v20220622, release notes: * 9.4.47.v20220610 * 9.4.48.v20220622
JUnit 5.8.2 → 5.9.0
Karaf 4.4.0 → 4.4.1
PAX-URL 2.6.10 → 2.6.11
SpotBugs 4.7.0 → 4.7.1
Plugin upgrades¶
bnd-maven-plugin 6.2.0 → 6.3.1, release notes: * 6.3.0 * 6.3.1
cyclonedx-maven-plugin 2.6.2 → 2.7.1
maven-antrun-plugin 3.0.0 → 3.1.0
maven-assebly-plugin 3.3.0 → 3.4.2, release notes: * 3.4.0 * 3.4.1 * 3.4.2
maven-enforcer-plugin 3.0.0 → 3.1.0
maven-site-plugin 3.11.0 → 3.12.0
maven-surefire-plugin 3.0.0-M6 → 3.0.0-M7
spotbugs-maven-plugin 4.7.0.0 → 4.7.1.1, release notes: * 4.7.1.0 * 4.7.1.1
Version 11.0.0¶
This is a major upgrade from version 10, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Improvements and new features¶
Minimum required
Java
version is 17. Attempts to build a downstream project or load in a previous Java version will result in a failure.The declaration for
argparse4j
has been addded. See ODLPARENT-289 for more information.
Upstream version removals¶
The following upstream dependencies have been removed from dependency/plugin management:
Declaration of
Google Truth
has been removed. This dependency is not used by any active downstream. See ODLPARENT-283 for more information.Declaration of
commons-codec
has been removed. This dependency is not used by any active downstream. See ODLPARENT-285 for more information.Declaration of
commons-fileupload
has been removed. This dependency is not used by any active downstream. See ODLPARENT-286 for more information.Declaration of
commons-net
has been removed. This dependency is not used by any active downstream. See ODLPARENT-287 for more information.Declaration of
jsonassert
has been removed. This dependency is not used by any active downstream. See ODLPARENT-288 for more information.Declaration of
jung
has been removed. This dependency is not used by any active downstream. See ODLPARENT-290 for more information.Declaration of
spring-osgi-mock
has been removed. This dependency is not used by any active downstream.
Third-party dependencies¶
Checkstyle 10.2 → 10.3
Jackson 2.13.2 → 2.13.3
Jersey 2.27 → 2.35, release notes: * 2.28 * 2.29 * 2.29.1 * 2.30 * 2.30.1 * 2.31 * 2.32 * 2.33 * 2.34 * 2.35
Karaf 4.3.7 → 4.4.0
SpotBugs 4.6.0 → 4.7.0
Plugin upgrades¶
cyclonedx-maven-plugin 2.5.3 → 2.6.2
maven-bundle-plugin 5.1.5 → 5.1.6
maven-javadoc-plugin 3.1.1 → 3.4.0, release notes: * 3.2.0 * 3.3.0 * 3.3.1 * 3.3.2 * 3.4.0
maven-surefire-plugin 2.22.2 → 3.0.0-M6, release notes: * 3.0.0-M1 * 3.0.0-M2 * 3.0.0-M3 * 3.0.0-M4 * 3.0.0-M5 * 3.0.0-M6
project-info-reports-plugin 3.2.2 → 3.3.0
spotbugs-maven-plugin 4.6.0.0 → 4.7.0.0
Version 10.0.0¶
This is a major upgrade from version 9, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Log4Shell and similar vulnerabilities¶
This release addresses following security issues by its adopting log4j-2.17.1
,
logback-1.2.10
and pax-logging-2.0.14
:
CVE-2021-42550 and related problems were further mitigated by reducing complexity in
logback-1.2.10
Upstream version removals¶
The following upstream dependencies have been removed from dependency/plugin management:
Declaration of
blueprint-maven-plugin
has been removed. This plugin has not seen a release in 3 years and its use typically leads to split container definitions. Users are advised to migrate to either hand-written Blueprint XML files or, preferrably, migrate to OSGi Declarative Services. See ODLPARENT-267 for more information.The declaration and execution of
maven-pmd-plugin
has been removed. See ODLPARENT-269 for more information.All
Xtend
dependency and plugin declarations have been removed. Xtend is currently only used by a single artifact in MD-SAL, hence the dependency is best managed there. Furthermore Xtend is facing challenges around maintainership, hence its use is discouraged. See ODLPARENT-273 for more information.All
Powermock
dependency declarations have been removed. We have very few remaining downstream users, who can manage this dependency themselves. The version ofMockito
we declare has facilities to cover all use cases previously covered only by PowerMock. See ODLPARENT-275 for more information.Declarations of
osgi.annotation
,osgi.cmpn
andosgi.core
have been removed. These are monolithic JARs providing, which are no longer shipped in OSGi Release 8. Users are advised to use component dependencies, such asorg.osgi.annotation.bundle
,org.osgi.framework
,org.osgi.service.component.annotations
and similar. See ODLPARENT-277 for more information.The
H2 Database
version declaration has been removed. It is used only by as single downstream user, who also provides its OSGi packaging and hence it is best maintained there.
Improvements and new features¶
Minimum
Maven
version required to build projects usingodlparent
has been raised to3.8.3
. See ODLPARENT-260 for more information.Unit tests are now using
JUnit 5 Jupiter Engime
for unit test execution, withJUnit 4
tests supported byjunit-vintage-engine
. This enables downstreams to use the much more modern JUnit 5 APIs as well as the corresponding Mockito integration out of the box. See ODLPARENT-271 for more information.A CycloneDX SBOM is generated by default for all artifacts using
odlparent-lite
. See ODLPARENT-280 for more information.netty-transport-native-epoll
is now supported on Linux/AArch64. See ODLPARENT-241 for more information.A number of stale Karaf
custom.properties
have been removed. See ODLPARENT-34 for more information.Karaf features are now tested when building with Java versions up to and including 17.
SpotBugs analysis is now enabled when building with Java versions up to and including 17.
Third-party dependencies¶
Bouncy Castle 1.69 → 1.70
Checkstyle 8.45.1 → 9.2.1, release notes: * 9.0 * 9.0 * 9.1 * 9.2 * 9.2.1
Dropwizard Metrics 4.1.25 → 4.2.8, release notes: * 4.2.0 * 4.2.1 * 4.2.2 * 4.2.3 * 4.2.4 * 4.2.5 * 4.2.6 * 4.2.7 * 4.2.8
GSON 2.8.9 → 2.9.0
Jackson 2.16.5 → 2.16.6
Javassist 3.27.0 → 3.28.0
Log4J 2.14.1 → 2.17.1, release notes: * 2.15.0 * 2.16.0 * 2.17.0 * 2.17.1
Logback 1.2.5 → 1.2.10
Mockito 3.12.4 → 4.3.1, release notes: * 4.0.0 * 4.2.0 * 4.3.0 * 4.3.1
Netty 4.1.67 → 4.1.74, release notes: * 4.1.70 * 4.1.71 * 4.1.72 * 4.1.73 * 4.1.74
Sevntu 1.40.0 → 1.41.0
Plugin upgrades¶
asciidoctor-maven-plugin 2.2.1 → 2.2.2
bnd-maven-plugin 6.0.0 → 6.2.0, release notes: * 6.1.0 * 6.2.0
builder-helper-maven-plugin 3.2.0 → 3.3.0
git-commit-id-maven-plugin 4.0.5 → 5.0.0
maven-compiler-plugin 3.8.1 → 3.10.0, release notes: * 3.9.0 * 3.10.0
maven-bundle-plugin 5.1.2 → 5.1.4, release notes: * 5.1.3 * 5.1.4
maven-jar-plugin 3.2.0 → 3.2.2, release notes: * 3.2.1 * 3.2.2
maven-plugin-plugin 3.6.1 → 3.6.2
maven-site-plugin 3.9.1 → 3.10.0
modernizer-maven-plugin 2.2.0 → 2.3.0
spotbugs-maven-plugin 3.12.2 → 4.5.3, release notes: 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.2.2 4.2.3 4.3.0 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.2 4.5.3
Version 9.0.8¶
This is a bug-fix upgrade from version 9.0.7.
Bug fixes¶
The fix for ODLPARENT-220 ended up changing behavior and packaging
INFO.yaml
instead ofPROJECT_INFO.yaml
. This has now been fixed.
Version 9.0.7¶
This is a bug-fix upgrade from version 9.0.6.
Bug fixes¶
The upgrade of
maven-dependency-plugin
to version 3.2.0 has caused a regression in accuracy of reports, with quite a few false positives being generated. The declaration has been rolled back to version 3.1.2 with a few tweaks to improve JDK compatibility. See ODLPARENT-270 for more information.
Improvements¶
The declaration and invocation of
script-maven-plugin
has been replaced with a dedicated plugin providing the same functionality in a much more performant way. See ODLPARENT-220 for more information.A new parent pom.xml,
bnd-parent
, is now available as an alternative to the existingbundle-parent
. It has a more streamlined integration with other plugins, for example maven-jar-plugin, and a much healthier community. See ODLPARENT-258 for more information.The definition of
odl-karaf-feat-jdbc
feature has been reworked to not pull in the entireenterprise
feature repository, leading to significant savings in terms of Karaf distribution size for most downstream projects. See ODLPARENT-266 for more information.The declaration of
maven-compiler-plugin
is now available inodlparent-lite
. This is improves locality, as the JDK version enforcement is already part of odlparent-lite.
Third-party dependencies¶
Version 9.0.6¶
This is a bug-fix upgrade from version 9.0.5.
Third-party dependencies¶
Jackson 2.11.4 → 2.12.5, release notes: * 2.12 * 2.12.1 * 2.12.2 * 2.12.3 * 2.12.4 * 2.12.5
Jetty 9.4.40 → 9.4.43.v20210629, release notes: * 9.4.41.v20210516 * 9.4.42.v20210604 * 9.4.43.v20210629
Jolokia 1.6.2 → 1.7.0
Karaf 4.3.2 → 4.3.3
Pax URL 2.5.4 → 2.6.7, release notes: * 2.6.0 * 2.6.3 * 2.6.4 * 2.6.6 * 2.6.7
Plugin upgrades¶
maven-enforcer-plugin 3.0.0-M3 → 3.0.0
asciidoctor-maven-plugin 2.1.0 → 2.2.1
Version 9.0.5¶
This is a minor upgrade from version 9.0.4.
Bug fixes¶
Previous patch to address Bouncy Castle missed a critical piece for populating boot class path. This has now been corrected.
Version 9.0.4¶
This is a minor upgrade from version 9.0.3.
Bug fixes¶
The upgrade to Bouncy Castle 1.69 turned out to be broken due to some code movement and introduction of a new
bcutil-jdk15on
artifact. It has also highlighted duplicate packaging, where Karaf’s features would install version 1.66, while we have been on a newer version for some time. Both these issues have now ween resolved. See ODLPARENT-254 for more information.
Version 9.0.3¶
This is a minor upgrade from version 9.0.2.
Third-party dependencies¶
awaitility 4.0.3 → 4.1.0
Bouncy Castle 1.68 → 1.69
Checkstyle 8.42 → 8.45.1, release notes: * 8.43 * 8.44 * 8.45 * 8.45.1
commons-io 2.8.0 → 2.11.0, release notes: * 2.9.0 * 2.10.0 * 2.11.0
Dropwizard Metrics 4.1.21 → 4.1.25, release notes: * 4.1.22 * 4.1.23 * 4.1.24 * 4.1.25
Google Truth 1.1.2 → 1.1.3
Sevntu 1.39.0 → 1.40.0
ThreeTen 1.6.0 → 1.7.0
Plugin upgrades¶
git-commit-id-plugin 4.0.4 → 4.0.5
Jacoco Maven plugin 0.8.6 → 0.8.7
maven-dependency-plugin 3.1.2 → 3.2.0
maven-plugin-plugin 3.6.0 → 3.6.1
project-info-reports-plugin 3.1.1 → 3.1.2
Version 9.0.2¶
This is a minor upgrade from version 9.0.1.
Bug fixes¶
The upgrade to Karaf 4.3.0 caused a slight misalignment of
org.apache.felix.metatype
andorg.osgi.service.event
versions, leading to an unnecessary rewiring of the container most notably during Single Feature Test. This has now been corrected. See ODLPARENT-253 for more information.stax-utils
component has a default dependency oncom.bea.xml:jsr174-ri
, which is not resolvable from Maven Central. This artifact is not needed with modern JRE versions, hence add an explicit exclusion.
Third-party dependencies¶
Jetty 9.4.38.v20210224 → 9.4.40.v20210413, release notes: * 9.4.39.v20210325 * 9.4.40.v20210413
Karaf 4.3.1 → 4.3.2
Netty 4.1.63 → 4.1.65
Version 9.0.1¶
This is a minor upgrade from version 9.0.0.
Bug fixes¶
The upgrade of duplicate-finder-maven-plugin
ended up triggering build failures on .api_description
files packaged in artifacts. This regression has now been fixed.
Third-party dependencies¶
Checkstyle 8.41 → 8.42.
Dropwizard Metrics 4.1.19 → 4.1.21, release notes: * 4.1.20 * 4.1.21
LMAX Disruptor 3.4.2 → 3.4.4, release notes: * 3.4.3 * 3.4.3
Woodstox 6.2.5 → 6.2.6
XBean finder 4.18 → 4.19
Plugin upgrades¶
Version 9.0.0¶
This is a major upgrade from version 8, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Upstream version removals¶
The following upstream dependencies have been removed from dependency management:
javax.inject:javax.inject
. This dependency should be provided by target runtime. Furthermore we provide the same functionality viacom.guicedee.services:javax.inject
, which is properly declared and is a JPMS module. See ODLPARENT-246 for more information.
Improvements¶
The configuration of
maven-compiler-plugin
has been updated to expandjavac
warning options to include almost all of them.The default description in parent
pom.xml
has been updated to only include${project.artifactId}
, not a generic blurb. See ODLPARENT-244 for more information.The
single-feature-test
substrate has been updated to allow Java Flight Recorder to be enabled during testing runs. This feature has falled into disrepair as the JFR facility has been productized.Configuration of various components has been updated to be deactivated when executing with JDK versions newer than 11, so that odlparent infrastructure works out of the box with JDK 16, albeit sacrificing some validation. Most notably
SpotBugs
andSingle Feature Test
are disabled, with corresponding notices displayed.We now expose the ability to check dependency declaration consistency via
maven-dependency-plugin
’sanalyze-only
goal. This functionality is enabled by default, but does not cause the build to fail when inconsistencies are found. It can be disabled by on a per-artifact basis by defininingodlparent.dependency.skip
property totrue
. It can also be configured to fail the build on a per-artifact basis by definingodlparent.dependency.enforce
property totrue
.
Third-party dependencies¶
Checkstyle 8.39.0 → 8.41.1, release notes: * 8.40.0 * 8.41.0 * 8.41.1
commons-lang3 3.11 → 3.12.0
Dropwizard Metrics 4.1.12.1 → 4.1.19, release notes: * 4.1.13 * 4.1.14 * 4.1.15 * 4.1.16 * 4.1.17 * 4.1.18 * 4.1.19
Enunciate 2.13.2 → 2.13.3
JUnit 4.13.1 → 4.13.2
Karaf 4.3.0 → 4.3.1
Netty 4.1.59 → 4.1.63, release notes: * 4.1.60 * 4.1.61 * 4.1.62 * 4.1.63
Sevntu 1.38.0 → 1.39.0
ThreeTen 1.5.0 → 1.6.0
Woodstox 6.2.4 → 6.2.5
Xtend 2.24.0 → 2.25.0
Plugin upgrades¶
Version 8.1.1¶
This is a minor upgrade from version 8.1.0.
Improvements¶
Support for building a static Karaf distribution has been added. It is driven by a new parent pom.xml,
karaf-dist-static
. For more information see Karaf documentation and ODLPARENT-251.Support for improved documentation tags has been added to default
maven-javadoc-plugin
configuration. See ODLPARENT-252 for more information.Version declaration for
osgi.annotation
has been added.
Third-party dependencies¶
commons-net 3.7.2 → 3.8.0
Netty 4.1.58 → 4.1.59
Woodstox 6.2.3 → 6.2.4
Plugin upgrades¶
maven-checkstyle-plugin 3.1.1 → 3.1.2
maven-invoker-plugin 3.2.1 → 3.2.2
Version 8.1.0¶
This is a minor upgrade from version 8.0.1, with some potentially-breaking changes.
The most prominent is the upgrade to Karaf 4.3.0, which brings in a host of updates to related components – including OSGi Release 7 and Jackson 2.11.x.
Feature updates¶
The
odl-jackson-2.10
feature and artifact were renamed toodl-jackson-2.11
to reflect the bump in Jackson version.
Third-party dependencies¶
Bouncy Castle 1.66 → 1.68
Checkstyle 8.36.1 → 8.39.0, release notes: * 8.36.2 * 8.37.0 * 8.38.0 * 8.39.0
enunciate 2.13.1 → 2.13.2
Jackson 2.10.5 → 2.11.4, release notes: * 2.11.0 * 2.11.1 * 2.11.2 * 2.11.3 * 2.11.4
Karaf 4.2.10 → 4.3.0
Netty 4.1.53 → 4.1.58, release notes: * 4.1.54 * 4.1.55 * 4.1.56 * 4.1.57 * 4.1.58
Google Truth 1.0.1 → 1.1
Sevntu 1.37.1 → 1.38.0
XBean finder 4.17 → 4.18
xmlunit 2.7.0 → 2.8.2, release notes: * 2.8.0 * 2.8.1 * 2.8.2
Xtend 2.23.0 → 2.24.0
Plugin upgrades¶
build-helper-maven-plugin 3.1.0 → 3.2.0
duplicate-finder-maven-plugin 1.4.0 → 1.5.0
exec-maven-plugin 1.6.0 → 3.0.0
maven-pmd-plugin 3.13.0 → 3.14.0
maven-resource-plugin 3.9.0 → 3.9.1
maven-site-plugin 3.9.0 → 3.9.1
versions-maven-plugin 2.7 → 2.8.1
Version 8.0.1¶
This is a minor big-fix/enhancement update from verision 8.0.0.
Improvements¶
javax.inject
is now provided by the artifact from GuicedEE. This improves things a lot, as it is a proper jar (not MANIFEST.MF warning), it also is a JPMS module, hence can be used for linkage. This dependency is properlyscope=provided
, so it should not leak into runtimes where it should not be. See ODLPARENT-247 for details.Transitive dependencies of Guava are now mostly filtered from runtime, so that we do not require
wrap
for them. We still retain checker-qual, as we are actively using those and it is a proper bundle. See ODLPARENT-248 for details.
Third-party dependencies¶
Jackson 2.10.4 → 2.10.5
JaCoCo 0.8.5 → 0.8.6
JUnit 4.13.0 → 4.13.1
Karaf 4.2.9 → 4.2.10
Netty 4.1.52 → 4.1.53
Pax-Exam 4.13.3 → 4.13.4
Version 8.0.0¶
This is a major upgrade from version 7, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Improvements¶
modernizer-maven-plugin
configuration has been updated to issue warnings for constructs improved in all Java versions up to and including Java 11.modernizer-maven-plugin
is configured by default to fail the build when it issues any warnings. This behavior can be opted-out of on a per-artifact basis by definingodlparent.modernizer.enforce
property tofalse
.
Upstream version removals¶
The following upstream dependencies have been removed from dependency management:
javax.json
. This dependency is used only in Neutron project, hence this version is best maintained there. See ODLPARENT-238 for details.All
org.eclipse.persistence
artifacts. These dependencies are only used in Neutron, which actually duplicates the declarations, hence they are best maintained there. See ODLPARENT-237 for details.All
org.apache.sshd
andnet.i2p.crypto
artifacts. Overriding versions does not play nice with Karaf’s versions duringfeature:install
, causing issues when the installing over an SSH connection. NETCONF project is providing a repackaged version in OpenDaylight namespace. See ODLPARENT-233 for details.jettison
. This dependency is used only in LISP Flow Mapping project for integration tests, hence this version is best maintained there. See ODLPARENT-239 for details.All
com.typesafe
,io.aeron
,org.agrona
,org.scala-lang
declarations. Akka is removing their support for OSGi, with no working releases in their current2.6.x.
branch. Since dealing with these requires quite a bit of dance, which needs to sit outside of odlparent POM, the controller project will package Akka to the extent it needs. See ODLPARENT-243 for details.org.apache.felix.dependencymanager
andorg.apache.felix.dependencymanager.shell
. These components are ancient, having been replaced by either Blueprint or Declarative Services. The only project using these is AAA, hence it is best to maintain these declarations there.
Feature removals¶
odl-apache-sshd
feature has been removed, mirroring the removal of related dependency declarations. See ODLPARENT-233 for details.odl-akka-all
,odl-akka-scala-2.13
,odl-akka-system-2.5
,odl-akka-clustering-2.5
andodl-akka-persistence-2.5
features. mirroring the removal of related dependency declarations. See ODLPARENT-243 for details.
Third-party dependencies¶
awaitility 3.0.0 → 4.0.3
checkstyle 8.34 → 8.36.1, release notes: * 8.35 * 8.36 * 8.36.1
commons-codec 1.14 → 1.15
commons-io 2.7 → 2.8.0
commons-net 3.6 → 3.7
dropwizard-metrics 4.1.9 → 4.1.12.1, release notes: * 4.1.10 * 4.1.10.1 * 4.1.11 * 4.1.12 * 4.1.12.1
Guava 28.2 → 29.0
immutables.org → 2.8.8, release notes: * 2.8.0 * 2.8.1 * 2.8.2 * 2.8.3 * 2.8.4 * 2.8.8
mockito 3.3.3 → 3.5.11
Netty 4.1.51 → 4.1.52
Xtend 2.22.0 → 2.23.0
Plugin upgrades¶
maven-archetype-plugin 3.1.2 → 3.2.0
project-info-reports-plugin 3.1.0 → 3.1.1
Version 7.0.5¶
This is a bug-fix upgrade from version 7.0.4.
Bug fixes¶
odl-netty-4
feature definition specified bothx86_64
andaarch64
artifacts fornetty-native-epoll
. This actually results only inaarch64
package being installed, rendering epoll unavailable onx86_64
architecture. This has been corrected by removing theaarch64
package. See ODLPARENT-240 for details.
Version 7.0.4¶
This is a security/bug-fix upgrade from version 7.0.3.
Bug fixes¶
Single Feature Test
setup of the JVM for Karaf container ended up using wrong versions of Karaf components, leading to a failure to initialize OSGiLocator and subsequent warnings with stack traces. This has now been corrected. See ODLPARENT-228 for details.Pax-Exam setup interacts badly with pipes used by maven-surefire plugin, leading to pauses lasting around 30 seconds after SFT test success. This has now been worked around by using maven-surefire-plugin version 3.0.0-M5, with TCP sockets used for communication. See ODLPARENT-179 for details.
Our Jersey dependency was held back on version 2.25.1 during Neon upgrade cycle, mostly due to large-scale incompatibilities around JAX-RS version. We have upgraded to Karaf-4.2.8+, which pulls in JAX-RS 2.1, hence re-aligning to a more modern version, 2.27, is now feasible. See ODLPARENT-208 for details.
Third-party dependencies¶
Bouncy Castle 1.65 → 1.66
commons-io 2.6 → 2.7
Scala 2.13.2 → 2.13.3
TrieMap 1.1.0 → 1.2.0
XBean finder 4.14 → 4.17, release notes: * 4.15 * 4.16 * 4.17
Plugin upgrades¶
maven-project-info-reports-plugin 3.0.0 → 3.1.0.
maven-shade-plugin 3.2.3 → 3.2.4
Version 7.0.3¶
This is a security/bug-fix upgrade from version 7.0.2. Changes in this release pertain strictly to Karaf packaging and do not affect other runtimes.
Bug fixes¶
Felix SCR 2.1.16, as shipping before Karaf-4.2.9, contains a bug, which could lead to NullPointerException being thrown when components were examined. This has been rectified via upgrade to Felix SCR 2.1.20. See ODLPARENT-236 for details.
Karaf-4.2.8 changed packaged log4j2 version, rendering the configuration supplied with
ODLPARENT-231
inconsistent. This has led to a warning being printed in the Karaf console on each startup. This has now been corrected.Karaf-4.2.8 is packaging pax-logging-1.11.4, which embeds a a vulnerable version of log4j2 (2.3.0). This would render the upgrades delivered in version 7.0.2 ineffective at runtime, potentially leading to exposure. This has been corrected with upgrade of pax-logging to 1.11.6, which is packaging log4j2-2.3.2.
Version 7.0.2¶
This is a security/bug-fix upgrade from version 7.0.1.
Improvements¶
Infrastructure for identifying confidential log messages was added, along with Karaf configuration update to routing such messages into a separate log file. See ODLPARENT-231 for details.
Netty has been disconnected from Javassist way back in its 4.1.9 release, but we failed to notice. This has now been rectified by
odl-netty-4
not depending onodl-javassist-3
.
Third-party dependencies¶
Checkstyle 8.31 → 8.32
Dropwizard Metrics 4.1.5 → 4.1.9, release notes: * 4.1.6 * 4.1.7 * 4.1.8 * 4.1.9
Netty 4.1.48 → 4.1.49
Powermock 2.0.6 → 2.0.7
Scala 2.13.1 → 2.13.2
Plugin upgrades¶
builder-helper-maven-plugin 3.0.0 → 3.1.0
duplicate-finder-maven-plugin 1.3.0 → 1.4.0
maven-antrun-plugin 1.8 → 3.0.0
maven-assembly-plugin 3.2.0 → 3.3.0
maven-invoker-plugin 3.2.0 → 3.2.1
maven-remote-resources-plugin 1.6.0 → 1.7.0
maven-shade-plugin 3.2.2 → 3.2.3
Version 7.0.1¶
This is a bug-fix upgrade from version 7.0.0.
Bug fixes¶
Upgrade of
maven-javadoc-plugin
is causing issues in downstream javadoc jobs and therefore it has been reverted. See ODLPARENT-229 for details.
Third-party dependencies¶
Akka 2.5.30 → 2.5.31
Bouncy Castle 1.64 → 1.65
Checkstyle 8.30 → 8.31
commons-lang3 3.9 → 3.10
Version 7.0.0¶
This is a major upgrade from version 6, with breaking changes; downstream projects may need to make changes to upgrade to this version.
Property removals¶
enforcer.version
andprojectinfo
properties were removed. These properties do not serve any legal purpose as the plugins referenced by them are declared inpluginManagement
section.
Upstream version removals¶
The following upstream dependencies have been removed from dependency management:
immutables.org/value
without<classifier>annotations</classifier>
javax.xml.bind/jaxb-api
, replaced withjakarta.xml.bind/jakarta.xml.bind-api
com.google.inject/guice
com.mycila.guice.extensions/mycila-guice-jsr250
org.apache.shiro/shiro-core
org.apache.shiro/shiro-web
Feature removals¶
odl-akka-leveldb-0.10
feature was removed. This feature provided leveldb-backed implementation of Akka Persistence, which is not supported for production environments by upstream. Furthermore this feature relied on a custom-built binary, which we do not have a means to reproduce – limiting our portability. The controller project, which is the only downstream user of persistence provides an alternative implementation, hence we are removing this historical baggage. See ODLPARENT-213 for details.odl-caffeine-2
feature was removed. This feature provided aJSR-107 JCache
implementation, an API deemed to be problematic where high-performance and correctness in required.
New features¶
OSGi R6 Declarative Services enabled in Karaf. The
scr
feature is now part of startup features, hence Service Component Runtime can be used without incurring an additional refresh. See ODLPARENT-227 for details.
Third-party dependencies¶
Akka 2.5.29 → 2.5.30
antl4r 4.7.2 → 4.8-1
Asciidoctor 1.5.7.1 → 1.5.8
Checkstyle 8.26 → 8.30, release notes: * 8.27 * 8.28 * 8.29 * 8.30
Dropwizard Metrics 4.0.5 → 4.1.5, release notes: * 4.1.0-rc0 * 4.1.0-rc2 * 4.1.0-rc3 * 4.1.1 * 4.1.2 * 4.1.3 * 4.1.4
Google Truth 0.43 → 1.0.1, release notes: * 0.44 * 0.45 * 0.46 * 1.0-rc1 * 1.0-rc2 * 1.0 * 1.0.1
Javassist 3.26.0 → 3.27.0
jdt-annotations 2.2.100 → 2.2.400
Karaf 4.2.6 → 4.2.8, with related upgrades, release notes: * 4.2.7 * 4.2.8
log4j2 2.13.0 → 2.13.1
Netty 4.1.45 → 4.1.48, release notes: * 4.1.46 * 4.1.47 * 4.1.48
scala-java8-compat 0.8.0 → 0.9.1, release notes: * 0.9.0 * 0.9.1
woodstox-core 5.3.0 → 6.1.1
Plugin upgrades¶
findbugs-slf4j 1.4.0 → 1.5.0
maven-checkstyle-plugin 3.1.0 → 3.1.1
maven-dependency-plugin 3.1.1 → 3.1.2
maven-enforcer-plugin 3.0.0-M2 → 3.0.0-M3
maven-javadoc-plugin 3.1.1 → 3.2.0
maven-shade-plugin 3.2.1 → 3.2.2
modernizer-maven-plugin 2.0.0 → 2.1.0
pmd-maven-plugin 3.12.0 → 3.13.0
Version 6.0.5¶
This is a bug-fix upgrade from version 6.0.4.
Third-party dependencies¶
commons-codec 1.13 → 1.14
Jackson 2.9.10 → 2.9.10.20200103
Plugin upgrades¶
maven-source-plugin 3.2.0 → 3.2.1
Version 6.0.4¶
This is a bug-fix upgrade from version 6.0.3.
Bug fixes¶
single-feature-test
was using outdated repositories, including Maven Central, which broke on Jan 15, 2020. This has been corrected.
Third-party dependencies¶
Plugin upgrades¶
maven-assembly-plugin 2.2-beta5 → 3.2.0
maven-archetype-plugin 3.1.1 → 3.1.2
Version 6.0.3¶
This is a bug-fix upgrade from version 6.0.2.
Bug fixes¶
The fix for ODLPARENT-216 ended up breaking
org.kohsuke.metainf-services
integration. While this could be fixed in downstreams by adding proper </annotationProcessorPaths> entry, it is a regression from 6.0.1.
Version 6.0.2¶
This is a security/bug-fix upgrade from version 6.0.1.
Bug fixes¶
single-feature-parent
was setting up Karaf repositories incorrectly, leading to the test using unpatched Karaf resources. This has now been fixed and the test run is using environment equivalent to the contents of the distribution. See ODLPARENT-209 for details.immutables.org
integration relied on pre-JDK9 way of integration, where the annotation processor was just dropped as a dependency. This does not work with JDK9+ artifacts which are also explicit JMPS modules. Note that users are advised to switch to depending on theannotations
-classified artifact. See ODLPARENT-216 for details.Assembled Karaf distribution did not perform proper JDK checks and allowed launching with JDK8, leading to a failure to install OpenDaylight components with an error stack, which confuses users not familiar with OSGi. The distribution now refuses to start with anything other than JDK11. See ODLPARENT-218 for details.
Third-party dependencies¶
Akka 2.5.25 → 2.5.26
Checkstyle 8.20 → 8.26, release notes: * 8.21 * 8.22 * 8.23 * 8.24 * 8.25 * 8.26
H2 database 1.4.199 → 1.4.200
Hamcrest 2.1 → 2.2
JaCoCo 0.8.4 → 0.8.5
Karaf 4.2.2 → 4.2.6, release notes: * 4.2.3 * 4.2.4 * 4.2.5 * 4.2.6
Powermock 2.0.2 → 2.0.4
Sevntu 1.35.0 → 1.36.0
Plugin upgrades¶
maven-bundle-plugin 4.1.0 → 4.2.0
maven-jar-plugin 3.1.2 → 3.2.0
maven-source-plugin 3.1.0 → 3.2.0
modernizer-maven-plugin 1.9.0 → 2.0.0
Version 6.0.1¶
This is a security/bug-fix upgrade from version 6.0.0.
Bug fixes¶
karaf-plugin
ignored exceptions coming from its failure to resolve ${karaf.etc} variable. This has now been fixed and the URL handling has been revised to fix build on Windows. See ODLPARENT-214 for details.leveldb-jni
jar, which has been seeded to nexus.opendaylight.org long time ago is not published in Maven Central. This has been resolved by repackaging this jar and publishing it from odlparent. See ODLPARENT-210 for details.
Third-party dependencies¶
Bouncy Castle 1.63 → 1.64
Jackson 2.9.9 → 2.9.10
Javassist 3.24.1-GA → 3.26.0-GA
Mockito 2.25.1 → 2.28.2, release notes: * 2.25.2 * 2.25.3 * 2.25.4 * 2.25.5 * 2.25.6 * 2.25.7 * 2.26.1 * 2.26.2 * 2.27.1 * 2.27.2 * 2.27.3 * 2.27.4 * 2.27.5 * 2.28.0
pt-triemap 1.0.6 → 1.1.0
reactive-streams 1.0.2 → 1.0.3
stax2-api 3.1.4 → 4.2
woodstox-core 5.0.3 → 5.3.0, release notes: * 5.1.0 * 5.2.0 * 5.3.0
Version 6.0.0¶
This is a major upgrade from version 5, with breaking changes; projects will need to make changes to upgrade to this version.
Java 11 is required¶
This release sets maven.compiler.release=11
and enforces that the JDK used to build
is Java 11+. As there may be issues with various maven plugins when faced with JDK9+
constructs and JDK11+ classes, target release can be controlled on a per-artifact
basis (i.e. target Java 10 with maven.compiler.release=10
property).
This release has been validated with openjdk-11.0.4
and is not supported on any lower
version. As usual, we recommend using latest available JDK/JRE for Java 11 during development
and deployment.
Checkstyle/SpotBugs/Modernizer run by default¶
With this release code artifacts always run maven-checkstyle-plugin
, spotbugs-maven-plugin
and modernizer-maven-plugin
. Checkstyle and SpotBugs run in enforcing mode, i.e. will fail
build if any violations are found. Modernizer is configured to report Java 8-compatible constructs
and will not fail the build unless instructed to do so.
Behavior of each of these is controlled via a maven property on a per-artifact basis:
odlparent.checkstyle.enforce
controls checkstyle enforcement: defaults totrue
, but can be set tofalse
odlparent.checkstyle.skip
controls checkstyle invocation: defaults tofalse
, but can be set totrue
odlparent.spotbugs.enforce
controls SpotBugs enforcement: defaults totrue
, but can be set tofalse
odlparent.spotbugs.skip
controls SpotBugs invocation: defaults tofalse
, but can be set totrue
odlparent.modernizer.enforce
controls modernizer enforcement: defaults tofalse
, but can be set totrue
odlparent.modernizer.skip
controls modernizer invocation: defaults tofalse
, but can be set totrue
odlparent.modernizer.target
controls modernizer Java version: defaults to1.8
, but can be set to1.11
or similar
Bug fixes¶
blueprint container
hadorg.apache.aries.blueprint.preemptiveShutdown
set to false to enable it to work with Config Subsystem. As that component is long gone, this property has been removed as part of ODLPARENT-34. Furthermore, system properties related to Config Subsystem/NETCONF integration have been removed as well.
Upstream version removals¶
The following upstream dependencies have been removed from dependency management:
com.google.code.findbugs/jsr305
Third-party dependencies¶
The dependency on xmlunit-assertj and modernizer-maven-annotations has been added and the following dependencies have been upgraded:
apache-sshd 2.2.0 → 2.3.0
Bouncy Castle 1.62 → 1.63
commons-beanutils 1.9.3 → 1.9.4
commons-codec 1.12 → 1.13
jackson-databind 2.9.9 → 2.9.9.3
jaxb-api 2.2.8 → 2.3.0, aligning it with Karaf-provided version
Netty 4.1.36 → 4.1.39, release notes: * 4.1.37 * 4.1.38 * 4.1.39
Sevntu 1.32.0 → 1.35.0, release notes: * 1.33.0 * 1.34.0 * 1.34.1 * 1.35.0
slf4j 1.7.25 → 1.7.28
triemap 1.0.5 → 1.0.6
typesafe/ssl-config 0.3.7 → 0.3.8
Plugin upgrades¶
git-commit-id-plugin 2.2.6 → 3.0.1, release notes: * 3.0.0 * 3.0.1
maven-javadoc-plugin 3.1.0 → 3.1.1
pmd-maven-plugin 3.11.0 → 3.12.0
spotbugs-maven-plugin 3.1.11 → 3.1.12.2, release notes: * 3.1.12 * 3.1.12.1 * 3.1.12.2
Version 5.0.1¶
This is a bug-fix upgrade from version 5.0.0.
Third-party dependencies¶
The following dependencies have been upgraded:
asciidoctorj-diagram 1.5.12 → 1.5.16
Bouncy Castle 1.61 → 1.62
commons-lang3 3.8.1 → 3.9
JaCoCo 0.8.3 → 0.8.4
Jackson 2.9.8 → 2.9.9
Mockito 2.25.0 → 2.25.1
Reactive Streams 1.0.1 → 1.0.2
scala-parser-combinators 1.1.1 → 1.1.2
Sevntu 1.32.0 → 1.33.0
Typesafe Config 1.3.2 → 1.3.3
triemap 1.0.4 → 1.0.5
xmlunit 2.6.2 → 2.6.3
Xtend 2.17.0 → 2.17.1
Plugin upgrades¶
maven-archetype-plugin 3.0.1 → 3.1.1, release notes: * 3.1.0 * 3.1.1
maven-bundle-plugin 4.1.0 → 4.2.0
maven-checkstyle-plugin 3.1.0 → 3.1.0
maven-compiler-plugin 3.8.0 → 3.8.1
maven-help-plugin 3.1.1 → 3.2.0
maven-jar-plugin 3.1.1 → 3.1.2
maven-plugin-plugin 3.5.2 → 3.6.0
maven-source-plugin 3.0.1 → 3.1.0
maven-surefire-plugin 2.22.1 → 2.22.2
New plugins¶
modernizer-maven-plugin
declared, allowing downstreams to more easily activate it, and so detect code which should be updated to more modern equivalent.
New features¶
odl-caffeine-2
provides a pre-packaged feature for the Caffeine caching framework, along with the Guava compabitility layer.
Version 5.0.0¶
This is a major upgrade from version 4, with breaking changes; projects will need to make changes to upgrade to this version.
The most significant change is ODLPARENT-198, which removes JSR305 from default dependencies and does not present it at class path by default.
Deleted artifacts¶
findbugs
has been removed, as its only purpose was to provide FindBugs
rule definitions. Equivalent definitions are available in spotbugs
.
Bug fixes¶
blueprint-maven-plugin
used to scan the entire classpath, resulting in potential conflicts across projects. Scanning is now limited to${project.groupId}
, limiting conflict domain to single project. See ODLPARENT-109.bundle-maven-plugin
configuration ignored generated ServiceLoader service entries, which has now been fixed. See ODLPARENT-197.Bundle tests are now enabled by default. See ODLPARENT-158 and ODLPARENT-80 for details.
Karaf log file rollover was not explictly set up, leading to inability to easily override the defaults. See ODLPARENT-153 for details.
Karaf log file used to use default maximum 16MiB file size, this has now been increased to 64MiB. See ODLPARENT-154.
features-test
excluded opendaylight-karaf-empty’s transitive dependencies, leading to the need to re-declare them in single-feature-parent. This re-declaration was forgotten in forbcpkix-framework-ext
andbcprov-framework-ext
bundles, which lead to them not being present in the local repository. See ODLPARENT-130.
Upstream version removals¶
The following upstream dependencies have been removed from dependency management:
cassandra-driver-core
org.codehaus.enunciate/enunciate-core-annotations
org.jboss.resteasy/jaxrs-api
org.json/json
org.osgi/org.osgi.compendium
Removed features¶
odl-jersey-1
features-akka
feature repository has been integrated intofeatures-odlparent
Third-party dependencies¶
The following dependencies have been upgraded:
apache-sshd 2.0.0 → 2.2.0
Aeron 1.12.0 → 1.15.3, release notes: * 1.13.0 * 1.14.0 * 1.15.0 * 1.15.1 * 1.15.2 * 1.15.3
Agrona 0.9.27 → 0.9.33, release notes: * 0.9.28 * 0.9.29 * 0.9.30 * 0.9.31 * 0.9.32 * 0.9.33
antl4r 4.7.1 → 4.7.2
asciidoctorj-diagram 1.5.11 → 1.5.12
Bouncy Castle 1.60 → 1.61
commons-codec 1.11 → 1.12
Google Error Prone 2.3.2 → 2.3.3
Google Guava 25.1 → 27.1, release notes: * 26.0 * 27.0 * 27.0.1 * 27.1
Google Truth 0.42 → 0.43
h2 database 1.4.196 → 1.4.199
Immutables 2.7.3 → 2.7.5
Javassist 3.24.0-GA → 3.24.1-GA
log4j2 2.11.1 → 2.11.2
Netty 4.1.32 → 4.1.34, release notes: * 4.1.32 * 4.1.33 * 4.1.34
OSGi 5.0.0 → 6.0.0
Powermockito 1.7.4 → 2.0.0, release notes: * 2.0.0-beta.5 * 2.0.0-RC.1 * 2.0.0
SpotBugs 3.1.9 → 3.1.12
ThreeTen 1.4.0 → 1.5.0
Xtend 2.16.0 → 2.17.0
Plugin removals¶
gmaven-plugin
maven-findbugs-plugin
Plugin upgrades¶
jacoco-maven-plugin 0.8.2 → 0.8.3
maven-invoker-plugin 3.1.0 → 3.2.0
maven-javadoc-plugin 3.0.1 → 3.1.0
spotbugs-maven-plugin 3.1.8 → 3.1.11
Version 4.0.9¶
This is a bug-fix upgrade from version 4.0.8.
Bug fixes¶
karaf-plugin
invocation inkaraf4-parent
caused previously patched features to be overwritten with their stock versions, referencing bundles which were not populated in the local repository. (See ODLPARENT-194.)karaf-plugin
version inkaraf4-parent
is now provided through plugin management so downstreams can override it without needing to repeat its configuration.karaf-plugin
no longer reads features twice when running discovery, speeding up the process a bit.Recent versions of the SpotBugs Maven plugin use SLF4J 1.8 beta 2, which can’t use the 1.7.25 implementation we provide; we therefore provide an implementation of 1.8 beta 2 when SpotBugs is used. (See ODLPARENT-184.)
New features¶
odl-woodstox
wraps the Woodstox StAX implementation which is imposed on us by Karaf.
Version 4.0.8¶
This is a bug-fix and minor upstream bump upgrade from version 4.0.7.
Bug fixes¶
bcprov-ext-jdk15on
is a superset ofbcprov-jdk15on
, so there’s no need to ship both; we now only ship the former. In addition, we install the Bouncy Castle JARs inlib/boot
so that they continue to be available on the boot classpath (JDK 9 removes the extension mechanism which was used previously), and provide the corresponding bundles from the boot classpath instead of using separate JARs in the system repository. (See ODLPARENT-183 and ODLPARENT-185.)A dependency check has been added to ensure that we don’t run into the TrieMap dependency bug in 4.0.6 again.
Dependencies pulled in by features are now checked for convergence, and
karaf-plugin
warns when it finds diverging dependencies (the same artifact with two different versions). Upstream-provided features are patched to avoid the following divergences (and upgrade some dependencies in the process):Aries utilities 1.1.0/1.1.3 (upgraded to 1.1.3).
Commons Beanutils 1.8.3/1.9.3 (upgraded to 1.9.3).
Commons Codec 1.8/1.10 (upgraded to 1.11).
javax.mail
1.4.4/1.4.7 (upgraded to 1.4.7).
(See ODLPARENT-189.)
New features¶
odl-dropwizard-metrics
provides Dropwizard Metrics (which are also available in dependency management).enunciate-maven-plugin
is added as the replacement formaven-enunciate-plugin
.
Third-party dependencies¶
The following dependencies are no longer provided by the JVM, starting with version 11, but we make them available via dependency management for projects which need them:
javax.annotation-api
.JAXB (
jaxb-core
,jaxb-impl
).
The following dependencies have been upgraded:
Checkstyle 8.15 → 8.16.
Dependency Check 4.0.0 → 4.0.2.
git-commit-id
2.2.5 → 2.2.6.Immutables 2.7.1 → 2.7.3:
(2.7.4 breaks our Javadocs.)
Jackson 2.9.7 → 2.9.8.
Version 4.0.7¶
This is a bug-fix release, correcting the triemap
import declaration.
Version 4.0.6¶
This is a bug-fix and minor upstream packaging upgrade from version 4.0.5.
Bug fixes¶
Single-feature-test was broken with JDK 9 and later and Karaf 4.2.2; this release adds the additional JVM configuration needed.
Third-party dependencies¶
This release adds the triemap
BOM to dependency management.
Version 4.0.5¶
This is a bug-fix release: the Karaf Maven plugin, in version 4.2.2, is
broken in some cases we
need in OpenDaylight; we revert to 4.2.1 in karaf4-parent
to avoid this.
Version 4.0.4¶
This is a bug-fix release, reverting the change made in 4.0.3 to handle
building with either zip
or tar.gz
Karaf archives (which breaks
builds in our infrastructure, without the empty Karaf archive).
Version 4.0.3¶
This is a bug-fix and minor upstream bump upgrade from version 4.0.2.
Bug fixes¶
Our FindBugs configuration for JDK 9 and later caused the plugin to run everywhere; instead, this version defines the
findbugs.skip
property to disable the plugin in modules where it would be used otherwise.The PowerMock declarations in dependency management missed
powermock-api-mockito2
, which is necessary for modules using PowerMock with Mockito 2.The “quick” profile (
-Pq
) now skips SpotBugs.JSR-305 annotations are now optional, which fixes a number of issues when building with newer JDKs.
We provide JAXB with JDK 11 and later (where it is no longer provided by the base platform).
odlparent-artifacts
has been updated to accurately represent the artifacts provided.javax.activation
is now excluded from generated features (it’s provided on Karaf’s boot classpath).When the build is configured to build Karaf distributions in
tar.gz
archives, but notzip
archives,features-test
used to fail; it will now used whichever is available (ODLPARENT-174).Explicit GCs are disabled by default, so that calls to
System.gc()
are ignored (ODLPARENT-175).Null checks are disabled in SpotBugs because of bad interactions with newer annotations and the bytecode produces by JDK 11 and later for
try
-with-resources.Akka Persistence expects LevelDB 0.10, so we now pull in that version instead of 0.7.
Dependency convergence¶
A number of dependencies have been added or constrained so that projects using this parent can enforce dependency convergence:
Karaf’s
framework
feature is used as an import POM, so that we converge by default on the versions used in Karaf.The following dependencies have been added to dependency management:
commons-beanutils
the Checker Framework
Error Prone annotations
javax.activation
xml-apis
New features¶
The following Karaf features have been added:
odl-antlr4
(providingantlr4-runtime
);odl-gson
(providinggson
);odl-jersey-2
(providing Jersey client, server, and container servlet, along with the necessary feature dependencies);odl-servlet-api
(providingjavax.servlet-api
);odl-stax2-api
(providingstax2-api
);odl-ws-rs-api
(providingjavax.ws.rs-api
);
A new sonar-jacoco-aggregate
profile can be used to produce Sonar reports
with aggregated JaCoCo reports. Additionally, Sonar builds (run with
-Dsonar
) are detected and run with a number of irrelevant plugins disabled.
Upstream version upgrades¶
Akka 2.5.14 → 2.5.19 (and related
ssl-config
, Aeron and Agrona upgrades):Commons Text 1.4 → 1.6.
Eclipse JDT annotations 2.2.0 → 2.2.100.
Javassist 3.23.1 → 3.24.0.
Karaf 4.2.1 → 4.2.2, with related upgrades.
LMAX Disruptor 3.4.1 → 3.4.2.
Mockito 2.20.1 → 2.23.4.
Netty 4.1.29 → 4.1.31:
Pax Exam 4.12.0 → 4.13.1.
Scala 2.12.6 → 2.12.8:
Wagon HTTP 3.1.0 → 3.2.0.
Xtend 2.14.0 → 2.16.0.
Plugin version upgrades¶
Asciidoctor 1.5.6 → 1.5.7.1 (with related AsciidoctorJ upgrades).
Bundle 4.0.0 → 4.1.0.
Checkstyle 8.12 → 8.15.
DependencyCheck 3.3.2 → 4.0.0.
Failsafe / Surefire 2.22.0 → 2.22.1.
Help 3.1.0 → 3.1.1.
JAR 3.1.0 → 3.1.1.
PMD 3.10.0 → 3.11.0.
Remote Resources 1.5 → 1.6.0.
Shade 3.2.0 → 3.2.1.
SpotBugs 3.1.6 → 3.1.9.
XBean finder 4.9 → 4.12.
XTend 2.14.0 → 2.16.0.
Version 4.0.2¶
This is a bug-fix and minor upstream bump upgrade from version 4.0.1.
Bug fixes¶
Previous releases overrode Karaf’s jre.properties
; this is no longer
necessary, and was causing failures with Java 9 and later (our version of
jre.properties
didn’t have the appropriate settings for anything after
Java 8). This release drops that override. See
ODLPARENT-168 for
details.
Upstream version upgrades¶
Commons Lang 3.8 → 3.8.1.
Jackson 2.9.6 → 2.9.7.
Netty 4.1.28 → 4.1.29.
Plugin version upgrades¶
JAR 3.0.2 → 3.1.0.
Javadoc 3.0.0 → 3.0.1.
Jersey 2.22.2 → 2.25.1, along with Glassfish JSON 1.0.4 → 1.1.2.
Plugin 3.5 → 3.5.2:
Resources 3.0.1 → 3.1.0.
Version 4.0.1¶
This is a bug-fix and minor upstream bump upgrade from version 4.0.0.
Bug fixes¶
The JaCoCo execution profile was incorrect, breaking Sonar; the report is now written correctly, so that Sonar can find it.
The Blueprint Maven plugin fails when it encounters Java 9 classes; this is fixed by forcefully upgrading its dependency on xbean-finder. See ODLPARENT-167 for details.
Upstream version upgrades¶
SpotBugs 3.1.6 → 3.1.7.
Upstream version additions¶
Mockito Inline is added alongside Mockito Core, to ensure that the versions are kept in sync.
Plugin version upgrades¶
Clean 3.0.0 → 3.1.0.
Compiler 3.7.0 → 3.8.0.
Dependency 3.0.2 → 3.1.1:
Dependency Check 3.3.1 → 3.3.2.
Enforcer 3.0.0-M1 → 3.0.0-M2.
Failsafe 2.20.1 → 2.22:
Help 2.2 → 3.1.0:
Invoker 2.0.0 → 3.1.0:
JAR 3.0.2 → 3.1.0.
Project Info Reports 2.9 → 3.0.0.
Resources 3.0.1 → 3.1.0.
Shade 3.1.0 → 3.2.0.
Site 3.7 → 3.7.1.
Surefire 2.18.1 → 2.22.0:
Version 4.0.0¶
This is a major upgrade from version 3, with breaking changes; projects will need to make changes to upgrade to this version.
This Wiki page has detailed step-by-step migration instructions.
ODL Parent 4 requires Maven 3.5.3 or later; this is needed in particular to enable SpotBugs support with current versions of the SpotBugs plugin.
Known issues¶
This release’s SpotBugs support doesn’t handle Guava 25.1 correctly, resulting in false-positives regarding null handling; see ODLPARENT-161 for details. Until this is fixed, the corresponding warnings are disabled, which matches our existing FindBugs configuration (which suffers from the a variant of this, with the same consequences).
We are planning on upgrading Akka during the 4.x cycle, even if it results in a technically breaking upgrade. This is currently blocked on an OSGi bug in Akka; see Akka issue 25579 for details.
Blueprint and OSGi service handling¶
Previous releases used an OpenDaylight-specific directory for Blueprint XML
files, org/opendaylight/blueprint
. It turned out this wasn’t useful, so
version 4 uses the default directory, OSGI-INF/blueprint
.
The Maven bundle plugin is now configured to omit the Import-Service
and
Export-Service
headers, since they are deprecated, unnecessary in
OpenDaylight, and liable to cause issues.
With previous releases of OpenDaylight, projects were encouraged to use Pax CDI API annotations to describe their Blueprint beans, services and injections; with version 4, Blueprint annotations should be used instead:
modules should depend on
org.apache.aries.blueprint:blueprint-maven-plugin-annotation
, with the<optional>true</optional>
flag, instead oforg.ops4j.pax.cdi:pax-cdi-api
;@OsgiServiceProvider
on bean definitions is replaced by@Service
;@OsgiService
at injection points is replaced by@Reference
;@OsgiService
on bean definitions, while technically wrong, can be seen in the OpenDaylight codebase; this is replaced by@Service
;service lists can be injected using
@ReferenceList
.
See this Gerrit patch for an example.
Compiler settings¶
Builds now warn about unchecked type uses (such as raw types where generics are available).
JUnit and Mockito are always available as test dependencies and no longer need to be declared in POMs.
New build profiles¶
An OWASP profile is now available to run OWASP’s dependency checker; this will
check all third-party dependencies against the NVD vulnerability database. To
enable this, run Maven with -Powasp
.
Build profile changes¶
-Pq
now skips Modernizer.
New features¶
odl-akka-leveldb-0.10
wraps LevelDB 0.10 for Akka.
odl-apache-commons-codec
wraps Apache Commons Codec.
odl-apache-commons-lang3
wraps Apache Commons Lang 3.
odl-apache-commons-net
wraps Apache Commons Net.
odl-apache-commons-text
wraps Apache Commons Text.
odl-apache-sshd
wraps Apache SSHD.
odl-guava
provides the default ODL version of Guava; it should be used
instead of odl-guava-23
or the new odl-guava-25
.
odl-jackson-2.9
wraps Jackson 2.9.
New FindBugs and SpotBugs settings¶
FindBugs and SpotBugs are configured with
the SLF4J extension (version
1.4.0 for FindBugs, 1.4.1 for SpotBugs). This will flag misused SLF4J calls, in
particular message templates which don’t match the arguments, and invalid
placeholders (e.g. %s
instead of {}
).
Deleted artifacts¶
aggregator-parent
was unusable outside odlparent
and has been removed.
Instead, the maven.deploy.skip
and maven.install.skip
properties are
available to disable deploying and installing artifacts.
Upstream version upgrades¶
This version upgrades the following third-party dependencies:
Aeron 1.7.0 → 1.9.3:
Agrona 0.9.12 → 0.9.21:
Akka 2.5.11 → 2.5.14:
ASM 5.1 → 6.2.1 (synchronised with Karaf).
Bouncy Castle 1.59 → 1.60.
Checkstyle 8.4 → 8.12.
Commons Lang 3.7 → 3.8.
Commons Text 1.1 → 1.4:
Eclipse JDT annotations 2.1.150 → 2.2.0.
EclipseLink Moxy JAXB 2.7.1 → 2.7.3.
Enunciate core annotations 2.10.1 → 2.11.1.
Felix Metatype 1.1.6 → 1.2.0 (synchronised with Karaf).
Google Truth 0.40 → 0.42.
Guava 23.6.1 → 25.1:
Immutables 2.5.6 → 2.7.1.
Jackson 2.8.9 → 2.9.6:
JaCoCo 0.8.1 → 0.8.2.
Javassist 3.22.0 → 3.23.1. This provides compatibility with Java 9 and later, and fixes a file handle leak.
Jettison 1.3.8 → 1.4.0.
Jetty 9.3.21 → 9.4.11 (synchronised with Karaf):
Jolokia OSGi 1.5.0 → 1.6.0.
Karaf 4.1.5 → 4.2.1:
LMAX Disruptor 3.3.10 → 3.4.1:
META-INF services 1.7 → 1.8.
Mockito 1.10.19 → 2.20.1; see What’s new in Mockito 2 for upgrade instructions and the list of issues you might run into.
Netty 4.1.22 → 4.1.28:
Pax Exam 4.11.0 → 4.12.0.
Pax URL 2.5.3 → 2.5.4, which only fixes a potential NullPointerException.
PowerMock 1.6.4 → 1.7.4:
Scala parser combinators 1.0.7 → 1.1.1:
SpotBugs 3.1.0 → 3.1.6.
Threeten Extra 1.3.2 → 1.4.
Typesafe SSL config 0.2.2 → 0.2.4:
Wagon HTTP 2.10 → 3.1.0.
XMLUnit 1.6 → 2.6.2.
Upstream version additions¶
The following upstream dependencies have been added to dependency management:
Apache SSHD 2.0.0, with EdDSA and Netty support (EdDSA is provided by
net.i2p.crypto:eddsa
).Blueprint annotations (
org.apache.aries.blueprint:blueprint-maven-plugin-annotation
).Log4J2.
Pax Web 7.2.3 (synchronised with Karaf).
Upstream version removals¶
The following upstream dependencies have been removed from dependency management:
Google Protobuf.
Our repackaging of Jersey Servlet.
JUnit’s
junit-dep
, which has long been obsolete.LevelDB (which is still available as features).
Pax CDI API — Blueprint annotations should be used instead.
Plugin version upgrades¶
The following plugins have been upgraded:
Blueprint 1.4.0 → 1.10.0.
Build helper 1.12 → 3.0.0.
Bundle plugin 3.5.0 → 4.0.0.
Checkstyle 2.17 → 3.0.0.
Duplicate finder 1.2.1 → 1.3.0.
Git commit id 2.2.4 → 2.2.5.
Jacoco Maven plugin 0.8.1 → 0.8.2.
Javadoc 3.0.0 → 3.0.1.
PMD 3.8 → 3.10.0:
Sevntu 1.29.0 → 1.32.0.
SpotBugs 3.1.0-RC6 → 3.1.6 (see the SpotBugs changes above).
Version 3.1.3¶
This version fixes the following issues:
ODLPARENT-156:
xtend-maven-plugin
’s dependencies end up pulling in conflicting dependencies. ODL Parent now constrains part of its dependency tree to avoid this.
This version adds odl-jackson-2.8
to odlparent-artifacts
.
Version 3.1.2¶
This version fixes the following issues:
INFRAUTILS-41:
jre.properties
includescom.sun.management
so that it can be enabled if necessary. (This doesn’t add a dependency oncom.sun.management
, it allows bundles to use it if it is present.)ODLPARENT-136:
SingleFeatureTest
pulls inorg.osgi.compendium
.ODLPARENT-144:
org.apache.karaf.scr.management
is whitelisted so that it no longer affectsSingleFeatureTest
.ODLPARENT-146: null-related FindBugs checks which produce false-positives with Guava 23.6 and later are disabled, so that this really is fully backwards-compatible with 3.0 and later.
ODLPARENT-148:
SingleFeatureTest
preservestarget/SFT/karaf.log
.
This version includes the following improvements:
custom.properties
no longer includes OVSDB-specific configuration.The
odl-jersey-1
feature includes the Jersey client.Redundant bundle dependency declarations in
SingleFeatureTest
have been removed (these are declarations which are also present in our base Karaf distribution).Build errors involving invalid feature or bundle URLs now indicate which feature is at fault.
Obsolete Log4J overrides have been removed from
SingleFeatureTest
.
When building using JDK 9 or 10, the default settings have been changed as follows to avoid errors or extraneous warnings:
SFT is disabled (it needs Karaf 4.2 or later);
Javadocs are generated as HTML 4;
SpotBugs is disabled on JDK 10 or later;
FindBugs is disabled on JDK 9 or later.
The following third-party dependencies have been upgraded:
Guava 23.6 → 23.6.1. This addresses CVE-2018-10237 (that’s the only change in this release).
JDT annotations 2.1.0 → 2.1.150.
The following Maven plugin has been upgraded:
Version 3.1.1¶
This version fixes the following issues:
ODLPARENT-137: restore the OpenDaylight prompt.
ODLPARENT-146: Guava 23.6 switched from @Nullable to @NullableDecl, which causes false positives in FindBugs’
NP_NONNULL_PARAM_VIOLATION
rule; we’re disabling the rule for now.
Version 3.1.0¶
This version fixes the following issues:
Mycila dependencies are now “compile” scoped rather than “test”; this allows child projects to use Guice with Mycila more easily.
The duplicate finder now ignores
web.xml
and BluePrint XML files.
This version includes the following improvements:
The
-Pq
profile skips Maven Modernizer, in preparation for its future integration (and its use in child projects).An OWASP profile,
-Powasp
is available for vulnerability checking.A new
odl-jackson-2.8
feature provides Jackson 2.8 to child projects.
The following third-party dependencies have been added to dependency management:
The following third-party dependencies have been upgraded:
Aeron 1.2.5 → 1.7.0; release notes:
Agrona 0.9.5 → 0.9.12; release notes:
Akka 2.5.5 → 2.5.11; release notes:
Commons Lang 3 3.6 → 3.7
Guava 23.3 → 23.6; release notes:
H2 database 1.4.193 → 1.4.196
Jacoco 0.7.9 → 0.8.0
Javassist 3.21.0 → 3.22.0
lmax-disruptor 3.3.7 → 3.3.10; release notes:
Netty 4.1.16 → 4.1.22; release notes:
Scala 2.12.4 → 2.12.5
Typesafe Config 0.2.1 → 0.2.2
The following Maven plugins have been upgraded:
Version 3.0.3¶
This version fixes the following issues:
ODLPARENT-136:
features-test
needsorg.osgi.compendium
.Jackson dependencies are declared using
jackson-bom
to ensure all they remain consistent.find-duplicate-classpath-entries
is run in the “verify” phase rather than the “validate” phase, which is too early.The version of Jetty we pull in is now aligned with that declared in Karaf, resolving a number of restart and dependency issues.
Pulling in the
wrap
feature unconditionally is no longer necessary, sokaraf4-parent
no longer does so.metainf-services
are declared with scope “provided” to avoid their being included in downstream features (it’s a build-time dependency only).leveldb-api
is excluded fromodl-akka-leveldb-0.7
, andjsr250-api
fromenunciate-core-annotations
, to avoid duplicate having classes on the classpath.Since the
ssh
feature is excluded from generated features, our Karaf need to enable it at boot in all cases.bundle-test-lib
is now a bundle.Since we use static SLF4J loggers, the
SLF4J_LOGGER_SHOULD_BE_NON_STATIC
rule needs to be disabled in our FindBugs configuration (this allows downstream projects to enablefindbugs-slf4j
without having to deal with all the resulting false-positives).org.apache.karaf.scr.management
is white-listed in SFT to avoid failures apparently related to that component (which we don’t care about).
This version upgrades the following third-party dependencies:
Jersey 1.17 → 1.19.4 (additionally available as the
odl-jersey-1
feature)Jolokia 1.3.7 → 1.5.0
Karaf 4.1.3 → 4.1.5; release notes:
Version 3.0.2¶
This version fixes the following issues:
SingleFeatureTest uses the configured local Maven repository for Pax Exam.
JavaDoc links are disabled for now to speed up builds. A new
javadoc-links
profile enables the links.Conditional feature dependencies are processed, ensuring our distribution is complete.
Startup features are adjusted for Karaf 4.1, avoiding unnecessary refreshes.
The
hiddenField
Checkstyle check is disabled for abstract methods.The default logging configuration uses Log4J2, which is the new default in Karaf 4.1.
This version upgrades the following dependencies or plugins:
maven-enforcer-plugin
1.4.1 → 3.0.0-M1maven-javadoc-plugin
3.0.0-M1 → 3.0.0
Version 3.0.1¶
This version fixes the following issues:
Karaf pulls in an invalid Hibernate feature repository, breaking downstream dependencies pulling in the “war” feature.
populate-local-repo
corrects the repository dependency.
Version 3.0.0¶
Compiler settings¶
Build now show compiler warnings and deprecation warnings. This doesn’t affect the result or require any changes currently, it just makes the issues more visible.
New Checkstyle rules¶
Checkstyle has been upgraded from 7.6 to 8.4 (see the
Checkstyle release notes for details), and Sevntu from 1.21.0 to 1.24.2
(note that the latter’s group identifier changed from
com.github.sevntu.checkstyle
to com.github.sevntu-checkstyle
; you
might need to update your IDE’s configuration).
The following Checkstyle rules are enabled; this might require changes in projects which enforce Checkstyle validation:
FinalClass: utility classes must be declared
final
HiddenField: fields must not be shadowed
HideUtilityClassConstructor: utility classes must hide their constructor
Karaf¶
Karaf has been upgraded to 4.1.3. This should be transparent for dependent projects.
Karaf distributions¶
When building a Karaf distribution using
karaf4-parent
, projects can specify which archives to build: thekaraf.archiveZip
property will enable ZIP files if true, andkaraf.archiveTarGz
will enable gzip-compressed tarballs if true. By default both are enabled.Our Karaf distribution provides Bouncy Castle at startup. Auto-generated feature descriptors take this into account (they won’t embed a Bouncy Castle dependency).
Feature removals¶
The
odl-triemap-0.2
feature wrappingcom.github.romix:java-concurrent-hash-trie-map
was rendered obsolete by YANG Tools’ implementation and has been removed.
Feature additions¶
odl-javassist-3
provides Javassist in a feature.odl-jung-2.1
provides JUNG in a feature.
Upstream version upgrades¶
The following upstream dependencies have been upgraded:
Akka 2.4.18 → 2.5.4; release notes:
Eclipse JDT annotations 2.0.0 → 2.1.0
Felix Dependency Manager 4.3.0 → 4.4.1
Felix Dependency Manager Shell 4.0.4 → 4.0.6
Felix Metatype 1.1.2 → 1.1.6
Google Truth 0.28 → 0.36 (with the Java 8 extensions)
Guava 22 → 23.3 along with the associated feature name change from
odl-guava-22
toodl-guava-23
(dependent packages must change their dependency); release notes:Immutables 2.4.2 → 2.5.6
Jackson 2.3.2 → 2.8.9
Jacoco 0.7.7 → 0.7.9; release notes:
Jacoco Listeners 2.4 → 3.8
Netty 4.1.8 → 4.1.16; release notes:
Scala 2.11.11 → 2.12.4; release notes:
Servlet API 3.0.1 → 3.1.0
Upstream version additions¶
The following upstream dependencies have been added to dependency management:
Commons Text,
org.apache.commons:commons-text
(this will allow downstreams to migrate fromcommons-lang3
’sWordUtils
, which is deprecated)
Upstream version removals¶
The following upstream dependencies have been removed from dependency management (they are obsolete and unused):
Chameleon MBeans
Eclipse Link
Equinox HTTP service bridge
equinoxSDK381
artifactsCoda Hale Metrics, which are mostly unused and should eventually be wrapped by InfraUtils
com.google.code.findbugs:jsr305
(which must not be used; this is enforced —annotations
should be used instead)Felix File Install and Web Console
Gemini Web
Orbit
org.mockito:mockito-all
(which must not be used; this is enforced —mockito-core
should be used instead)Spring Framework
txw2
Xerces
xml-apis
Plugin version upgrades¶
The following plugins have been upgraded:
org.apache.servicemix.tooling:depends-maven-plugin
1.3.1 → 1.4.0org.apache.felix:maven-bundle-plugin
2.4.0 → 3.3.0maven-compiler-plugin
3.6.1 → 3.7.0maven-dependency-plugin
3.0.1 → 3.0.2maven-enforcer-plugin
1.4.1 → 3.0.0-M1maven-failsafe-plugin
2.18.1 → 2.20.1maven-javadoc-plugin
2.10.4 → 3.0.0-M1maven-shade-plugin
2.4.3 → 3.1.0
New plugins¶
The Maven Find Duplicates plugin can be enabled by setting the
duplicate-finder.skip
property tofalse
.The SpotBugs Maven plugin can now be used instead of the FindBugs plugin (both are available, so no change is required). To use SpotBugs, replace
org.codehaus.mojo:findbugs-maven-plugin
withcom.github.spotbugs:spotbugs-maven-plugin
.