Skip to content

Commit

Permalink
build(deps-dev): bump org.apache.tomcat:tomcat-jdbc from 10.1.30 to 1…
Browse files Browse the repository at this point in the history
…1.0.2 (#523)

* 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] <[email protected]>

* Test TomcatJdbc only for Java 17+

Tomcat 11.x requires Java 17 or later

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Dangel <[email protected]>
  • Loading branch information
dependabot[bot] and adangel authored Dec 19, 2024
1 parent ccc9453 commit c982103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
<version>10.1.30</version>
<version>11.0.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
Expand Down

0 comments on commit c982103

Please sign in to comment.