diff --git a/.github/workflows/auto-jdk-os-matrix.yml b/.github/workflows/auto-jdk-os-matrix.yml
index 232f2514..62288457 100644
--- a/.github/workflows/auto-jdk-os-matrix.yml
+++ b/.github/workflows/auto-jdk-os-matrix.yml
@@ -6,66 +6,31 @@ on:
branches: [ 'main', '[0-9]+.[0-9]+.[Xx]', 'v[0-9]+.[0-9]+.[Xx]']
pull_request:
paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/LICENSE', '**/NOTICE' ]
- # The branches below must be a subset of the branches above
branches: [ 'main', '[0-9]+.[0-9]+.[Xx]', 'v[0-9]+.[0-9]+.[Xx]']
- workflow_dispatch:
+ workflow_dispatch:
-env:
- MAVEN_OPTS: -Xmx4g -Xms1g
- MAVEN_ARGS: "-B -Dmaven.javadoc.skip=true -Dgpg.skip=true"
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- build:
- name: Build, Test, Install
- runs-on: ${{ matrix.os }}
-
+ run-matrix:
strategy:
fail-fast: false
matrix:
jdk: [ 25 ]
os: [ windows-latest, ubuntu-latest, macos-latest ]
-
- steps:
- - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
- uses: actions/checkout@v4
- with:
- persist-credentials: false
-
- - name: Install Matrix JDK
- uses: actions/setup-java@v4
- with:
- java-version: ${{ matrix.jdk }}
- distribution: 'temurin'
- java-package: jdk
- architecture: x64
- cache: 'maven' # performance optimization
- overwrite-settings: true # ensures the runner's .m2/settings.xml is current
-
- - name: Verify Toolchain Configuration
- shell: bash
- run: |
- if [ -f ~/.m2/toolchains.xml ]; then
- cat ~/.m2/toolchains.xml
- else
- echo "toolchains.xml not found in ~/.m2/"
- fi
-
- - name: Echo Java & Maven Version
- run: mvn -version #also prints java-version
-
- - name: Print Current workflow
- run: cat .github/workflows/auto-jdk-os-matrix.yml
-
- - name: Test
- run: mvn clean test
-
- - name: Install
- run: mvn clean install "-DskipTests=true" "-Dmaven.clean.failOnError=false" #windows os hack
-
-
-# Architecture options: x86, x64, armv7, aarch64, ppc64le
-# Lifecycle: validate, compile, test, package, verify, install, deploy
-# -B batch mode, never stops for user input
-# -V show Version without stopping
-# -X debug mode
-# -q quiet, only show errors
+ include:
+ - os: windows-latest
+ arch: x64
+ - os: ubuntu-latest
+ arch: x64
+ - os: macos-latest
+ arch: aarch64
+
+ # Reference the reusable workflow on the "workflows" branch
+ uses: apache/datasketches-memory/.github/workflows/reusable-jdk-os-matrix.yml@workflows
+ with:
+ jdk_version: ${{ matrix.jdk }}
+ os_type: ${{ matrix.os }}
+ java_arch: ${{ matrix.arch }}
diff --git a/.mvn/maven.config b/.mvn/maven.config
new file mode 100644
index 00000000..87735fa0
--- /dev/null
+++ b/.mvn/maven.config
@@ -0,0 +1,5 @@
+# suppresses the warning:
+# Direct modification of testCompileSourceRoots through add() is deprecated and will not work in Maven 4.0.0. Please use the add/remove methods instead.
+# If you're using a plugin that causes this warning, please upgrade to the latest version and report an issue if the warning persists.
+# 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
diff --git a/DS-Java-Memory-24.code-workspace b/DS-Java-Memory-24.code-workspace
deleted file mode 100644
index 5285c6ef..00000000
--- a/DS-Java-Memory-24.code-workspace
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "folders": [
- {
- "path": "."
- },
- {
- "path": "../datasketches-java21"
- }
- ],
- "settings": {
- "maven.view": "flat"
- }
-}
\ No newline at end of file
diff --git a/README.md b/README.md
index 208862dc..ea3cfe3d 100644
--- a/README.md
+++ b/README.md
@@ -18,8 +18,8 @@
-->
[](https://travis-ci.org/apache/datasketches-memory)
-[](https://maven-badges.herokuapp.com/maven-central/org.apache.datasketches/datasketches-memory)
-[](https://coveralls.io/github/apache/datasketches-memory?branch=master)
+[](https://central.sonatype.com/artifact/org.apache.datasketches/datasketches-memory)
+[](https://coveralls.io/github/apache/datasketches-memory?branch=main)
=================
diff --git a/pom.xml b/pom.xml
index 681af90a..e0a5fd4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,44 +76,53 @@ under the License.
- 7.11.0
+ 7.12.0
- 3.6.3
+ 3.9.12
25
-
${java.version}
- -Xmx4g -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 ${jvm-arguments}
+ -Xmx4g
+ -Duser.language=en
+ -Duser.country=US
+ -Dfile.encoding=UTF-8
+ ${jvm.mem} ${jvm.locale.language} ${jvm.locale.country} ${jvm.locale.encoding}
UTF-8
${charset.encoding}
${charset.encoding}
${charset.encoding}
+ ${project.build.directory}/site
yyyy-MM-dd'T'HH-mm-ss'Z'
-
- 3.7.1
- 3.15.0
- 3.1.3
+
+
+ 3.8.0
+ 3.15.0
+ 3.1.4
3.6.2
- 3.2.7
+ 3.2.8
3.4.2
- 3.11.2
- 3.1.1
- 3.3.1
-
- 3.5.2
+ 3.12.0
+ 3.3.1
+ 3.4.0
+ 3.5.4
+
+
+ 0.17
+
+
3.2.0
-
- 4.9.10
-
- 0.16.1
-
+
+
- 4.3.0
+ 5.0.0
+
+
+ 9.0.2
+
- 0.8.13
-
- 2.18.0
+ 0.8.14
+
1.0.0
@@ -133,6 +142,7 @@ under the License.
+ org.apache.maven.plugins
maven-assembly-plugin
${maven-assembly-plugin.version}
@@ -143,14 +153,10 @@ under the License.
${maven-compiler-plugin.version}
true
-
- ${jvm-arguments}
-
-
org.apache.maven.plugins
maven-deploy-plugin
@@ -169,11 +175,11 @@ under the License.
-
@@ -224,8 +230,11 @@ under the License.
true
public
all,-missing
-
- ${jvm-arguments}
+
+ -J${jvm.mem}
+ -J${jvm.locale.language}
+ -J${jvm.locale.country}
+ -J${jvm.locale.encoding}
@@ -271,14 +280,18 @@ under the License.
maven-surefire-plugin
${maven-surefire-failsafe-plugins.version}
- ${jvm-arguments}
+ @{argLine} @{jvm.args}
${java.version}
false
false
false
- ${project.build.directory}/test-output/${maven.build.timestamp}
+ ${project.build.directory}/test-output
+
+ src/test/resources/testng.xml
+
+ false
@@ -317,30 +330,26 @@ under the License.
${project.basedir}/rat
true
- true
-
+
- **/*.yaml
- **/*.yml
- **/.*
- **/test/resources/**/*.txt
- **/git.properties
- LICENSE
- NOTICE
- **/*.code-workspace
-
+ StandardCollection
+ **/*.yaml
+ **/*.yml
+ **/.*
+ **/test/resources/**/*.txt
+ **/git.properties
+ **/doc/**
+ **/*.sk
+ LICENSE
+ NOTICE
+ **/*.code-workspace
+
-
- org.codehaus.mojo
- versions-maven-plugin
- ${versions-maven-plugin.version}
-
-
- org.eluder.coveralls
+ com.github.hazendaz.maven
coveralls-maven-plugin
${coveralls-maven-plugin.version}
@@ -349,7 +358,13 @@ under the License.
-
+ io.github.git-commit-id
+ git-commit-id-maven-plugin
+ ${git-commit-id-maven-plugin.version}
+
+
+
+
org.jacoco
jacoco-maven-plugin
${jacoco-maven-plugin.version}
@@ -362,6 +377,7 @@ under the License.
default-report
+ test
report
@@ -369,75 +385,81 @@ under the License.
-
- pl.project13.maven
- git-commit-id-plugin
- ${git-commit-id-plugin.version}
-
-
+
+
org.apache.maven.plugins
maven-assembly-plugin
+
org.apache.maven.plugins
maven-compiler-plugin
+
org.apache.maven.plugins
maven-deploy-plugin
+
org.apache.maven.plugins
maven-enforcer-plugin
+
org.apache.maven.plugins
maven-jar-plugin
+
org.apache.maven.plugins
maven-javadoc-plugin
+
org.apache.maven.plugins
maven-release-plugin
+
org.apache.maven.plugins
maven-source-plugin
+
org.apache.maven.plugins
maven-surefire-plugin
+
org.apache.maven.plugins
maven-toolchains-plugin
+
org.apache.rat
apache-rat-plugin
+
- org.codehaus.mojo
- versions-maven-plugin
+ com.github.hazendaz.maven
+ coveralls-maven-plugin
+
- org.eluder.coveralls
- coveralls-maven-plugin
+ io.github.git-commit-id
+ git-commit-id-maven-plugin
+
org.jacoco
jacoco-maven-plugin
-
- pl.project13.maven
- git-commit-id-plugin
-
+
@@ -458,11 +480,12 @@ under the License.
- pl.project13.maven
- git-commit-id-plugin
- ${git-commit-id-plugin.version}
+ io.github.git-commit-id
+ git-commit-id-maven-plugin
+ ${git-commit-id-maven-plugin.version}
+ get-the-git-infos
revision
@@ -523,14 +546,13 @@ under the License.
false
false
- false
+ true
+ true
- ${java.version} (${java.vendor} ${java.vm.version})
- ${os.name} ${os.arch} ${os.version}
The Apache Software Foundation
${project.groupId}:${project.artifactId}
-
+
${git.branch}
@@ -573,8 +595,8 @@ under the License.
- pl.project13.maven
- git-commit-id-plugin
+ io.github.git-commit-id
+ git-commit-id-maven-plugin
org.apache.maven.plugins
diff --git a/src/test/java/org/apache/datasketches/memory/internal/A_BeforeSuite.java b/src/test/java/org/apache/datasketches/memory/internal/A_BeforeSuite.java
index af16ccc3..28ecbd02 100644
--- a/src/test/java/org/apache/datasketches/memory/internal/A_BeforeSuite.java
+++ b/src/test/java/org/apache/datasketches/memory/internal/A_BeforeSuite.java
@@ -23,7 +23,7 @@
public class A_BeforeSuite {
- @BeforeSuite
+ @BeforeSuite(alwaysRun = true)
public void printTestEnvironment() {
System.out.println("====================================================");
System.out.println("TEST JDK: " + System.getProperty("java.version"));
diff --git a/src/test/resources/testng.xml b/src/test/resources/testng.xml
new file mode 100644
index 00000000..363c8e0e
--- /dev/null
+++ b/src/test/resources/testng.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tools/MemoryCheckstyle.xml b/tools/MemoryCheckstyle.xml
index aeff51cd..6dcdd51d 100644
--- a/tools/MemoryCheckstyle.xml
+++ b/tools/MemoryCheckstyle.xml
@@ -1,7 +1,4 @@
-
@@ -66,21 +63,21 @@ under the License.
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
@@ -150,51 +147,51 @@ under the License.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -202,11 +199,11 @@ under the License.
-
+
-
+
-
+
@@ -215,40 +212,40 @@ under the License.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -262,12 +259,12 @@ under the License.
-
+
-
+
@@ -278,27 +275,27 @@ under the License.
-
+
-
+
-
+
-
+
-
+
@@ -372,13 +369,13 @@ under the License.
-
+
-
+
@@ -389,26 +386,26 @@ under the License.
-
+
-
+
-
+
-
+
-
+
-
+
@@ -420,4 +417,4 @@ under the License.
-
\ No newline at end of file
+
diff --git a/tools/suppressions.xml b/tools/suppressions.xml
index 58cdce75..b79c1c2f 100644
--- a/tools/suppressions.xml
+++ b/tools/suppressions.xml
@@ -1,8 +1,4 @@
-
-
-
+