Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions build/ci/updater/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@
<artifactId>mssql-jdbc</artifactId>
<version>9.4.1.jre11</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11-production</artifactId>
<version>23.7.0.25.01</version>
<type>pom</type>
<exclusions>
<exclusion>
<!-- This dependency causes the JSPC compilation to fail.-->
<groupId>com.oracle.database.xml</groupId>
<artifactId>xmlparserv2</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<repositories>
Expand Down
11 changes: 4 additions & 7 deletions documentation/database.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ <h2>Introduction</h2>
</p>
<p>
JDBC drivers are required for Openfire to communicate with your database. Suggested drivers for particular
databases are noted below where applicable. Openfire bundles JDBC drivers for MySQL, Postgres, Microsoft
SQL Server, and HSQLDB.
databases are noted below where applicable. Openfire bundles JDBC drivers for MySQL, Oracle, PostgreSQL,
Microsoft SQL Server, and HSQLDB.
</p>
<p>
All supported database schemas can be found in the <code>resources/database</code> directory of the
Expand Down Expand Up @@ -159,11 +159,8 @@ <h2>Oracle</h2>
<h3>JDBC Drivers</h3>

<p>
The Oracle JDBC drivers cannot readily be distributed with Openfire, so must be manually downloaded
from <a href="https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/index.html">Oracle's website</a>.
Various versions of the drivers are available, but the most recent driver compatible with your version
of Oracle is recommended for use with Openfire. Copy the JDBC driver to the <code>lib/</code> directory
of your Openfire installation.
Openfire bundles Oracle 'production' JDBC drivers, as described on
<a href="https://www.oracle.com/database/technologies/maven-central-guide.html">Oracle's website</a>.
</p>

<p>
Expand Down
30 changes: 22 additions & 8 deletions xmppserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,16 @@
<artifactId>json</artifactId>
<version>20231013</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.0.1-jre</version>
</dependency>
<dependency>
<groupId>com.github.jgonian</groupId>
<artifactId>commons-ip-math</artifactId>
<version>1.32</version>
</dependency>

<!-- Database Drivers -->
<dependency>
Expand Down Expand Up @@ -500,15 +510,19 @@
<version>9.4.1.jre11</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.0.1-jre</version>
</dependency>
<dependency>
<groupId>com.github.jgonian</groupId>
<artifactId>commons-ip-math</artifactId>
<version>1.32</version>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11-production</artifactId>
<version>23.7.0.25.01</version>
<type>pom</type>
<exclusions>
<exclusion>
<!-- This dependency causes the JSPC compilation to fail.-->
<groupId>com.oracle.database.xml</groupId>
<artifactId>xmlparserv2</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Test Scope -->
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down