Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit a58e562

Browse files
authored
Merge pull request #204 from BillFarber/dev
Merge in 4.8.0 changes
2 parents d6cec23 + f9f839e commit a58e562

File tree

5 files changed

+19
-16
lines changed

5 files changed

+19
-16
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ the following steps:
33

44
1. Create a file named `gradle-local.properties`.
55
2. Add `mlPassword=` followed by the password for your MarkLogic admin user.
6-
3. Verify that port 8070 is available on your computer - i.e. no other process is listening on it.
6+
3. Verify that port 8028 is available on your computer - i.e. no other process is listening on it.
77
4. Run `./gradlew -i mlDeploy`.
88

99
You can then run `./gradlew -i test` to run all of the tests.

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pipeline{
66
buildDiscarder logRotator(artifactDaysToKeepStr: '7', artifactNumToKeepStr: '', daysToKeepStr: '30', numToKeepStr: '')
77
}
88
environment{
9-
JAVA_HOME_DIR="/home/builder/java/jdk-11.0.2"
9+
JAVA_HOME_DIR="/home/builder/java/openjdk-1.8.0-262"
1010
GRADLE_DIR =".gradle"
1111
DMC_USER = credentials('MLBUILD_USER')
1212
DMC_PASSWORD = credentials('MLBUILD_PASSWORD')

build.gradle

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ plugins {
1010

1111
// For deploying the test app.
1212
id 'net.saliman.properties' version '1.5.2'
13-
id "com.marklogic.ml-gradle" version "4.6.1"
13+
id "com.marklogic.ml-gradle" version "4.7.0"
1414
}
1515

1616
group = "com.marklogic"
17-
version = "4.7.0"
17+
version = "4.8.0"
1818

1919
java {
2020
sourceCompatibility = 1.8
@@ -30,38 +30,38 @@ repositories {
3030
}
3131

3232
dependencies {
33-
api 'com.marklogic:marklogic-client-api:6.5.0'
34-
api 'com.marklogic:marklogic-xcc:11.1.0'
35-
api 'org.springframework:spring-context:5.3.31'
33+
api 'com.marklogic:marklogic-client-api:6.6.0'
34+
api 'com.marklogic:marklogic-xcc:11.2.0'
35+
api 'org.springframework:spring-context:5.3.34'
3636

3737
implementation 'org.jdom:jdom2:2.0.6.1'
3838

3939
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.3'
4040

4141
// This is currently an implementation dependency, though perhaps should be an api dependency due to its usage in
4242
// LoggingObject; not clear yet on whether the protected Logger in that class should make this an api dependency or not
43-
implementation 'org.slf4j:slf4j-api:1.7.36'
43+
implementation 'org.slf4j:slf4j-api:2.0.13'
4444

45-
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
46-
testImplementation 'org.springframework:spring-test:5.3.31'
45+
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
46+
testImplementation 'org.springframework:spring-test:5.3.34'
4747
testImplementation 'org.mockito:mockito-core:4.11.0'
4848

4949
// Used for testing loading modules from the classpath
5050
testImplementation files("lib/modules.jar")
5151

5252
// Forcing Spring to use logback instead of commons-logging
5353
testImplementation "ch.qos.logback:logback-classic:1.3.14" // Not using 1.4.x yet as it requires Java 11
54-
testImplementation "org.slf4j:jcl-over-slf4j:1.7.36"
55-
testImplementation "org.slf4j:slf4j-api:1.7.36"
54+
testImplementation "org.slf4j:jcl-over-slf4j:2.0.13"
55+
testImplementation "org.slf4j:slf4j-api:2.0.13"
5656

5757
// For verifying that JAXB can be used in a test on Java 11 or higher
5858
testImplementation "javax.xml.bind:jaxb-api:2.3.1"
59-
testImplementation "org.glassfish.jaxb:jaxb-runtime:2.3.2"
59+
testImplementation "org.glassfish.jaxb:jaxb-runtime:2.3.9"
6060
testImplementation "org.glassfish.jaxb:jaxb-core:2.3.0.1"
6161

6262
// Including the "new" JAXB libraries to verify that their presence doesn't cause the "old" JAXB libraries to fail
63-
testImplementation "jakarta.xml.bind:jakarta.xml.bind-api:4.0.0"
64-
testImplementation "com.sun.xml.bind:jaxb-impl:4.0.3"
63+
testImplementation "jakarta.xml.bind:jakarta.xml.bind-api:4.0.2"
64+
testImplementation "com.sun.xml.bind:jaxb-impl:4.0.5"
6565
}
6666

6767
test {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It is not intended to be used to build this project.
1212
<modelVersion>4.0.0</modelVersion>
1313
<groupId>com.marklogic</groupId>
1414
<artifactId>ml-javaclient-util</artifactId>
15-
<version>4.6.0</version>
15+
<version>4.8.0</version>
1616
<name>com.marklogic:ml-javaclient-util</name>
1717
<description>Library that adds functionality on top of the MarkLogic Java Client</description>
1818
<url>https://github.com/marklogic/ml-javaclient-util</url>

src/test/java/com/marklogic/client/ext/jaxb/JAXBHandleTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
import com.marklogic.client.io.JAXBHandle;
1919
import org.junit.jupiter.api.Test;
20+
import org.junit.jupiter.api.condition.EnabledForJreRange;
21+
import org.junit.jupiter.api.condition.JRE;
2022

2123
import javax.xml.bind.JAXBContext;
2224
import javax.xml.bind.JAXBException;
@@ -33,6 +35,7 @@ public class JAXBHandleTest {
3335
* @throws JAXBException
3436
*/
3537
@Test
38+
@EnabledForJreRange(min = JRE.JAVA_11)
3639
void simpleTest() throws JAXBException {
3740
JAXBHandle handle = new JAXBHandle(JAXBContext.newInstance(Product.class));
3841
Product p = new Product();

0 commit comments

Comments
 (0)