Skip to content

Commit

Permalink
[GEOS-11631] Update MySQL driver to 9.1.0 (geoserver#8088)
Browse files Browse the repository at this point in the history
  • Loading branch information
mprins authored Dec 6, 2024
1 parent e9b06e1 commit 551e5e7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<postgresql.jdbc.version>42.7.3</postgresql.jdbc.version>
<postgis.jdbc.version>1.3.3</postgis.jdbc.version>
<oracle.jdbc.version>19.18.0.0</oracle.jdbc.version>
<mysql.jdbc.version>8.0.28</mysql.jdbc.version>
<mysql.jdbc.version>9.1.0</mysql.jdbc.version>
<solrj.version>8.11.3</solrj.version>
<mockito.version>5.12.0</mockito.version>
<jacoco.version>0.8.6</jacoco.version>
Expand Down Expand Up @@ -922,9 +922,16 @@
<version>1.8</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>${mysql.jdbc.version}</version>
<exclusions>
<exclusion>
<artifactId>protobuf-java</artifactId>
<!-- only required for using X DevAPI -->
<groupId>com.google.protobuf</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/release/ext-mysql.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<outputDirectory></outputDirectory>
<includes>
<include>gt-jdbc-mysql*.jar</include>
<include>mysql-connector-java-*.jar</include>
<include>mysql-connector-j-*.jar</include>
</includes>
</fileSet>
<fileSet>
Expand Down
2 changes: 1 addition & 1 deletion src/release/extensions/mysql/mysql-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Contains the following data stores:

INSTALLATION

1. Copy included gt2-jdbc-mysql and mysql-connector-java jars included to your
1. Copy included gt2-jdbc-mysql and mysql-connector-j jars included to your
GeoServer library directory. In a binary install this is at
[GEOSERVER_HOME]/server/geoserver/WEB-INF/lib/
In a war install this is [container]/webapps/geoserver/WEB-INF/lib/
Expand Down
4 changes: 2 additions & 2 deletions src/security/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 551e5e7

Please sign in to comment.