Skip to content

Commit 88302e7

Browse files
committed
Bumping OkHttp to 4.11, Jackson to 2.14.3
And a few other patch upgrades. Also set version to 6.2-SNAPSHOT in preparation for a 6.2.1 release.
1 parent 703d023 commit 88302e7

File tree

4 files changed

+31
-24
lines changed

4 files changed

+31
-24
lines changed

examples/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ dependencies {
1919
api 'io.github.rburgst:okhttp-digest:2.7'
2020
api 'org.slf4j:slf4j-api:1.7.36'
2121
api 'com.fasterxml.jackson.core:jackson-databind:2.14.1'
22+
23+
// hsqldb 2.6+ requires Java 11+
2224
api 'org.hsqldb:hsqldb:2.5.2'
25+
2326
api 'org.jdom:jdom2:2.0.6.1'
24-
api 'dom4j:dom4j:1.6.1'
27+
api 'org.dom4j:dom4j:2.1.3'
2528
api 'com.google.code.gson:gson:2.10'
2629
api 'net.sourceforge.htmlcleaner:htmlcleaner:2.26'
2730
api 'com.opencsv:opencsv:4.6'
28-
api 'org.springframework:spring-jdbc:5.3.24'
31+
api 'org.springframework:spring-jdbc:5.3.27'
2932
api 'org.apache.commons:commons-lang3:3.12.0'
3033
api 'org.apache.httpcomponents:httpclient:4.5.14'
3134
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=com.marklogic
2-
version=6.3-SNAPSHOT
2+
version=6.2-SNAPSHOT
33
describedName=MarkLogic Java Client API
44
publishUrl=file:../marklogic-java/releases
55

marklogic-client-api/build.gradle

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,44 @@ description = "The official MarkLogic Java client API."
1212
dependencies {
1313
if (JavaVersion.current().isJava9Compatible()) {
1414
implementation 'javax.xml.bind:jaxb-api:2.3.1'
15-
implementation 'org.glassfish.jaxb:jaxb-runtime:2.3.2'
15+
implementation 'org.glassfish.jaxb:jaxb-runtime:2.3.8'
1616
implementation 'org.glassfish.jaxb:jaxb-core:2.3.0.1'
1717
}
18-
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
19-
implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
18+
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
19+
implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0'
2020
implementation 'io.github.rburgst:okhttp-digest:2.7'
2121
implementation 'com.sun.mail:javax.mail:1.6.2'
2222
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
2323
implementation 'org.slf4j:slf4j-api:1.7.36'
24-
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.1'
25-
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.14.1'
26-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.1'
27-
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.14.1'
24+
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.3'
25+
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.14.3'
26+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.3'
27+
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.14.3'
2828

2929
// Only used by extras (which some examples then depend on)
30+
// Forcing codec version to avoid vulnerability with older version in httpclient
31+
compileOnly 'commons-codec:commons-codec:1.15'
3032
compileOnly 'org.apache.httpcomponents:httpclient:4.5.14'
3133
compileOnly 'org.jdom:jdom2:2.0.6.1'
32-
compileOnly 'dom4j:dom4j:1.6.1'
34+
compileOnly 'org.dom4j:dom4j:2.1.3'
3335
compileOnly 'com.google.code.gson:gson:2.10'
3436

35-
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.1'
36-
testImplementation 'org.xmlunit:xmlunit-legacy:2.9.0'
37+
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3'
38+
// Forcing junit version to avoid vulnerability with older version in xmlunit
39+
testImplementation 'junit:junit:4.13.1'
40+
testImplementation 'org.xmlunit:xmlunit-legacy:2.9.1'
3741
testImplementation project(':examples')
3842

3943
// Allows talking to the Manage API. It depends on the Java Client itself, which will usually be a slightly older
4044
// version, but that should not have any impact on the tests.
41-
testImplementation "com.marklogic:ml-app-deployer:4.5.1"
45+
testImplementation "com.marklogic:ml-app-deployer:4.5.2"
4246

4347
// Starting with mockito 5.x, Java 11 is required, so sticking with 4.x as we have to support Java 8.
4448
testImplementation "org.mockito:mockito-core:4.11.0"
4549
testImplementation "org.mockito:mockito-inline:4.11.0"
46-
testImplementation "com.squareup.okhttp3:mockwebserver:4.10.0"
50+
testImplementation "com.squareup.okhttp3:mockwebserver:4.11.0"
4751

48-
testImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.1'
52+
testImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.3'
4953
testImplementation 'ch.qos.logback:logback-classic:1.3.5'
5054
// schema validation issue with testImplementation 'xerces:xercesImpl:2.12.0'
5155
testImplementation 'org.opengis.cite.xerces:xercesImpl-xsd11:2.12-beta-r1667115'

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It is not intended to be used to build this project.
1111
<modelVersion>4.0.0</modelVersion>
1212
<groupId>com.marklogic</groupId>
1313
<artifactId>marklogic-client-api</artifactId>
14-
<version>6.1-SNAPSHOT</version>
14+
<version>6.2-SNAPSHOT</version>
1515
<dependencies>
1616
<dependency>
1717
<groupId>javax.xml.bind</groupId>
@@ -22,7 +22,7 @@ It is not intended to be used to build this project.
2222
<dependency>
2323
<groupId>org.glassfish.jaxb</groupId>
2424
<artifactId>jaxb-runtime</artifactId>
25-
<version>2.3.2</version>
25+
<version>2.3.8</version>
2626
<scope>runtime</scope>
2727
</dependency>
2828
<dependency>
@@ -34,13 +34,13 @@ It is not intended to be used to build this project.
3434
<dependency>
3535
<groupId>com.squareup.okhttp3</groupId>
3636
<artifactId>okhttp</artifactId>
37-
<version>4.10.0</version>
37+
<version>4.11.0</version>
3838
<scope>runtime</scope>
3939
</dependency>
4040
<dependency>
4141
<groupId>com.squareup.okhttp3</groupId>
4242
<artifactId>logging-interceptor</artifactId>
43-
<version>4.10.0</version>
43+
<version>4.11.0</version>
4444
<scope>runtime</scope>
4545
</dependency>
4646
<dependency>
@@ -70,25 +70,25 @@ It is not intended to be used to build this project.
7070
<dependency>
7171
<groupId>com.fasterxml.jackson.core</groupId>
7272
<artifactId>jackson-core</artifactId>
73-
<version>2.14.1</version>
73+
<version>2.14.3</version>
7474
<scope>runtime</scope>
7575
</dependency>
7676
<dependency>
7777
<groupId>com.fasterxml.jackson.core</groupId>
7878
<artifactId>jackson-annotations</artifactId>
79-
<version>2.14.1</version>
79+
<version>2.14.3</version>
8080
<scope>runtime</scope>
8181
</dependency>
8282
<dependency>
8383
<groupId>com.fasterxml.jackson.core</groupId>
8484
<artifactId>jackson-databind</artifactId>
85-
<version>2.14.1</version>
85+
<version>2.14.3</version>
8686
<scope>runtime</scope>
8787
</dependency>
8888
<dependency>
8989
<groupId>com.fasterxml.jackson.dataformat</groupId>
9090
<artifactId>jackson-dataformat-csv</artifactId>
91-
<version>2.14.1</version>
91+
<version>2.14.3</version>
9292
<scope>runtime</scope>
9393
</dependency>
9494
</dependencies>

0 commit comments

Comments
 (0)