Remove HikariCP-java6 dependency management

Dependency management for the `HikariCP-java6` dependency is no longer
needed since Java 6 is no longer supported by Spring Boot.

The HikariDriverConfigurationFailureAnalyzer has been updated with the
current message thrown by HikariCP in this failure scenario.

Closes gh-8147
pull/6306/merge
Tommy Ludwig 8 years ago committed by Stephane Nicoll
parent aa19cad770
commit 653366d664

@ -256,7 +256,7 @@
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java6</artifactId>
<artifactId>HikariCP</artifactId>
<optional>true</optional>
</dependency>
<dependency>

@ -241,7 +241,7 @@
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java6</artifactId>
<artifactId>HikariCP</artifactId>
<optional>true</optional>
</dependency>
<dependency>

@ -28,8 +28,8 @@ import org.springframework.boot.diagnostics.FailureAnalysis;
class HikariDriverConfigurationFailureAnalyzer
extends AbstractFailureAnalyzer<IllegalStateException> {
private static final String EXPECTED_MESSAGE = "both driverClassName and "
+ "dataSourceClassName are specified, one or the other should be used";
private static final String EXPECTED_MESSAGE = "cannot use driverClassName and "
+ "dataSourceClassName together.";
@Override
protected FailureAnalysis analyze(Throwable rootFailure,

@ -87,7 +87,6 @@
<hibernate.version>5.2.5.Final</hibernate.version>
<hibernate-validator.version>5.3.4.Final</hibernate-validator.version>
<hikaricp.version>2.5.1</hikaricp.version>
<hikaricp-java6.version>2.3.13</hikaricp-java6.version>
<hsqldb.version>2.3.3</hsqldb.version>
<htmlunit.version>2.21</htmlunit.version>
<httpasyncclient.version>4.1.2</httpasyncclient.version>
@ -743,11 +742,6 @@
<artifactId>HikariCP</artifactId>
<version>${hikaricp.version}</version>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java6</artifactId>
<version>${hikaricp-java6.version}</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>

Loading…
Cancel
Save