Skip to content

Commit ce128c9

Browse files
authored
Merge pull request #797 from marklogic/release/6.0.1
MLE-23593 Merge release/6.0.1 into master
2 parents cfb7587 + b32c186 commit ce128c9

File tree

58 files changed

+758
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+758
-221
lines changed

.copyrightconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# COPYRIGHT VALIDATION CONFIG
2+
# ---------------------------------
3+
# Required start year (keep fixed; end year auto-updates in check output)
4+
startyear: 2015
5+
6+
# Optional exclusions list (comma-separated). Leave commented if none.
7+
# Rules:
8+
# - Relative paths (no leading ./)
9+
# - Simple * wildcard only (no recursive **)
10+
# - Use sparingly (third_party, generated, binary assets)
11+
# - Dotfiles already skipped automatically
12+
# Enable by removing the leading '# ' from the next line and editing values.
13+
# filesexcluded: third_party/*, docs/generated/*.md, assets/*.png, scripts/temp_*.py, vendor/lib.js
14+
filesexcluded: .github/*, README.md, Jenkinsfile, gradle/*, docker-compose.yml, *.gradle, gradle.properties, gradlew, gradlew.bat

.github/workflows/pr-workflow.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🏷️ JIRA ID Validator
1+
name: PR Workflow
22

33
on:
44
# Using pull_request_target instead of pull_request to handle PRs from forks
@@ -14,3 +14,10 @@ jobs:
1414
with:
1515
# Pass the PR title from the event context
1616
pr-title: ${{ github.event.pull_request.title }}
17+
copyright-validation:
18+
name: © Validate Copyright Headers
19+
uses: marklogic/pr-workflows/.github/workflows/copyright-check.yml@main
20+
permissions:
21+
contents: read
22+
pull-requests: write
23+
issues: write

Jenkinsfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,13 @@ pipeline {
7878
}
7979
steps{
8080
sh label:'publish', script: '''#!/bin/bash
81-
export JAVA_HOME=$JAVA_HOME_DIR
82-
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
83-
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
84-
cp ~/.gradle/gradle.properties $GRADLE_USER_HOME;
85-
cd ml-gradle
81+
export JAVA_HOME=$JAVA_HOME_DIR;
82+
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR;
83+
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH;
84+
rm -rf $GRADLE_USER_HOME || true;
85+
cd ml-gradle;
86+
./gradlew clean;
87+
cp ~/.gradle/gradle.properties $GRADLE_USER_HOME/;
8688
./gradlew publish
8789
'''
8890
}

NOTICE.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ marklogic-client-api 7.2.0 (Apache-2.0)
1919
marklogic-xcc 12.0.0 (Apache-2.0)
2020
okhttp 4.12.0 (Apache-2.0)
2121
slf4j-api 2.0.17 (MIT)
22-
spring-web 5.3.39 (Apache-2.0)
22+
spring-web 6.2.11 (Apache-2.0)
2323
zjsonpatch 0.4.16 (Apache-2.0)
2424

2525
Third-Party Components
2626

27-
The following is a list of the third-party components used by Progress® MarkLogic® Ml-gradle 6.0.0 (last updated July 31, 2025):
27+
The following is a list of the third-party components used by Progress® MarkLogic® Ml-gradle 6.0.1 (last updated September 22nd, 2025):
2828

2929
commons-io 2.20.0 (Apache-2.0)
3030
https://repo1.maven.org/maven2/commons-io/commons-io/
@@ -62,7 +62,7 @@ slf4j-api 2.0.17 (MIT)
6262
https://repo1.maven.org/maven2/org/slf4j/slf4j-api/
6363
For the full text of the MIT license, see MIT license (MIT)
6464

65-
spring-web 5.3.39 (Apache-2.0)
65+
spring-web 6.2.11 (Apache-2.0)
6666
https://repo1.maven.org/maven2/org/springframework/spring-web/
6767
For the full text of the Apache-2.0 license, see Apache License 2.0 (Apache-2.0)
6868

@@ -72,7 +72,7 @@ For the full text of the Apache-2.0 license, see Apache License 2.0 (Apache-2.0)
7272

7373
Common Licenses
7474

75-
The following is a list of the common licenses used by Progress® MarkLogic® Ml-gradle 6.0.0 (last updated July 31, 2025):
75+
The following is a list of the common licenses used by Progress® MarkLogic® Ml-gradle 6.0.1 (last updated September 22nd, 2025):
7676

7777
Apache License 2.0 (Apache-2.0)
7878
https://spdx.org/licenses/Apache-2.0.html

build.gradle

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
// Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
2+
13
// Defines common configuration for each of the 3 subprojects.
24
subprojects {
35
apply plugin: "java-library"
46
apply plugin: "maven-publish"
57

68
group = "com.marklogic"
7-
version = "6.0.0"
89

910
java {
1011
sourceCompatibility = 17
@@ -15,7 +16,7 @@ subprojects {
1516
mavenCentral()
1617
mavenLocal()
1718
maven {
18-
url "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
19+
url = "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
1920
}
2021
}
2122

@@ -33,15 +34,25 @@ subprojects {
3334
testImplementation 'org.slf4j:slf4j-api:2.0.17'
3435
}
3536

36-
javadoc.failOnError = false
37+
// Allows for quickly identifying compiler warnings and treating them as errors.
38+
tasks.withType(JavaCompile) {
39+
options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Werror"]
40+
options.deprecation = true
41+
options.warnings = true
42+
}
43+
44+
javadoc {
45+
failOnError = false
46+
}
47+
3748
// Ignores warnings on params that don't have descriptions, which is a little too noisy
3849
javadoc.options.addStringOption('Xdoclint:none', '-quiet')
3950

4051
test {
4152
useJUnitPlatform()
4253
testLogging {
4354
events 'started','passed', 'skipped', 'failed'
44-
exceptionFormat 'full'
55+
exceptionFormat = 'full'
4556
}
4657
}
4758

@@ -90,17 +101,17 @@ subprojects {
90101
maven {
91102
if (project.hasProperty("mavenUser")) {
92103
credentials {
93-
username mavenUser
94-
password mavenPassword
104+
username = mavenUser
105+
password = mavenPassword
95106
}
96107
url publishUrl
97108
allowInsecureProtocol = true
98109
} else {
99110
name = "central"
100111
url = mavenCentralUrl
101112
credentials {
102-
username mavenCentralUsername
103-
password mavenCentralPassword
113+
username = mavenCentralUsername
114+
password = mavenCentralPassword
104115
}
105116
}
106117
}

docker-compose.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
# Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
2+
13
name: docker-tests-ml-gradle
24

35
services:
46

57
marklogic:
68
image: "${MARKLOGIC_IMAGE}"
79
platform: linux/amd64
10+
# The NET_RAW capability allows a process to create raw sockets. Polaris does not like that.
11+
# This setting removes the NET_RAW capability from the container.
12+
cap_drop:
13+
- NET_RAW
814
environment:
915
- MARKLOGIC_INIT=true
1016
- MARKLOGIC_ADMIN_USERNAME=admin

examples/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

examples/jdbc-project/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ repositories {
88
}
99

1010
dependencies {
11-
implementation "org.springframework:spring-jdbc:6.2.9"
12-
implementation "org.postgresql:postgresql:42.7.7"
11+
implementation "org.springframework:spring-jdbc:6.2.11"
12+
implementation "org.postgresql:postgresql:42.7.8"
1313
}
1414

1515
task selectFromSysTables(type: JavaExec) {

examples/local-testing-project/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
// Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
2+
13
buildscript {
24
repositories {
35
mavenLocal()
46
maven {
5-
url "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
7+
url = "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
68
}
79
mavenCentral()
810
}

examples/marklogic-cloud-project/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
// Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
2+
13
buildscript {
24
repositories {
35
mavenLocal()
46
maven {
5-
url "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
7+
url = "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
68
}
79
mavenCentral()
810
}

0 commit comments

Comments
 (0)