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

psxjoy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozhera.git


The following commit(s) were added to refs/heads/master by this push:
     new 672e48fb build: fix release hygiene issues (#693)
672e48fb is described below

commit 672e48fbb78432f73bc77ba21a2604db5b5ad708
Author: EricDing <[email protected]>
AuthorDate: Mon Oct 12 11:10:40 2026 +0800

    build: fix release hygiene issues (#693)
    
    - NOTICE: update copyright year to 2024-2026
    - Remove stale maven-gpg-plugin keyname from 13 poms (a previous release
      manager key and an unfilled your-gpg-key placeholder); signing now uses
      the default gpg key of the release manager
    - Remove licenseCheck.sh: it invokes the non-existent -PlicenseCheck
      profile and fails immediately
    - apache-rat-plugin: exclude target/ and dependency-reduced-pom.xml so
      generated build artifacts are not audited
    
    Co-authored-by: Shuxin Pan <[email protected]>
---
 NOTICE                          |   2 +-
 licenseCheck.sh                 | 139 ----------------------------------------
 ozhera-app/pom.xml              |   1 -
 ozhera-demo-client/pom.xml      |   1 -
 ozhera-demo-server/pom.xml      |   1 -
 ozhera-intelligence/pom.xml     |   1 -
 ozhera-log/pom.xml              |   1 -
 ozhera-metrics-all/pom.xml      |   1 -
 ozhera-monitor/pom.xml          |   1 -
 ozhera-operator/pom.xml         |   1 -
 ozhera-prometheus-agent/pom.xml |   1 -
 ozhera-tspandata/pom.xml        |   1 -
 ozhera-webhook/pom.xml          |   1 -
 pom.xml                         |   3 +-
 trace-etl/pom.xml               |   1 -
 15 files changed, 3 insertions(+), 153 deletions(-)

diff --git a/NOTICE b/NOTICE
index c8ef9983..ef9e9930 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache OzHera (incubating)
-Copyright 2024-2025 The Apache Software Foundation
+Copyright 2024-2026 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/licenseCheck.sh b/licenseCheck.sh
deleted file mode 100755
index c32e5798..00000000
--- a/licenseCheck.sh
+++ /dev/null
@@ -1,139 +0,0 @@
-#!/bin/bash
-#
-# 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.
-#
-
-APPEND_ARG=""
-FOLDER="./"
-LINE_FLAG="=============================================="
-TARGET_FILE="./license-list"
-
-red=`tput setaf 1`
-green=`tput setaf 2`
-reset=`tput sgr0`
-
-
-if [ -n "$1" ]; then
-    echo "checking module $1"
-    APPEND_ARG="-f $1"
-    FOLDER="$1"
-else
-    echo "checking whole project"
-fi
-
-echo "Running command: mvn clean package -DskipTests=true -PlicenseCheck 
$APPEND_ARG"
-
-mvn clean package -DskipTests=true -PlicenseCheck $APPEND_ARG
-
-status=$?
-if [ $status -eq 0 ]; then
-  echo "mvn command exec success"
-else
-  echo "${red}mvn command exec fail${reset}"
-  exit 1
-fi
-
-
-#contact and generate license file
-rm -rf $TARGET_FILE
-LICENSE_FILES=`find $FOLDER -type f -name "THIRD-PARTY.txt"|grep 
generated-sources`
-
-echo "Find license files:"
-echo "$LICENSE_FILES"
-
-for i in $LICENSE_FILES
-    do
-        echo "$LINE_FLAG" >> $TARGET_FILE
-        echo $i >> $TARGET_FILE
-        cat $i >> $TARGET_FILE
-    done
-
-echo "license files generated at $TARGET_FILE"
-
-#fix missing license dependencies
-missingLicense=(
-    "(Unknown license) jsr173_api:(Apache License, Version 2.0) jsr173_api"
-    "(Unknown license) \"Java Concurrency in Practice\" book annotations:(BEA 
licensed) \"Java Concurrency in Practice\" book annotations"
-    "(Unknown license) Java Portlet Specification V2.0:(Apache License, 
Version 2.0) Java Portlet Specification V2.0"
-)
-
-for i in "${missingLicense[@]}"; do
-    search=`echo $i |awk -F: '{print $1}'`
-    replace=`echo $i |awk -F: '{print $2}'`
-    sed -i.bak 's/'"$search"'/'"$replace"'/g' $TARGET_FILE
-done
-
-if [ -f $TARGET_FILE.bak ]; then
-  rm -rf $TARGET_FILE.bak
-fi
-
-check_unknown_license=`cat $TARGET_FILE | grep "Unknown license"`
-
-#checking unknown license
-if grep -q "Unknown license" $TARGET_FILE
-then
-    echo "${red}Find unknown license${reset}"
-    echo "$check_unknown_license"
-    #exit 1
-fi
-
-allowLicense=(
-    "CDDL"
-    "Apache"
-    "Common Development and Distribution License"
-    "Eclipse Public License"
-    "MIT"
-    "The 3-Clause BSD License"
-    "Public domain"
-    "JSR.*107"
-    "Common Public License Version 1.0"
-    "org.scijava:native-lib-loader"
-    "org.codehaus.woodstox:stax2-api"
-    "net.jcip:jcip-annotations",
-    "Mulan Permissive Software License"
-    "BSD"
-    "BSD 3-clause"
-    "BSD 2-clause"
-    "Eclipse Distribution License 2.0"
-    "The JDOM License"
-    "Dual-license"
-    "CPL"
-    "Mozilla v2"
-    "EPL"
-    "EPL-1.0 License"
-    "JSON License"
-    "Eclipse Distribution License - v 1.0"
-    "EDL 1.0"
-)
-
-#filter allow license
-license_need_check=`cat $TARGET_FILE | grep -v 
"generated-sources/license/THIRD-PARTY.txt" | grep -v "third-party 
dependencies" | grep -v "The project has no dependencies." | grep -v $LINE_FLAG`
-
-for i in "${allowLicense[@]}"; do
-    license_need_check=`echo "$license_need_check"|grep -vi "$i"`
-done
-
-# remove empty lines
-echo $license_need_check | sed '/^[[:space:]]*$/d' > license-need-check
-
-if [ ! -s license-need-check ]; then
-    echo "${green}All dependencies license looks good${reset}"
-else
-    echo "${red}Please check below license${reset}"
-    cat license-need-check
-fi
-
-# rm -f license-list
\ No newline at end of file
diff --git a/ozhera-app/pom.xml b/ozhera-app/pom.xml
index 04d62bcb..72272f3e 100644
--- a/ozhera-app/pom.xml
+++ b/ozhera-app/pom.xml
@@ -161,7 +161,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-demo-client/pom.xml b/ozhera-demo-client/pom.xml
index a666cab9..3346dc4f 100644
--- a/ozhera-demo-client/pom.xml
+++ b/ozhera-demo-client/pom.xml
@@ -211,7 +211,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-demo-server/pom.xml b/ozhera-demo-server/pom.xml
index 55459c61..192656da 100644
--- a/ozhera-demo-server/pom.xml
+++ b/ozhera-demo-server/pom.xml
@@ -172,7 +172,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-intelligence/pom.xml b/ozhera-intelligence/pom.xml
index 865ae3c3..53ecd390 100644
--- a/ozhera-intelligence/pom.xml
+++ b/ozhera-intelligence/pom.xml
@@ -264,7 +264,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            <keyname>your-gpg-key</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-log/pom.xml b/ozhera-log/pom.xml
index ca91a4a3..f2a95e27 100644
--- a/ozhera-log/pom.xml
+++ b/ozhera-log/pom.xml
@@ -204,7 +204,6 @@ http://www.apache.org/licenses/LICENSE-2.0
                             <goal>sign</goal>
                         </goals>
                         <configuration>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-metrics-all/pom.xml b/ozhera-metrics-all/pom.xml
