Skip to content

Commit

Permalink
refactor(mysql): update mysql connector coordinate during upgrade to …
Browse files Browse the repository at this point in the history
…spring boot 2.7.x

In spring boot 2.7.8 onwards mysql connector coordinate `mysql:mysql-connector-java` has been removed and only `com.mysql:mysql-connector-j` coordinate exist.

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#mysql-jdbc-driver

So, updating the mysql connector coordinate as `com.mysql:mysql-connector-j` with spring boot upgrade to 2.7.18.

https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.7.18/spring-boot-dependencies-2.7.18.pom
  • Loading branch information
j-sandy authored and dbyron-sf committed Jun 12, 2024
1 parent 52d8b57 commit c40e2ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front50-integration/front50-integration.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
testImplementation "org.testcontainers:junit-jupiter"
testImplementation "org.testcontainers:mysql"
testRuntimeOnly "ch.qos.logback:logback-classic"
testRuntimeOnly "mysql:mysql-connector-java"
testRuntimeOnly "com.mysql:mysql-connector-j"
}

test.configure {
Expand Down
2 changes: 1 addition & 1 deletion front50-sql-mysql/front50-sql-mysql.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dependencies {
runtimeOnly "mysql:mysql-connector-java"
runtimeOnly "com.mysql:mysql-connector-j"
}
2 changes: 1 addition & 1 deletion front50-sql/front50-sql.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
testImplementation "dev.minutest:minutest"
testImplementation "org.junit.jupiter:junit-jupiter-api"

testImplementation "mysql:mysql-connector-java"
testImplementation "com.mysql:mysql-connector-j"
testImplementation "org.testcontainers:mysql"

testImplementation "org.testcontainers:postgresql"
Expand Down

0 comments on commit c40e2ea

Please sign in to comment.