This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch update_7.0.X
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git


The following commit(s) were added to refs/heads/update_7.0.X by this push:
     new 0ff78483 Remove extraneous scripts
0ff78483 is described below

commit 0ff7848333b77fd751712ecfbb52d05f0d63405f
Author: Lee Rhodes <[email protected]>
AuthorDate: Thu May 21 17:03:27 2026 -0700

    Remove extraneous scripts
---
 tools/CloverConfig.txt                      |  49 -------
 tools/FindBugsExcludeFilter.xml             |  33 -----
 tools/scripts/assets/CheckMemoryJar.java    | 147 -------------------
 tools/scripts/assets/LoremIpsum.txt         |   3 -
 tools/scripts/get-git-properties.sh         |  66 ---------
 tools/scripts/package-multi-release-jar.sh  | 215 ----------------------------
 tools/scripts/package-single-release-jar.sh | 146 -------------------
 tools/scripts/sign-deploy-jar.sh            |  89 ------------
 tools/scripts/test-jar.sh                   |  96 -------------
 tools/toolchains.xml                        |  53 -------
 10 files changed, 897 deletions(-)

diff --git a/tools/CloverConfig.txt b/tools/CloverConfig.txt
deleted file mode 100644
index 77ea2ce2..00000000
--- a/tools/CloverConfig.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-# 
-#   http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-Clover Config for Eclipse:
-
-At Project Level Properties:
-       Instrumentation:
-               Initstring: Default value
-               Output Folder: ...project output dir(s)
-               Flush Policy: At JVM shutdown ...
-               Misc: Fully qualify ... , Instrument and compile at statement 
level
-       Contexts:
-               Check: assert statements
-               Add Custom Coverage Context Filter:
-                       private-constructor: also see link below
-                               Method
-                               (.* )?private +[a-zA-Z0-9_$]+ *\( *\).*
-       Source Files
-               Only look ...
-                       [check] src/main/java[includes=**/*.java][excludes=]
-                       [check] src/test/java[includes=**/*.java][excludes=]
-       Test Classes
-               Assume all source in the specified folders are tests or test 
utility classes
-                       [check] src/test/java
-
-At Clover "down-triangle" menu:
-       Columns:
-               Element
-               % TOTAL Coverage
-               Uncovered Elements: Custom: %UncoveredElements * TotalElements 
/ 100
-               Total Elements
-
-
-
-http://alexruizlog.blogspot.com/2009/04/how-to-make-clover-ignore-private_21.html
\ No newline at end of file
diff --git a/tools/FindBugsExcludeFilter.xml b/tools/FindBugsExcludeFilter.xml
deleted file mode 100644
index 166ef4b2..00000000
--- a/tools/FindBugsExcludeFilter.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<FindBugsFilter> <!-- memory -->
-
-  <!-- Ignore all test code -->
-  <Match>
-    <Class name="~.*\.*Test" />
-  </Match>
-
-  <Match> <!-- harmless, not going to fix right now -->
-    <Bug pattern="INT_VACUOUS_BIT_OPERATION" />
-  </Match>
-  
-</FindBugsFilter>
diff --git a/tools/scripts/assets/CheckMemoryJar.java 
b/tools/scripts/assets/CheckMemoryJar.java
deleted file mode 100644
index cbc46c98..00000000
--- a/tools/scripts/assets/CheckMemoryJar.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.datasketches.memory.tools.scripts;
-
-import java.io.File;
-import java.nio.ByteBuffer;
-import java.nio.ByteOrder;
-
-import org.apache.datasketches.memory.Memory;
-import org.apache.datasketches.memory.WritableMemory;
-
-public class CheckMemoryJar {
-
-    public int printJDK() {
-        String JdkVersionString = System.getProperty("java.version");
-        int JdkMajorVersion = getJavaMajorVersion(JdkVersionString);
-        println("JDK Full Version : " + JdkVersionString);
-        println("JDK Major Version: " + JdkMajorVersion);
-        println("");
-        return JdkMajroVersion;
-    }
-
-    public void checkHeapWritableMemory() {
-        try {
-            String str = "1 - Heap WritableMemory Successful";
-            WritableMemory mem = WritableMemory.allocate(2 * str.length());
-            writeReadAndPrintString(mem, str);
-        } catch (Exception ex) {
-            exitOnError("Heap Writable Memory", ex);
-        }
-    }
-
-    public void checkAllocateDirect() throws Exception {
-        try {
-            String str = "2 - Allocate Direct Successful";
-            WritableMemory wmem = WritableMemory.allocateDirect(2 * 
str.length());
-            writeReadAndPrintString(wmem, str);
-            wmem.close();
-        } catch (Exception ex) {
-            exitOnError("Allocate Direct", ex);
-        }
-    }
-
-    public void checkByteBuffer() throws Exception {
-        try {
-            String str = "3 - Map ByteBuffer Successful";
-            ByteBuffer bb = ByteBuffer.allocateDirect(2 * str.length());
-            bb.order(ByteOrder.nativeOrder());
-            WritableMemory wmem = WritableMemory.writableWrap(bb);
-            writeReadAndPrintString(wmem, str);
-        } catch (Exception ex) {
-            exitOnError("Map ByteBuffer", ex);
-        }
-    }
-
-    //MAP
-    public void checkMap(String mappedFilePath) throws Exception {
-        try {
-            String str = "4 - Memory Map Successful";
-            File file = new File(mappedFilePath);
-            Memory mem = Memory.map(file);
-            mem.close();
-            println(str);
-        } catch (Exception ex) {
-            exitOnError("Memory Map", ex);
-        }
-    }
-
-    public static void main(final String[] args) throws Exception {
-        CheckMemoryJar check = new CheckMemoryJar();
-        int majVer = check.printJDK();
-        
-        if (majVer <= 11) {
-          if (args.length < 1) {
-            System.out.println("Please provide the full path to the memory 
mapped file!");
-            System.exit(1);
-          }
-          String mappedFilePath = args[0];
-          check.checkMap(mappedFilePath);
-        }
-        //all versions
-        check.checkHeapWritableMemory();
-        check.checkAllocateDirect();
-        check.checkByteBuffer();
-        println("");
-        println("All checks passed.");
-    }
-
-    /**********************/
-
-    private static void writeReadAndPrintString(WritableMemory wmem, String 
str) {
-        int len = str.length();
-        char[] cArr1 = str.toCharArray();
-        wmem.putCharArray(0, cArr1, 0, len);
-        char[] cArr2 = new char[len];
-        wmem.getCharArray(0, cArr2, 0, len);
-        String s2 = String.valueOf(cArr2);
-        println(s2);
-    }
-
-    private static void exitOnError(String checkName, Exception ex){
-        println(checkName + " check failed. Error: " + ex.toString());
-        System.exit(1);
-    }
-
-    private static int getJavaMajorVersion(final String jdkVersion) {
-        int[] verArr = parseJavaVersion(jdkVersion);
-        return (verArr[0] == 1) ? verArr[1] : verArr[0];
-    }
-
-    /**
-     * Returns first two number groups of the java version string.
-     * @param jdkVersion the java version string from 
System.getProperty("java.version").
-     * @return first two number groups of the java version string.
-     */
-    private static int[] parseJavaVersion(final String jdkVersion) {
-        final int p0, p1;
-        try {
-            String[] parts = jdkVersion.trim().split("[^0-9\\.]");//grab only 
number groups and "."
-            parts = parts[0].split("\\."); //split out the number groups
-            p0 = Integer.parseInt(parts[0]); //the first number group
-            p1 = (parts.length > 1) ? Integer.parseInt(parts[1]) : 0; //2nd 
number group, or 0
-        } catch (final NumberFormatException | ArrayIndexOutOfBoundsException  
e) {
-            throw new IllegalArgumentException("Improper Java -version string: 
" + jdkVersion + "\n" + e);
-        }
-        return new int[] {p0, p1};
-    }
-
-    private static void println(Object obj) { 
System.out.println(obj.toString()); }
-}
diff --git a/tools/scripts/assets/LoremIpsum.txt 
b/tools/scripts/assets/LoremIpsum.txt
deleted file mode 100644
index 5c0dbb27..00000000
--- a/tools/scripts/assets/LoremIpsum.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas id fermentum 
sem. Donec malesuada tristique erat vitae molestie. In urna eros, scelerisque 
ut finibus a, commodo et felis. Sed lacinia lacus ex, sit amet imperdiet tortor 
rutrum dictum. Nunc turpis dolor, placerat non condimentum quis, suscipit ut 
libero. Morbi suscipit porta nibh, sit amet bibendum erat posuere maximus. 
Pellentesque egestas magna sed purus scelerisque aliquam. Vestibulum placerat 
odio risus, nec semper sa [...]
-
-Suspendisse vitae elit urna. Donec orci dolor, ullamcorper ut felis eget, 
porta facilisis ante. Vivamus odio quam, porta sed sapien quis, sodales 
tincidunt ligula. Donec porttitor.
\ No newline at end of file
diff --git a/tools/scripts/get-git-properties.sh 
b/tools/scripts/get-git-properties.sh
deleted file mode 100755
index fa837353..00000000
--- a/tools/scripts/get-git-properties.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/bash -e
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-MyBase=$(pwd)
-ProjectBaseDir=$1 #this must be an absolute path
-ArtId=$2
-Tag=$3
-
-####Move to project directory####
-cd ${ProjectBaseDir}
-
-CR=$'\n'
-
-#Add Implementation Vendor
-prop=$prop'Implementation-Vendor: '
-tmp='The Apache Software Foundation'$CR
-prop=$prop$tmp
-
-#Add GroupId : ArtifactId
-prop=$prop'GroupId-ArtifactId: '
-tmp='org.apache.datasketches:'$ArtId$CR
-prop=$prop$tmp
-
-# Add Branch
-prop=$prop'Git-Branch: '
-tmp=''$(git rev-parse --abbrev-ref HEAD)''$CR
-prop=$prop$tmp
-
-#Add commit-id
-prop=$prop'Git-Commit-Id-Full: '
-ID=$(git rev-parse HEAD)
-tmp=''$ID''$CR
-prop=$prop$tmp
-
-#Add timestamp
-prop=$prop'Git-Commit-Time: '
-tmp=''$(git show --no-patch --no-notes --pretty='%cI' $ID)''$CR
-prop=$prop$tmp
-
-#Add user email
-prop=$prop'Git-Commit-User-Email: '
-tmp=''$(git show --no-patch --no-notes --pretty='%ce' $ID)''$CR
-prop=$prop$tmp
-
-#Add Tag
-prop=$prop'Git-Commit-Tag: '
-tmp=''$Tag''$CR
-prop=$prop$tmp
-
-echo "$prop"
diff --git a/tools/scripts/package-multi-release-jar.sh 
b/tools/scripts/package-multi-release-jar.sh
deleted file mode 100755
index 065a3dd3..00000000
--- a/tools/scripts/package-multi-release-jar.sh
+++ /dev/null
@@ -1,215 +0,0 @@
-#!/bin/bash -e
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# This is a general bash script to build a datasketches-memory-X.jar
-# with multi-release functionality.  The sources, test-sources, tests and
-# javadoc jars are also included in the output.
-# It does use git and also uses the script get-git-properties.sh.
-#
-# NOTE: This script assumes that `mvn package` has been run prior to 
invocation.
-#       By default, it is called from the maven exec-plugin.
-
-#  Required Input Parameters:
-#  \$1 = absolute path of JDK home directory
-#  \$2 = Git Version Tag for this deployment
-#       Example tag for SNAPSHOT         : 1.0.0-SNAPSHOT
-#       Example tag for Release Candidate: 1.0.0-RC1
-#       Example tag for Release          : 1.0.0
-#  \$3 = absolute path of project.basedir
-#  For example:  $ <this script>.sh $JAVA_HOME 2.1.0 .
-
-if [ -z "$1" ]; then echo "Missing JDK home";            exit 1; fi
-if [ -z "$2" ]; then echo "Missing Git Tag";             exit 1; fi
-if [ -z "$3" ]; then echo "Missing project.basedir";     exit 1; fi
-
-#### Extract JDKHome, Version and ProjectBaseDir from input parameters ####
-JDKHome=$1
-GitTag=$2
-ProjectBaseDir=$3 #this must be an absolute path
-
-#### Setup absolute directory references ####
-ProjectArtifactId="datasketches-memory"
-ScriptsDir=${ProjectBaseDir}/tools/scripts/
-
-#### Initialise path dependent variables ####
-OutputDir=target
-OutputMrJar=${OutputDir}/datasketches-memory-${GitTag}.jar
-OutputTests=${OutputDir}/datasketches-memory-${GitTag}-tests.jar
-OutputJavaDoc=${OutputDir}/datasketches-memory-${GitTag}-javadoc.jar
-OutputSources=${OutputDir}/datasketches-memory-${GitTag}-sources.jar
-OutputTestSources=${OutputDir}/datasketches-memory-${GitTag}-test-sources.jar
-
-ArchiveDir=${OutputDir}/archive-tmp
-PackageSources=${ArchiveDir}/sources
-PackageTestSources=${ArchiveDir}/test-sources
-PackageTests=${ArchiveDir}/tests
-PackageJavaDoc=${ArchiveDir}/javadoc
-PackageMrJar=${ArchiveDir}/jar
-
-#### Move to project directory ####
-cd ${ProjectBaseDir}
-
-#### Use JAVA_HOME to set required executables ####
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/jar" ]];     then 
Jar_="${JDKHome}/bin/jar";         else echo "No jar version could be found.";  
   exit 1; fi
-
-MemoryJava8Classes=datasketches-memory-java8/target/classes
-MemoryJava8TestClasses=datasketches-memory-java8/target/test-classes
-MemoryJava8Sources=datasketches-memory-java8/src/main/java
-MemoryJava8TestSources=datasketches-memory-java8/src/test/java
-MemoryJava8Docs=datasketches-memory-java8/target/apidocs/
-MemoryJava11Classes=datasketches-memory-java11/target/classes
-MemoryJava11Sources=datasketches-memory-java11/src/main/java
-MemoryJava8Docs=datasketches-memory-java8/target/apidocs/
-MavenArchiver=target/maven-archiver
-
-if ! [[ -x "${MemoryJava8Classes}" ]];        then echo "No compiled classes - 
run mvn package first.";        exit 1; fi
-if ! [[ -x "${MemoryJava8TestClasses}" ]];    then echo "No compiled test 
classes - run mvn package first.";   exit 1; fi
-if ! [[ -x "${MemoryJava11Classes}" ]];       then echo "No compiled classes - 
run mvn package first.";        exit 1; fi
-if ! [[ -x "${MemoryJava8Docs}" ]];           then echo "No javadocs - run mvn 
package first.";                exit 1; fi
-if ! [[ -x "${MavenArchiver}" ]];             then echo "No maven archiver - 
run mvn package first.";          exit 1; fi
-
-#### Cleanup and setup output directories ####
-echo
-if [ -d "$OutputDir" ]; then rm -f $OutputDir/*.jar; fi
-if [ -d "$ArchiveDir" ]; then rm -r $ArchiveDir; fi
-
-mkdir -p $PackageSources
-mkdir -p $PackageTestSources
-mkdir -p $PackageTests
-mkdir -p $PackageJavaDoc
-mkdir -p $PackageMrJar
-
-#### JAR Metadata function
-prepare_jar () {
-  JarBase=$1
-  JarMeta=${JarBase}/META-INF
-  JarMaven=${JarMeta}/maven/org.apache.datasketches/datasketches-memory
-
-  mkdir -p ${JarMeta}/versions/11
-  mkdir -p ${JarMaven}
-  
-  #### Generate DEPENDENCIES ####
- cat >> ${JarMeta}/DEPENDENCIES<< EOF
-// ------------------------------------------------------------------
-// Transitive dependencies of this project determined from the
-// maven pom organized by organization.
-// ------------------------------------------------------------------
-EOF
-  
-  #### Copy LICENSE and NOTICE ####
-  cp LICENSE $JarMeta
-  cp NOTICE $JarMeta
-  
-  #### Copy pom.properties
-  cp ${MavenArchiver}/pom.properties $JarMaven
-  cp pom.xml $JarMaven
-  
-}
-
-#### Generate MANIFEST.MF ####
-cat >> ${ArchiveDir}/MANIFEST.MF<< EOF
-Manifest-Version: 1.0
-Created-By: Apache Datasketches Memory package-mr-jar.sh
-Multi-Release: true
-EOF
-#### Generate git.properties file ####
-echo "$($ScriptsDir/get-git-properties.sh $ProjectBaseDir $ProjectArtifactId 
$GitTag)" >> ${ArchiveDir}/MANIFEST.MF
-
-###########################
-#### MULTI-RELEASE JAR ####
-###########################
-prepare_jar $PackageMrJar
-#### Copy java 8 compiled classes to target/jar
-rsync -q -a -I --filter="- .*" ${MemoryJava8Classes}/org $PackageMrJar
-#### Copy java 11 compiled classes to target/jar/META-INF/versions/11
-rsync -q -a -I --filter="- .*" ${MemoryJava11Classes}/org 
${PackageMrJar}/META-INF/versions/11
-cp ${MemoryJava11Classes}/module-info.class 
${PackageMrJar}/META-INF/versions/11
-
-${Jar_} cfm $OutputMrJar ${ArchiveDir}/MANIFEST.MF -C $PackageMrJar .
-echo "Created multi-release jar ${OutputMrJar}"
-
-#### Install to .m2
-mvn install:install-file -Dfile=$OutputMrJar -DgroupId=org.apache.datasketches 
-DartifactId=datasketches-memory -Dpackaging=jar
-echo "Installed multi-release jar ${OutputMrJar} to .m2"
-echo
-
-###########################
-####     TESTS JAR     ####
-###########################
-prepare_jar $PackageTests
-#### Copy java 8 compiled test classes to target/jar
-rsync -q -a -I --filter="- .*" ${MemoryJava8TestClasses}/org $PackageTests
-
-${Jar_} cfm $OutputTests ${ArchiveDir}/MANIFEST.MF -C $PackageTests .
-echo "Created tests jar ${OutputTests}"
-
-#### Install to .m2
-mvn install:install-file -Dfile=$OutputTests -DgroupId=org.apache.datasketches 
-DartifactId=datasketches-memory -Dpackaging=jar -Dclassifier=tests
-echo "Installed tests jar ${OutputTests} to .m2"
-echo
-
-###########################
-####    SOURCES JAR    ####
-###########################
-prepare_jar $PackageSources
-#### Copy java 8 source files to target/sources
-rsync -q -a -I --filter="- .*" ${MemoryJava8Sources}/org $PackageSources
-#### Copy java 11 source files to target/sources/META-INF/versions/11
-rsync -q -a -I --filter="- .*" ${MemoryJava11Sources}/org 
${PackageSources}/META-INF/versions/11
-cp ${MemoryJava11Sources}/module-info.java 
${PackageSources}/META-INF/versions/11
-
-${Jar_} cfm $OutputSources ${ArchiveDir}/MANIFEST.MF -C $PackageSources .
-echo "Created sources jar ${OutputSources}"
-
-#### Install to .m2
-mvn install:install-file -Dfile=$OutputSources 
-DgroupId=org.apache.datasketches -DartifactId=datasketches-memory 
-Dpackaging=jar -Dclassifier=sources
-echo "Installed sources jar ${OutputSources} to .m2"
-echo
-
-###########################
-####  TEST SOURCES JAR ####
-###########################
-prepare_jar $PackageTestSources
-#### Copy java 8 test source files to target/test-sources
-rsync -q -a -I --filter="- .*" ${MemoryJava8TestSources}/org 
$PackageTestSources
-
-${Jar_} cfm $OutputTestSources ${ArchiveDir}/MANIFEST.MF -C 
$PackageTestSources .
-echo "Created test sources jar ${OutputTestSources}"
-
-#### Install to .m2
-mvn install:install-file -Dfile=$OutputTestSources 
-DgroupId=org.apache.datasketches -DartifactId=datasketches-memory 
-Dpackaging=jar -Dclassifier=test-sources
-echo "Installed test-sources jar ${OutputTestSources} to .m2"
-echo
-
-###########################
-####    JAVADOC JAR    ####
-###########################
-prepare_jar $PackageJavaDoc
-
-rsync -q -a -I --filter="- .*" ${MemoryJava8Docs} $PackageJavaDoc
-${Jar_} cfm $OutputJavaDoc ${ArchiveDir}/MANIFEST.MF -C $PackageJavaDoc .
-echo "Created javadoc jar ${OutputJavaDoc}"
-
-#### Install to .m2
-mvn install:install-file -Dfile=$OutputJavaDoc 
-DgroupId=org.apache.datasketches -DartifactId=datasketches-memory 
-Dpackaging=jar -Dclassifier=javadoc
-echo "Installed javadoc jar ${OutputJavaDoc} to .m2"
-echo
-
-#### Run Test of MR Jar
-echo "$($ScriptsDir/test-jar.sh $JDKHome $GitTag $OutputMrJar $ProjectBaseDir)"
\ No newline at end of file
diff --git a/tools/scripts/package-single-release-jar.sh 
b/tools/scripts/package-single-release-jar.sh
deleted file mode 100755
index e58ff570..00000000
--- a/tools/scripts/package-single-release-jar.sh
+++ /dev/null
@@ -1,146 +0,0 @@
-#!/bin/bash -e
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# This is a general bash script to build a JDK version-specific
-# datasketches-memory-X.jar without multi-release functionality.
-# This is intended to be used for developers compiling from source
-# who do not wish to install several versions of the JDK on their
-# machine.
-# The script does not assume a POM file and does not use Maven.
-# It does use git and also uses the script get-git-properties.sh and
-# test-jar.sh scripts.
-
-#  Required Input Parameters:
-#  \$1 = absolute path of JDK home directory
-#  \$2 = Git Version Tag for this deployment
-#       Example tag for SNAPSHOT         : 1.0.0-SNAPSHOT
-#       Example tag for Release Candidate: 1.0.0-RC1
-#       Example tag for Release          : 1.0.0
-#  \$3 = absolute path of project.basedir
-#  For example:  $ <this script>.sh $JAVA_HOME 2.1.0 .
-
-if [ -z "$1" ]; then echo "Missing JDK home";            exit 1; fi
-if [ -z "$2" ]; then echo "Missing Git Tag";             exit 1; fi
-if [ -z "$3" ]; then echo "Missing project.basedir";     exit 1; fi
-
-#### Extract JDKHome, Version and ProjectBaseDir from input parameters ####
-JDKHome=$1
-GitTag=$2
-ProjectBaseDir=$3 #this must be an absolute path
-
-#### Setup absolute directory references ####
-ProjectArtifactId="memory"
-ScriptsDir=${ProjectBaseDir}/tools/scripts/
-MemoryMapFile=$ScriptsDir/assets/LoremIpsum.txt
-
-#### Initialise path dependent variables ####
-OutputDir=target
-OutputJar=${OutputDir}/org.apache.datasketches.memory-${GitTag}.jar
-
-PackageDir=${OutputDir}/archive-tmp
-PackageSrc=${PackageDir}/src
-PackageTests=${PackageDir}/test-classes
-PackageContents=${PackageDir}/contents
-PackageMeta=${PackageContents}/META-INF
-PackageManifest=${PackageMeta}/MANIFEST.MF
-
-MemoryJava8Src=datasketches-memory-java8/src/main/java
-MemoryJava11Src=datasketches-memory-java11/src/main/java
-
-#### Move to project directory ####
-cd ${ProjectBaseDir}
-
-#### Use JAVA_HOME to set required executables ####
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/java" ]];    then 
Java_="${JDKHome}/bin/java";       else echo "No java version could be found."; 
   exit 1; fi
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/javac" ]];   then 
Javac_="${JDKHome}/bin/javac";     else echo "No javac version could be 
found.";   exit 1; fi
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/jar" ]];     then 
Jar_="${JDKHome}/bin/jar";         else echo "No jar version could be found.";  
   exit 1; fi
-
-#### Parse java -version into major version number ####
-if [[ "$Java_" ]]; then
-  # This expression extracts the correct major version of the Java runtime.
-  # For older runtime versions, such as 1.8, the leading '1.' is removed.
-  # Adapted from this answer on StackOverflow:
-  # 
https://stackoverflow.com/questions/7334754/correct-way-to-check-java-version-from-bash-script/56243046#56243046
-  JavaVersion=$("$Java_" -version 2>&1 | head -1 | cut -d'"' -f2 | sed 
'/^1\./s///' | cut -d'.' -f1)
-else
-  echo "No version information could be determined from installed JDK."; exit 
1;
-fi
-
-# Exit if Java version too low (< 8) or too high (> 13)
-if [[ $JavaVersion -lt 8 || $JavaVersion -gt 13 ]]; then
-  echo "Java version not supported: " $JavaVersion; exit 1;
-fi
-
-#### Cleanup and setup output directories ####
-echo
-if [ -d "$OutputDir" ]; then rm -r $OutputDir; fi
-mkdir -p $PackageSrc
-mkdir -p $PackageTests
-mkdir -p $PackageMeta
-
-#### Copy LICENSE and NOTICE ####
-cp LICENSE $PackageMeta
-cp NOTICE $PackageMeta
-
-#### Generate MANIFEST.MF ####
-cat >> ${PackageManifest}<< EOF
-Manifest-Version: 1.0
-Created-By: Apache Datasketches Memory package-single-release-jar.sh
-Multi-Release: false
-EOF
-
-#### Generate git.properties file ####
-echo "$($ScriptsDir/get-git-properties.sh $ProjectBaseDir $ProjectArtifactId 
$GitTag)" >> $PackageManifest
-
-#### Copy source tree to target/src
-rsync -a -I $MemoryJava8Src $PackageSrc
-
-if [[ $JavaVersion -gt 10 ]]; then
-  #### Copy java 11 src trees to target/src, overwriting replacements
-  rsync -a -I $MemoryJava11Src $PackageSrc
-fi
-
-#### Compile ####
-echo "--- CLEAN & COMPILE ---"
-echo
-echo "Compiling with JDK version $JavaVersion..."
-if [[ $JavaVersion -lt 9 ]]; then
-  ${Javac_} -d $PackageContents $(find $PackageSrc -name '*.java')
-else
-  # Compile with JPMS exports
-  ${Javac_} \
-    --add-exports java.base/jdk.internal.ref=org.apache.datasketches.memory \
-    --add-exports java.base/sun.nio.ch=org.apache.datasketches.memory \
-    -d $PackageContents $(find $PackageSrc -name '*.java')
-fi
-echo
-echo "--- JARS ---"
-echo
-echo "Building JAR from ${PackageContents}..."
-${Jar_} cfm $OutputJar ${PackageManifest} -C $PackageContents .
-echo
-echo "Successfully built ${OutputJar}"
-
-# Uncomment this section to display JAR contents
-# echo "--- JAR CONTENTS ---"
-# echo
-# ${Jar_} tf ${OutputJar}
-# echo
-
-echo "$($ScriptsDir/test-jar.sh $JDKHome $GitTag $OutputJar $ProjectBaseDir)"
diff --git a/tools/scripts/sign-deploy-jar.sh b/tools/scripts/sign-deploy-jar.sh
deleted file mode 100755
index 723c3ed6..00000000
--- a/tools/scripts/sign-deploy-jar.sh
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/bash -e
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# This is a general bash script to sign and deploy 
datasketches-memory-X.Y.Z.jars to Nexus.
-# This assumes that the jar files exist with X.Y.Z suffix in /target/ 
-#   and were created by "mvn clean install".
-# Also the project.basedir must be set to the X.Y.X candidate at the correct 
git hash
-# and there must be an X.Y.Z tag at that git hash.
-
-# Even for release candidates, e.g. "-RCn", it is recommended to deploy the 
candidates
-#   without the "-RCn". If the candidate succeeds, it is trivial just 
"release" them in Nexus.
-# If the candidate does not succeed, you can just "drop" them in Nexus for the 
next round.
-
-#  Required Input Parameters:
-#  \$1 = Git Version Tag for this deployment (with -SNAPSHOT is OK, but rarely 
needed)
-#       Example tag for Release          : 1.0.0  //always use this form
-#  \$2 = absolute path of project.basedir
-
-#  For example, from the scripts directory:  $ ./sign-deploy-jar.sh 3.0.0 
${project.basedir}
-
-#### Extract GitTag, TestJar and ProjectBaseDir from input parameters ####
-GitTag=$1
-ProjectBaseDir=$2
-
-#### Common Variables ####
-GroupId="org.apache.datasketches"
-ArtifactId="datasketches-memory"
-
-#### Setup absolute directory references ####
-OutputDir=${ProjectBaseDir}/target
-
-OutputMrJar=${OutputDir}/datasketches-memory-${GitTag}.jar
-OutputTests=${OutputDir}/datasketches-memory-${GitTag}-tests.jar
-OutputJavaDoc=${OutputDir}/datasketches-memory-${GitTag}-javadoc.jar
-OutputSources=${OutputDir}/datasketches-memory-${GitTag}-sources.jar
-OutputTestSources=${OutputDir}/datasketches-memory-${GitTag}-test-sources.jar
-OutputPom=${OutputDir}/datasketches-memory-${GitTag}-pom
-
-#### Use GNU-GPG to create signature
-sign_file () {
-  File=$1
-  gpg --verbose --personal-digest-preferences=SHA512 --detach-sign -a $File
-}
-
-### Deploy to nexus
-if [[ $GitTag == *SNAPSHOT ]] 
-then
-  echo "Using SNAPSHOT repository."
-  
DistributionsUrl=https://repository.apache.org/content/repositories/snapshots/
-  DistributionsId=apache.snapshots.https
-else
-  echo "Using RELEASES repository."
-  
DistributionsUrl=https://repository.apache.org/service/local/staging/deploy/maven2/
-  DistributionsId=apache.releases.https
-fi;
-
-mvn org.apache.maven.plugins:maven-gpg-plugin:3.0.1:sign-and-deploy-file \
-    -Durl=$DistributionsUrl\
-    -DrepositoryId=$DistributionsId \
-    -DgroupId=${GroupId} \
-    -DartifactId=${ArtifactId} \
-    -Dfile=$OutputMrJar \
-    -Dsources=$OutputSources \
-    -Dfiles=$OutputTests,$OutputTestSources \
-    -Dtypes=jar,jar \
-    -Dclassifiers=tests,test-sources \
-    -Djavadoc=$OutputJavaDoc \
-    -Dpackaging=jar \
-    -Dversion=$GitTag \
-    -DupdateReleaseInfo=true \
-    -DpomFile=${ProjectBaseDir}/pom.xml
-
-echo "Successfully signed and deployed jars"
diff --git a/tools/scripts/test-jar.sh b/tools/scripts/test-jar.sh
deleted file mode 100755
index a565073c..00000000
--- a/tools/scripts/test-jar.sh
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/bash -e
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# This is a general bash script to test a datasketches-memory-X.jar.
-# This is intended to be used for C/I matrix testing or for quick
-# verification of the output from the assembly process.
-
-#  Required Input Parameters:
-#  \$1 = absolute path of JDK home directory
-#  \$2 = Git Version Tag for this deployment
-#       Example tag for SNAPSHOT         : 1.0.0-SNAPSHOT
-#       Example tag for Release Candidate: 1.0.0-RC1
-#       Example tag for Release          : 1.0.0
-#  \$3 = absolute path of datasketches-memory-X.jar
-#  \$4 = absolute path of project.basedir
-#  For example:  $ <this script>.sh $JAVA_HOME 2.1.0 
target/datasketches-memory-X.jar .
-
-#### Extract JDKHome, Version, TestJar and ProjectBaseDir from input 
parameters ####
-JDKHome=$1
-GitTag=$2
-TestJar=$3
-ProjectBaseDir=$4
-
-#### Setup absolute directory references ####
-ProjectArtifactId="memory"
-ScriptsDir=${ProjectBaseDir}/tools/scripts/
-MemoryMapFile=$ScriptsDir/assets/LoremIpsum.txt
-
-#### Initialise path dependent variables ####
-PackageChecks=target/archive-tmp/checks
-
-#### Move to project directory ####
-cd ${ProjectBaseDir}
-
-#### Use JAVA_HOME to set required executables ####
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/java" ]];    then 
Java_="${JDKHome}/bin/java";       else echo "No java version could be found."; 
   exit 1; fi
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/javac" ]];   then 
Javac_="${JDKHome}/bin/javac";     else echo "No javac version could be 
found.";   exit 1; fi
-if [[ -n "$JDKHome" ]] && [[ -x "${JDKHome}/bin/jar" ]];     then 
Jar_="${JDKHome}/bin/jar";         else echo "No jar version could be found.";  
   exit 1; fi
-
-#### Parse java -version into major version number ####
-if [[ "$Java_" ]]; then
-  # This expression extracts the correct major version of the Java runtime.
-  # For older runtime versions, such as 1.8, the leading '1.' is removed.
-  # Adapted from this answer on StackOverflow:
-  # 
https://stackoverflow.com/questions/7334754/correct-way-to-check-java-version-from-bash-script/56243046#56243046
-  JavaVersion=$("$Java_" -version 2>&1 | head -1 | cut -d'"' -f2 | sed 
'/^1\./s///' | cut -d'.' -f1)
-else
-  echo "No version information could be determined from installed JDK."; exit 
1;
-fi
-
-# Exit if Java version too low (< 8) or too high (> 13)
-if [[ $JavaVersion -lt 8 || $JavaVersion -gt 13 ]]; then
-  echo "Java version not supported: " $JavaVersion; exit 1;
-fi
-
-#### Cleanup and setup output directories ####
-echo
-if [ -d "$PackageChecks" ]; then rm -r $PackageChecks; fi
-mkdir -p $PackageChecks
-
-echo "--- RUN JAR CHECKS ---"
-echo
-if [[ $JavaVersion -eq 8 ]]; then
-  ${Javac_} -cp $TestJar -d $PackageChecks $(find ${ScriptsDir/assets} -name 
'*.java')
-  ${Java_} -cp $PackageChecks:$TestJar 
org.apache.datasketches.memory.tools.scripts.CheckMemoryJar $MemoryMapFile
-else
-  ${Javac_} \
-    --add-modules org.apache.datasketches.memory \
-    -p "$TestJar" -d $PackageChecks $(find ${ScriptsDir/assets} -name '*.java')
-
-  ${Java_} \
-    --add-modules org.apache.datasketches.memory \
-    --add-exports java.base/jdk.internal.misc=org.apache.datasketches.memory \
-    --add-exports java.base/jdk.internal.ref=org.apache.datasketches.memory \
-    --add-opens java.base/java.nio=org.apache.datasketches.memory \
-    --add-opens java.base/sun.nio.ch=org.apache.datasketches.memory \
-    -p $TestJar -cp $PackageChecks 
org.apache.datasketches.memory.tools.scripts.CheckMemoryJar $MemoryMapFile
-fi
-echo
-echo "Successfully checked ${TestJar}"
diff --git a/tools/toolchains.xml b/tools/toolchains.xml
deleted file mode 100644
index 9ab86f2b..00000000
--- a/tools/toolchains.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<toolchains>
-    <toolchain>
-        <type>jdk</type>
-        <provides>
-            <version>1.8</version>
-            <vendor>openjdk</vendor>
-        </provides>
-        <configuration>
-            <jdkHome>${env.JAVA8_HOME}</jdkHome>
-        </configuration>
-    </toolchain>
-    <toolchain>
-        <type>jdk</type>
-        <provides>
-            <version>8</version>
-            <vendor>openjdk</vendor>
-        </provides>
-        <configuration>
-            <jdkHome>${env.JAVA8_HOME}</jdkHome>
-        </configuration>
-    </toolchain>
-    <toolchain>
-        <type>jdk</type>
-        <provides>
-            <version>11</version>
-            <vendor>openjdk</vendor>
-        </provides>
-        <configuration>
-            <jdkHome>${env.JAVA11_HOME}</jdkHome>
-        </configuration>
-    </toolchain>
-</toolchains>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to