Skip to content

Commit

Permalink
bump-mysql-connector (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
yesamer authored Aug 6, 2024
1 parent eea391d commit 871ea23
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
</dependency>

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ driverDef.version.postgresql=${version.org.postgresql}
driverDef.uuid.mysql=mysql-${version.mysql.connector-java}
driverDef.name.mysql=MySQL-${version.mysql.connector-java}
driverDef.driverClass.mysql=com.mysql.jdbc.Driver
driverDef.groupId.mysql=mysql
driverDef.artifactId.mysql=mysql-connector-java
driverDef.groupId.mysql=com.mysql
driverDef.artifactId.mysql=mysql-connector-j
driverDef.version.mysql=${version.mysql.connector-java}

# MariaDB 10.1.10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ driverDef.version.postgresql=9.4.1207
driverDef.uuid.mysql=mysql-5.1.38
driverDef.name.mysql=MySQL-5.1.38
driverDef.driverClass.mysql=com.mysql.jdbc.Driver
driverDef.groupId.mysql=mysql
driverDef.artifactId.mysql=mysql-connector-java
driverDef.groupId.mysql=com.mysql
driverDef.artifactId.mysql=mysql-connector-j
driverDef.version.mysql=5.1.38

# MariaDB 10.1.10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lucene-spatial=org.apache.lucene:lucene-spatial
lucene-spatial-extras=org.apache.lucene:lucene-spatial-extras
lucene-spatial3d=org.apache.lucene:lucene-spatial3d
lucene-suggest=org.apache.lucene:lucene-suggest
mysql-connector-java=mysql:mysql-connector-java
mysql-connector-java=com.mysql:mysql-connector-j
org.eclipse.bpmn2=org.eclipse:org.eclipse.bpmn2
org.eclipse.emf.common=org.eclipse.emf:org.eclipse.emf.common
org.eclipse.emf.ecore=org.eclipse.emf:org.eclipse.emf.ecore
Expand Down
4 changes: 2 additions & 2 deletions business-central-parent/business-central-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2200,8 +2200,8 @@
</dependency>

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions business-central-parent/business-monitoring-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1372,8 +1372,8 @@
</dependency>

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions business-central-parent/jbpm-server-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

<!-- db drivers -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

<dependencySet>
<includes>
<include>mysql:mysql-connector-java</include>
<include>com.mysql:mysql-connector-j</include>
</includes>
<outputDirectory>bin/drivers</outputDirectory>
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
embed-server --server-config=standalone.xml

try
module add --name=com.mysql --resources=drivers/mysql-connector-java.jar --dependencies=javax.api,javax.transaction.api
module add --name=com.mysql --resources=drivers/mysql-connector-j.jar --dependencies=javax.api,javax.transaction.api
catch
echo "MySQL module exists"
end-try
Expand Down

0 comments on commit 871ea23

Please sign in to comment.