Skip to content

build: every dependency and build plugin on its latest release - #70

Merged
stbischof merged 5 commits into
mainfrom
build/dependency-updates
Nov 10, 2026
Merged

stbischof merged 5 commits into
mainfrom
build/dependency-updates

Conversation

@stbischof

Copy link
Copy Markdown
Contributor

Every dependency and build plugin takes its latest release, which closes the open Dependabot advisories (Derby, Jackson, pgjdbc, SQL Server, MariaDB). One commit per group:

Group Before Now
bnd 7.2.0 7.4.0
AssertJ with Byte Buddy 3.26.0 with 1.17.5 3.27.7 with 1.18.3
SLF4J 2.0.12 / 2.0.18 2.0.20
surefire / flatten / javadoc / editorconfig plugins 3.2.5 / 1.6.0 / 3.7.0 / 0.1.3 3.6.1 / 1.9.0 / 3.12.0 / 0.2.0
clean / resources / compiler / jar / install plugins whatever Maven ran the build 3.5.0 / 3.5.0 / 3.16.0 / 3.5.1 / 3.2.0
PostgreSQL 42.7.3 42.7.14
MariaDB Connector/J 3.3.3 / 3.5.5 3.5.11
SQL Server 12.6.1 / 12.8.2 (jre11) 13.6.2.jre11
MySQL Connector/J 9.0.0 9.7.0
Oracle ojdbc11 23.3 / 23.8 23.26.4.0.0
H2 2.2.224 / 2.3.230 2.5.252
SQLite 3.46.1.3 3.54.1.0
ClickHouse 0.9.8 / 0.11.0-rc1 0.11.1
Hive JDBC 4.2.0 4.2.1
UCanAccess 5.1.1 5.3.0
Jackson databind (opensearch) 2.20.1 2.23.0
AWS SDK core / HttpClient (opensearch) 1.12.1 / 4.5.13 1.12.797 / 4.5.14
Testcontainers 1.19.7 / 1.21.0 1.21.4
Derby (testkit) 10.14.2.0 10.17.1.0 with derbytools

Derby: 10.17.1.0 is the first release on Maven Central with the fix for the LDAP injection in its authenticator (CVE-2022-46337); the fixed 10.14, 10.15 and 10.16 releases were never published there. It is built for Java 19 and later, so the Derby testkit compiles for Java 21, as the PostgreSQL datasource does. Since Derby 10.15 its data sources, EmbeddedDataSource among them, are in derbytools.

Kept on purpose:

  • AssertJ and Byte Buddy change together: AssertJ 3.27 imports net.bytebuddy from 1.18 on, and the OSGi test runs resolve it.
  • The parent pom runs surefire and flatten with a fixed version in its own plugins, which pluginManagement does not reach, so the root pom names them as plugins.
  • JUnit stays on the version of the parent pom; the plugins that sign and publish a release stay with the parent pom too.
  • MariaDB Connector/J stays on 3.5.11 and MySQL Connector/J on 9.7.0 for now, not the new 4.0 and 26.x lines; Testcontainers stays on 1.21.4, not 2.x.

…, current build plugins

The root pom sets newer versions than the parent pom manages:
- bnd 7.4.0 for the bnd plugins.
- AssertJ 3.27.7 with Byte Buddy 1.18.3, the version AssertJ is built
  against and imports from 1.18 on; the two change together, or the
  OSGi test runs cannot resolve AssertJ.
- SLF4J 2.0.20.
- maven-surefire-plugin 3.6.1 and flatten-maven-plugin 1.9.0. The
  parent pom runs both with a fixed version in its own plugins, which
  pluginManagement does not reach, so they are plugin entries here.
- maven-javadoc-plugin 3.12.0, editorconfig-maven-plugin 0.2.0, and the
  plugins of the default lifecycle, which nothing named so far: clean
  3.5.0, resources 3.5.0, compiler 3.16.0, jar 3.5.1, install 3.2.0.

JUnit stays on the version of the parent pom. The plugins that sign
and publish a release stay with the parent pom too.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
PostgreSQL 42.7.14, MariaDB Connector/J 3.5.11, SQL Server 13.6.2.jre11,
MySQL Connector/J 9.7.0, Oracle ojdbc11 23.26.4.0.0, H2 2.5.252,
SQLite 3.54.1.0, ClickHouse 0.11.1 (from 0.11.0-rc1, now released),
Hive JDBC 4.2.1 and UCanAccess 5.3.0. This closes the advisories on
pgjdbc before 42.7.11 and MariaDB Connector/J before 3.5.11. The Hive
tests take Testcontainers 1.21.4, as the others do.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
jackson-databind goes from 2.20.1 to 2.23.0, which closes its
advisories (polymorphic type validation, unbounded number parsing,
forward references, unknown type ids, @JsonIgnore and @JSONVIEW
bypasses). aws-java-sdk-core goes from 1.12.1 to 1.12.797 and
HttpClient from 4.5.13 to 4.5.14.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
Each testkit takes the driver version of its datasource module:
PostgreSQL 42.7.14, MariaDB Connector/J 3.5.11, SQL Server
13.6.2.jre11, MySQL Connector/J 9.7.0, ojdbc11 23.26.4.0.0, H2 2.5.252,
SQLite 3.54.1.0, ClickHouse 0.11.1. The Testcontainers modules go from
1.21.0 to 1.21.4, SLF4J in the DuckDB testkit to 2.0.20. This closes
the advisories on pgjdbc, MariaDB Connector/J and the SQL Server driver
in the testkits.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
Derby before 10.17.1.0 on Maven Central has the LDAP injection in its
authenticator (CVE-2022-46337); the fixed 10.14, 10.15 and 10.16
releases were never published there. Derby 10.17 is built for Java 19
and later, so the testkit compiles for Java 21, as the PostgreSQL
datasource does. Since Derby 10.15 its data sources, EmbeddedDataSource
among them, are in derbytools, which the testkit now takes in the same
version.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
@sonarqubecloud

Copy link
Copy Markdown

@stbischof

Copy link
Copy Markdown
Contributor Author

/request-license-review

@stbischof
stbischof merged commit 2ea5924 into main Nov 10, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant