Skip to content

Commit

Permalink
Update Oracle driver and use publicly available artifact (#137)
Browse files Browse the repository at this point in the history
Summary:
Oracle finally made available the driver in a public repository.
This is the latest version of the driver, which is retro-compatible,
so that public artifact can be used, and the private repository can
finally be removed.
  • Loading branch information
jmf-tls committed Mar 9, 2020
1 parent d94877c commit e7364e2
Showing 1 changed file with 3 additions and 41 deletions.
44 changes: 3 additions & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,10 @@
<artifactId>postgresql</artifactId>
<version>42.2.6</version>
</dependency>
<!--
Needed for compilation even if Oracle DB won't be used;
This driver is not (officially) available in public repositories, download the driver from Oracle driver page
and run the following to install the driver in your local maven repository:
mvn install:install-file -DgroupId=com.oracle.jdbc -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar -Dfile=ojdbc8.jar
-->
<dependency>
<groupId>com.oracle.jdbc</groupId>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>18.3.0.0</version>
<version>19.3.0.0</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down Expand Up @@ -146,7 +140,7 @@
</dependency>
<!-- Oracle -->
<dependency>
<groupId>com.oracle.jdbc</groupId>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>provided</scope>
</dependency>
Expand Down Expand Up @@ -389,38 +383,6 @@
</plugins>
</build>

<repositories>
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo.maven.apache.org/maven2/</url>
</repository>

<repository>
<id>sonatype-nexus-public</id>
<name>SonaType public snapshots and releases repository</name>
<url>https://oss.sonatype.org/content/groups/public</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>

<repository>
<id>maven.oracle.com</id>
<name>Oracle repository</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://maven.oracle.com</url>
</repository>
</repositories>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
Expand Down

0 comments on commit e7364e2

Please sign in to comment.