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
This commit is contained in:
Clebert Suconic 2024-01-31 17:10:16 -05:00 committed by clebertsuconic
parent 5afe289490
commit 9657cae0f1
4 changed files with 3 additions and 16 deletions

View File

@ -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

View File

@ -1 +0,0 @@
*.jar

View File

@ -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

View File

@ -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>