From 8f841ae46e730e963d341e0a5796e48ce1422951 Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Fri, 5 Jun 2026 09:31:06 -0700 Subject: [PATCH 1/5] Remove requirement for package-info on all packages. --- tools/SketchesCheckstyle.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/SketchesCheckstyle.xml b/tools/SketchesCheckstyle.xml index 1d4a387b..e78aa6aa 100644 --- a/tools/SketchesCheckstyle.xml +++ b/tools/SketchesCheckstyle.xml @@ -54,8 +54,8 @@ under the License. - - + From 824e5e6bb163121d13c4f974df1b617521a87294 Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Thu, 4 Jun 2026 22:30:53 -0700 Subject: [PATCH 2/5] Add -B to all CI mvn commands --- .github/workflows/javadoc.yml | 6 +++--- .github/workflows/stageReleaseSources.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index a5edb5b2..58237004 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -58,19 +58,19 @@ jobs: - name: 3. Extract POM Project Version id: get-version run: | - POM_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) + POM_VERSION=$(mvn help:evaluate -B -Dexpression=project.version -q -DforceStdout) echo "Discovered Project Version: $POM_VERSION" echo "POM_VERSION=$POM_VERSION" >> $GITHUB_ENV - name: 4. Compile and Generate Java 11 Module Javadoc run: | echo "Generating Javadoc for Java 11 Module..." - mvn clean compile javadoc:javadoc -pl datasketches-memory-java11 + mvn clean compile javadoc:javadoc -B -pl datasketches-memory-java11 - name: 5. Compile and Generate Java 17/21 Module Javadoc run: | echo "Generating Javadoc for Java 17/21 Module..." - mvn compile javadoc:javadoc -pl datasketches-memory-java17_21 + mvn compile javadoc:javadoc -B -pl datasketches-memory-java17_21 - name: 6. Stage Artifacts for Review run: | diff --git a/.github/workflows/stageReleaseSources.yml b/.github/workflows/stageReleaseSources.yml index 6b07690e..f25f39d3 100644 --- a/.github/workflows/stageReleaseSources.yml +++ b/.github/workflows/stageReleaseSources.yml @@ -35,7 +35,7 @@ jobs: - name: 3. Extract POM Project Version id: parse-version run: | - POM_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) + POM_VERSION=$(mvn help:evaluate -B -Dexpression=project.version -q -DforceStdout) echo "Target Release Version: $POM_VERSION" echo "POM_VERSION=$POM_VERSION" >> $GITHUB_ENV @@ -43,7 +43,7 @@ jobs: - name: 4. Execute Apache RAT License Audit run: | echo "Running corporate license header checks..." - mvn apache-rat:check -N + mvn apache-rat:check -N -B # Diagnostic Step: Print the target report if the audit drops dead - name: 4b. Diagnostic - Display RAT Failure Report @@ -61,7 +61,7 @@ jobs: - name: 5. Build Apache Source Release Archive run: | echo "Assembling project distribution ZIP..." - mvn clean assembly:single -N + mvn clean assembly:single -N -B # 6. Relocate and calculate the SHA-512 cryptographic checksum string - name: 6. Stage Deliverables and Compute Checksums From 3b66a07908c96d2a7dc41521596534c98034d085 Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Thu, 4 Jun 2026 22:30:12 -0700 Subject: [PATCH 3/5] Add -B to all mvn commands --- .github/workflows/auto-jdk-os-matrix.yml | 2 +- .mvn/maven.config | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/auto-jdk-os-matrix.yml b/.github/workflows/auto-jdk-os-matrix.yml index 0942a084..3c6ae9f5 100644 --- a/.github/workflows/auto-jdk-os-matrix.yml +++ b/.github/workflows/auto-jdk-os-matrix.yml @@ -35,7 +35,7 @@ jobs: # Builds the isolated modules using their respective toolchains - name: Package All Versioned JARs - run: mvn clean package -DskipTests=true + run: mvn clean package -DskipTests=true -B # Archive the compiled artifacts and skeletal structure for Phase 2 testing - name: Archive Compiled Workspace diff --git a/.mvn/maven.config b/.mvn/maven.config index b09c3e70..e3004592 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -4,5 +4,4 @@ # To disable these warnings, set -Dmaven.project.sourceRoots.warningsDisabled=true on the command line or in the .mvn/maven.config file. -Dmaven.project.sourceRoots.warningsDisabled=true --no-transfer-progress ---batch-mode -Dstyle.color=always \ No newline at end of file From 6b8b7b7429b7e4a3871ec204c6869184b0f64a4d Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Sat, 6 Jun 2026 12:56:30 -0700 Subject: [PATCH 4/5] Force all text type files to have LF line endings. --- .gitattributes | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5a2440c1..194213dd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,28 +1,33 @@ # The default behavior, which overrides 'core.autocrlf', is to use Git's # built-in heuristics to determine whether a particular file is text or binary. # Text files are automatically normalized to the user's platforms. -* text=auto +# 15 years ago this was probably OK, but today it is a bad idea. +* text=auto eol=lf -# Explicitly declare text files that should always be normalized and converted -# to native line endings. -.asf.yaml text -.gitattributes text -.gitignore text -git.properties text -.travis.yml text -LICENSE text -NOTICE text -*.html text -*.java text -*.md text -*.properties text -*.sh text -*.xml text -*.yml text -*.yaml text +# Explicitly declare text files that should always be LF +.asf.yaml text eol=lf +.gitattributes text eol=lf +.gitignore text eol=lf +git.properties text eol=lf +.travis.yml text eol=lf +LICENSE text eol=lf +NOTICE text eol=lf +*.html text eol=lf +*.java text eol=lf +*.md text eol=lf +*.properties text eol=lf +*.sh text eol=lf +*.xml text eol=lf +*.yml text eol=lf +*.yaml text eol=lf *.txt text eol=lf +GettysburgAddress.txt text eol=lf + # Declare files that will always have CRLF line endings on checkout. +# Windows batch scripts strictly require CRLF +*.bat text eol=crlf +*.cmd text eol=crlf # Explicitly denote all files that are truly binary and should not be modified. *.jpg binary From bc4dbe43ed7d70008fbbf47a40ad0c3d49ba3dc6 Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Sat, 6 Jun 2026 15:13:01 -0700 Subject: [PATCH 5/5] update pom for source release & no .git --- pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f382225c..936642f1 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,12 @@ under the License. 1.7.0 - + + + source-release-no-git + unknown + unknown + unknown @@ -546,6 +551,7 @@ under the License. ${maven.multiModuleProjectDirectory}/.git false false + false