Skip to content

Commit ddc8a5b

Browse files
committed
Prepare code for more recent versions of Guava
1 parent 6dc1ba1 commit ddc8a5b

4 files changed

Lines changed: 21 additions & 5 deletions

File tree

openml-generic-python/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
<groupId>com.google.auto.service</groupId>
5050
<artifactId>auto-service</artifactId>
5151
</dependency>
52+
<dependency>
53+
<groupId>com.google.guava</groupId>
54+
<artifactId>guava</artifactId>
55+
<scope>provided</scope>
56+
</dependency>
5257
<dependency>
5358
<groupId>com.fasterxml.jackson.core</groupId>
5459
<artifactId>jackson-databind</artifactId>

openml-python-common/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
<artifactId>jackson-databind</artifactId>
4848
<scope>provided</scope>
4949
</dependency>
50+
<dependency>
51+
<groupId>com.google.guava</groupId>
52+
<artifactId>guava</artifactId>
53+
<scope>provided</scope>
54+
</dependency>
5055
<dependency>
5156
<groupId>com.feedzai</groupId>
5257
<artifactId>openml-utils</artifactId>

openml-scikit/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
<groupId>com.google.auto.service</groupId>
4747
<artifactId>auto-service</artifactId>
4848
</dependency>
49+
<dependency>
50+
<groupId>com.google.guava</groupId>
51+
<artifactId>guava</artifactId>
52+
<scope>provided</scope>
53+
</dependency>
4954
<dependency>
5055
<groupId>com.feedzai</groupId>
5156
<artifactId>openml-utils</artifactId>

pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
<properties>
7070
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7171
<project.source>1.8</project.source>
72-
<guava.version>18.0</guava.version>
7372
<commons-math3.version>3.3</commons-math3.version>
7473
<commons-lang3.version>3.7</commons-lang3.version>
7574
<commons-io.version>2.4</commons-io.version>
@@ -110,11 +109,13 @@
110109
<scope>test</scope>
111110
</dependency>
112111

113-
<!--Guava-->
112+
<!-- Use the same dependencies versions of openml-api -->
114113
<dependency>
115-
<groupId>com.google.guava</groupId>
116-
<artifactId>guava</artifactId>
117-
<version>${guava.version}</version>
114+
<groupId>com.feedzai</groupId>
115+
<artifactId>openml</artifactId>
116+
<version>${openml-api.version}</version>
117+
<scope>import</scope>
118+
<type>pom</type>
118119
</dependency>
119120

120121
<!--Logging -->

0 commit comments

Comments
 (0)