<version>5.1.42</version>
</dependency>
<dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc6</artifactId>
- <!-- SonarSource internal tests: -->
- <!-- This version should be the same as at http://infra.internal.sonarsource.com/jenkins/orch-oracle*.properties -->
- <version>11.2.0.3.0</version>
- </dependency>
+ <groupId>com.oracle.jdbc</groupId>
+ <artifactId>ojdbc8</artifactId>
+ <!--
+ This version is compatible with Oracle 11g and 12c :
+ http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_02
+ -->
+ <version>12.2.0.1.0</version>
+ </dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc6</artifactId>
+ <groupId>com.oracle.jdbc</groupId>
+ <artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
</profile>
#----- Oracle 11g/12c
-# - Only thin client is supported
-# - Only versions 11.2.x and 12.x of Oracle JDBC driver are supported
-# - The JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/
-# - If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000
+# The Oracle JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/.
+# Only the thin client is supported, and only the versions 11.2.x or 12.2.x must be used. See
+# https://jira.sonarsource.com/browse/SONAR-9758 for more details.
+# If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000
#sonar.jdbc.url=jdbc:oracle:thin:@localhost:1521/XE
</activation>
<dependencies>
<dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc6</artifactId>
+ <groupId>com.oracle.jdbc</groupId>
+ <artifactId>ojdbc8</artifactId>
</dependency>
</dependencies>
</profile>