Merge pull request #17782 from vpavic

* pr/17782:
  Add dependency management for IBM DB2 JDBC driver

Closes gh-17782
pull/17973/head
Stephane Nicoll 5 years ago
commit c44a6dee3d

@ -54,6 +54,7 @@
<couchbase-client.version>2.7.9</couchbase-client.version>
<couchbase-cache-client.version>2.1.0</couchbase-cache-client.version>
<dependency-management-plugin.version>1.0.8.RELEASE</dependency-management-plugin.version>
<db2-jdbc.version>11.5.0.0</db2-jdbc.version>
<derby.version>10.14.2.0</derby.version>
<dropwizard-metrics.version>4.1.0</dropwizard-metrics.version>
<ehcache.version>2.10.6</ehcache.version>
@ -716,6 +717,11 @@
<artifactId>hazelcast-spring</artifactId>
<version>${hazelcast.version}</version>
</dependency>
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<version>${db2-jdbc.version}</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>

@ -361,6 +361,11 @@
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>

@ -44,8 +44,8 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
class DatabaseDriverClassNameTests {
private static final Set<DatabaseDriver> EXCLUDED_DRIVERS = Collections.unmodifiableSet(
EnumSet.of(DatabaseDriver.UNKNOWN, DatabaseDriver.ORACLE, DatabaseDriver.DB2, DatabaseDriver.DB2_AS400,
private static final Set<DatabaseDriver> EXCLUDED_DRIVERS = Collections
.unmodifiableSet(EnumSet.of(DatabaseDriver.UNKNOWN, DatabaseDriver.ORACLE, DatabaseDriver.DB2_AS400,
DatabaseDriver.INFORMIX, DatabaseDriver.HANA, DatabaseDriver.TERADATA, DatabaseDriver.REDSHIFT));
@ParameterizedTest(name = "{0} {2}")

Loading…
Cancel
Save