Skip to content

Commit c7d58cc

Browse files
authored
Merge pull request #603 from scireum/feature/ymo/SIRI-920-dependencies
update some dependencies.
2 parents e942a75 + d5fbda5 commit c7d58cc

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

pom.xml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.scireum</groupId>
88
<artifactId>sirius-parent</artifactId>
9-
<version>11.2.0</version>
9+
<version>11.5.0</version>
1010
</parent>
1111
<artifactId>sirius-db</artifactId>
1212
<version>DEVELOPMENT-SNAPSHOT</version>
@@ -19,7 +19,7 @@
1919
<url>http://www.sirius-lib.net</url>
2020

2121
<properties>
22-
<sirius.kernel>dev-40.0.0</sirius.kernel>
22+
<sirius.kernel>dev-42.0.0</sirius.kernel>
2323
</properties>
2424

2525
<repositories>
@@ -45,12 +45,12 @@
4545
<dependency>
4646
<groupId>org.apache.commons</groupId>
4747
<artifactId>commons-dbcp2</artifactId>
48-
<version>2.9.0</version>
48+
<version>2.11.0</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>org.mongodb</groupId>
5252
<artifactId>mongodb-driver-sync</artifactId>
53-
<version>4.7.1</version>
53+
<version>4.11.1</version>
5454
</dependency>
5555
<dependency>
5656
<groupId>redis.clients</groupId>
@@ -67,19 +67,12 @@
6767
<dependency>
6868
<groupId>org.elasticsearch.client</groupId>
6969
<artifactId>elasticsearch-rest-client</artifactId>
70-
<version>8.4.1</version>
70+
<version>8.11.2</version>
7171
</dependency>
72-
<!-- Required as the version brought by elasticsearch-rest-client contains security issues -->
73-
<dependency>
74-
<groupId>org.apache.httpcomponents</groupId>
75-
<artifactId>httpclient</artifactId>
76-
<version>4.5.13</version>
77-
</dependency>
78-
7972
<dependency>
8073
<groupId>org.mariadb.jdbc</groupId>
8174
<artifactId>mariadb-java-client</artifactId>
82-
<version>3.0.6</version>
75+
<version>3.3.1</version>
8376
<scope>test</scope>
8477
</dependency>
8578
<dependency>

src/main/java/sirius/db/jdbc/Database.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ private void initialize() {
353353
ds.setMaxIdle(maxIdle);
354354
ds.setTestOnBorrow(testOnBorrow);
355355
ds.setValidationQuery(validationQuery);
356-
ds.setMaxWaitMillis(1000);
356+
ds.setMaxWait(Duration.ofSeconds(1));
357357
}
358358
}
359359

src/test/kotlin/sirius/db/testutil/MongoMocks.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ import sirius.db.mongo.types.MongoRef
1919
class MongoMocks {
2020
companion object {
2121
/**
22-
* Wrap an entity as a MongoRef
23-
* @param entity which is to be wrapped
24-
*/ /**
2522
* Wrap an entity as a MongoRef
2623
* @param entity which is to be wrapped
2724
*/

0 commit comments

Comments
 (0)