index 5770a807..78713cd4 100644
--- a/ozhera-metrics-all/pom.xml
+++ b/ozhera-metrics-all/pom.xml
@@ -145,7 +145,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-monitor/pom.xml b/ozhera-monitor/pom.xml
index 9024134e..1b0c1b4b 100644
--- a/ozhera-monitor/pom.xml
+++ b/ozhera-monitor/pom.xml
@@ -177,7 +177,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-operator/pom.xml b/ozhera-operator/pom.xml
index b6fd2409..b947bf93 100644
--- a/ozhera-operator/pom.xml
+++ b/ozhera-operator/pom.xml
@@ -135,7 +135,6 @@ http://www.apache.org/licenses/LICENSE-2.0
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-prometheus-agent/pom.xml b/ozhera-prometheus-agent/pom.xml
index da90a40c..fa35abe9 100644
--- a/ozhera-prometheus-agent/pom.xml
+++ b/ozhera-prometheus-agent/pom.xml
@@ -206,7 +206,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-tspandata/pom.xml b/ozhera-tspandata/pom.xml
index 9cbab2c1..586bff3d 100644
--- a/ozhera-tspandata/pom.xml
+++ b/ozhera-tspandata/pom.xml
@@ -80,7 +80,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/ozhera-webhook/pom.xml b/ozhera-webhook/pom.xml
index e9b36934..424e84d0 100644
--- a/ozhera-webhook/pom.xml
+++ b/ozhera-webhook/pom.xml
@@ -124,7 +124,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/pom.xml b/pom.xml
index 26640c73..0b5f8ffa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1043,7 +1043,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>
@@ -1103,6 +1102,8 @@
                         <exclude>**/*.jpg</exclude>
                         <exclude>**/*.jpeg</exclude>
                         <exclude>dist/licenses/**/*</exclude>
+                        <exclude>**/target/**</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
                     </excludes>
                 </configuration>
             </plugin>
diff --git a/trace-etl/pom.xml b/trace-etl/pom.xml
index 98f000d8..7fc40c46 100644
--- a/trace-etl/pom.xml
+++ b/trace-etl/pom.xml
@@ -226,7 +226,6 @@
                         </goals>
                         <configuration>
                             <executable>gpg</executable>
-                            
<keyname>C962B99B87C5B41E79940E4BE72ADFA74291C3C0</keyname>
                         </configuration>
                     </execution>
                 </executions>


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

Reply via email to