This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 9657cae0f1 ARTEMIS-4627 Use now publicly available jdbc drivers for 
Oracle
9657cae0f1 is described below

commit 9657cae0f12bb3d864b34044a5bb81d4c2383a5d
Author: Clebert Suconic <[email protected]>
AuthorDate: Wed Jan 31 17:10:16 2024 -0500

    ARTEMIS-4627 Use now publicly available jdbc drivers for Oracle
    
    these drivers are downloaded on the server's and only used if the Oracle 
profile is enabled
---
 tests/db-tests/README.md                      | 8 --------
 tests/db-tests/jdbc-drivers/oracle/.gitignore | 1 -
 tests/db-tests/jdbc-drivers/oracle/README.md  | 3 ---
 tests/db-tests/pom.xml                        | 7 +++----
 4 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/tests/db-tests/README.md b/tests/db-tests/README.md
index 54f548c0e8..41d4c03297 100644
--- a/tests/db-tests/README.md
+++ b/tests/db-tests/README.md
@@ -51,11 +51,3 @@ One Artemis server is created for each supported database. 
After building, they
 - `./target/db2`
 
 Some of the tests on this module are connecting to the database directly, and 
these tests will use the JDBC jar directly from the `lib folder` from each of 
these servers.
-
-# Oracle JDBC Driver
-
-All the JDBC drivers using in this module are available as maven central 
repository and are being downloaded by the artemis-maven-plugin during the 
compilation phase of the tests.
-
-The exception to this rule is [Oracle 
database](https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html),
 for which you must provide the JAR under this location:
-
-- jdbc-drivers/oracle
\ No newline at end of file
diff --git a/tests/db-tests/jdbc-drivers/oracle/.gitignore 
b/tests/db-tests/jdbc-drivers/oracle/.gitignore
deleted file mode 100644
index d392f0e82c..0000000000
--- a/tests/db-tests/jdbc-drivers/oracle/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.jar
diff --git a/tests/db-tests/jdbc-drivers/oracle/README.md 
b/tests/db-tests/jdbc-drivers/oracle/README.md
deleted file mode 100644
index 5893b786ce..0000000000
--- a/tests/db-tests/jdbc-drivers/oracle/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Add the oracle jdbc driver that you downloaded from oracle.com and own a 
license on this folder. so the create process will place it in the correct 
place.
-
-At the time of the creation of this file, the JDBC driver for Oracle could be 
found at https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html
diff --git a/tests/db-tests/pom.xml b/tests/db-tests/pom.xml
index c963bf1d72..108fb8c706 100644
--- a/tests/db-tests/pom.xml
+++ b/tests/db-tests/pom.xml
@@ -325,10 +325,9 @@
                      <javaOptions>-Djava.net.preferIPv4Stack=true</javaOptions>
                      <instance>${basedir}/target/oracle</instance>
                      <noWeb>true</noWeb>
-                     <libFolders>
-                        <!-- you must download the driver here manually before 
you can use it -->
-                        <arg>${project.basedir}/jdbc-drivers/oracle</arg>
-                     </libFolders>
+                     <libListWithDeps>
+                        <arg>com.oracle.database.jdbc:ojdbc10:19.21.0.0</arg>
+                     </libListWithDeps>
                      <args>
                         <arg>--jdbc</arg>
                         <arg>--jdbc-connection-url</arg>

Reply via email to