From 8766975557b255ae311e306b23a38d222c621de4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:22:53 +0000 Subject: [PATCH 1/2] build(deps-dev): bump org.apache.tomcat:tomcat-jdbc Bumps org.apache.tomcat:tomcat-jdbc from 10.1.30 to 11.0.2. --- updated-dependencies: - dependency-name: org.apache.tomcat:tomcat-jdbc dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9ce5333..cfeb432 100644 --- a/pom.xml +++ b/pom.xml @@ -117,7 +117,7 @@ org.apache.tomcat tomcat-jdbc - 10.1.30 + 11.0.2 test From 8c065f655a843d5a8825d5e4d7aa9f9a2f39b12b Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 19 Dec 2024 15:54:39 +0100 Subject: [PATCH 2/2] Test TomcatJdbc only for Java 17+ Tomcat 11.x requires Java 17 or later --- .../java/liquibase/ext/percona/DatabaseConnectionUtilTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/liquibase/ext/percona/DatabaseConnectionUtilTest.java b/src/test/java/liquibase/ext/percona/DatabaseConnectionUtilTest.java index adcfee5..d0ad277 100644 --- a/src/test/java/liquibase/ext/percona/DatabaseConnectionUtilTest.java +++ b/src/test/java/liquibase/ext/percona/DatabaseConnectionUtilTest.java @@ -91,7 +91,7 @@ public void testGetPasswordMySQL() throws Exception { } @Test - @EnabledForJreRange(min = JRE.JAVA_11, disabledReason = "Tomcat JDBC 10.1.0 requires at least Java 11") + @EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "Tomcat JDBC 11.x requires at least Java 17") public void testTomcatJdbcConnection() throws Exception { DatabaseConnectionUtil util = new DatabaseConnectionUtil( new JdbcConnection(MockedTomcatJdbcConnection.create("user", "xyz")));