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

jin pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git


The following commit(s) were added to refs/heads/master by this push:
     new b1f73463 chore: fix StringEncoding license & add multi license check 
action (#227)
b1f73463 is described below

commit b1f734636c8d23debb486bb1bac6393729732eec
Author: Simon Cheung <[email protected]>
AuthorDate: Thu Feb 9 19:35:22 2023 +0800

    chore: fix StringEncoding license & add multi license check action (#227)
    
    * add license check action & use proper "UTF-8" charset
    
    * exclude generate go files
    
    * include release-docs in binary release
    
    * Update NOTICE
    
    ---------
    
    Co-authored-by: imbajin <[email protected]>
---
 .github/workflows/ci.yml                           |  6 +-
 .github/workflows/license-checker.yml              | 60 ++++++++++++++++
 .github/workflows/stale.yml                        |  2 +-
 .licenserc.yaml                                    | 82 ++++++++++++++++++++++
 LICENSE                                            |  8 +++
 NOTICE                                             | 53 ++++++++++++++
 .../computer/core/util/StringEncoding.java         | 47 +++----------
 computer-dist/release-docs/LICENSE                 |  6 +-
 computer-dist/release-docs/NOTICE                  | 51 ++++++++++++++
 computer-dist/src/assembly/descriptor/assembly.xml |  4 --
 .../src/assembly/static/conf/computer.properties   | 16 +++++
 .../hugegraph/computer/dist/HugeGraphComputer.java | 27 ++++---
 .../src/main/resources/computer.properties         | 16 +++++
 pom.xml                                            |  2 -
 14 files changed, 316 insertions(+), 64 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f283bef5..d466b903 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,4 @@
-name: hugegraph-computer ci
+name: "hugegraph-computer ci"
 
 on:
   push:
@@ -9,7 +9,7 @@ on:
 
 jobs:
   computer-ci:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     env:
       TRAVIS_DIR: computer-dist/src/assembly/travis
       KUBERNETES_VERSION: 1.20.1
@@ -21,7 +21,7 @@ jobs:
         with:
           fetch-depth: 2
 
-      - name: Install JDK 8
+      - name: Install JDK 8 for HDFS
         uses: actions/setup-java@v3
         with:
           java-version: '8'
diff --git a/.github/workflows/license-checker.yml 
b/.github/workflows/license-checker.yml
new file mode 100644
index 00000000..ea2c3687
--- /dev/null
+++ b/.github/workflows/license-checker.yml
@@ -0,0 +1,60 @@
+name: "license checker"
+
+on:
+  push:
+    branches:
+      - master
+      - /^release-.*$/
+  pull_request:
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
+jobs:
+  check-license-header:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      # More info could refer to: https://github.com/apache/skywalking-eyes
+      - name: Check License Header
+        uses: apache/skywalking-eyes@main
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        with:
+          log: info
+          config: .licenserc.yaml
+
+      - uses: actions/setup-java@v3
+        with:
+          java-version: '11'
+          distribution: 'adopt'
+
+      - name: License check(RAT)
+        run: |
+          mvn apache-rat:check -ntp
+          find ./ -name rat.txt -print0 | xargs -0 -I file cat file > 
merged-rat.txt
+          grep "Binaries" merged-rat.txt -C 3 && cat merged-rat.txt
+
+#  TODO: enable it later
+#  check-dependency-license:
+#    runs-on: ubuntu-latest
+#    env:
+#      SCRIPT_DEPENDENCY: computer-dist/scripts/dependency
+#    steps:
+#      - name: Checkout source
+#        uses: actions/checkout@v3
+#      - name: Set up JDK 11
+#        uses: actions/setup-java@v3
+#        with:
+#          java-version: '11'
+#          distribution: 'adopt'
+#      - name: mvn install
+#        run: |
+#          mvn install -DskipTests=true -ntp
+#      - name: generate current dependencies
+#        run: |
+#          bash $SCRIPT_DEPENDENCY/regenerate_known_dependencies.sh 
current-dependencies.txt
+#      - name: check third dependencies
+#        run: |
+#          bash $SCRIPT_DEPENDENCY/check_dependencies.sh
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 73f46247..3ba4f72b 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -1,4 +1,4 @@
-name: Mark stale issues and pull requests
+name: "Mark stale issues and pull requests"
 
 on:
   schedule:
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 00000000..a62d7685
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,82 @@
+#
+# 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.
+#
+
+header: # `header` section is configurations for source codes license header.
+  license:
+    spdx-id: Apache-2.0 # the spdx id of the license, it's convenient when 
your license is standard SPDX license.
+    copyright-owner: Apache Software Foundation # the copyright owner to 
replace the [owner] in the `spdx-id` template.
+    content: | # `license` will be used as the content when `fix` command 
needs to insert a license header.
+      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.
+    # `pattern` is optional regexp if all the file headers are the same as 
`license` or the license of `spdx-id` and `copyright-owner`.
+    pattern: |
+      Licensed to the Apache Software Foundation under one or more contributor
+      license agreements. See the NOTICE file distributed with
+      this work for additional information regarding copyright
+      ownership. The Apache Software Foundation 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.
+  paths: # `paths` are the path list that will be checked (and fixed) by 
license-eye, default is ['**'].
+    - '**'
+
+  paths-ignore: # `paths-ignore` are the path list that will be ignored by 
license-eye.
+    - '.gitignore'
+    - 'LICENSE'
+    - 'NOTICE'
+    - 'DISCLAIMER'
+    - '**/*.md'
+    - '**/*.versionsBackup'
+    - '**/*.log'
+    - '**/*.conf'
+    - '**/*.txt'
+    - '**/*.csv'
+    - '**/*.json'
+    - '**/*.svg'
+    - '**/*.gitattributes'
+    - '**/.flattened-pom.xml'
+    - '**/.prettierrc'
+    - '**/*.MF'
+    - '**/.stylelintrc'
+    - 'assembly/**'
+    - '.github/**/*'
+    - '**/target/*'
+    - '**/util/StringEncoding.java'
+    - '**/go.mod'
+    - '**/go.sum'
+  comment: on-failure # on what condition license-eye will comment on the pull 
request, `on-failure`, `always`, `never`.
+
+  # license-location-threshold specifies the index threshold where the license 
header can be located,
+  # after all, a "header" cannot be TOO far from the file start.
+  license-location-threshold: 80
diff --git a/LICENSE b/LICENSE
index 64582849..e79807ee 100644
--- a/LICENSE
+++ b/LICENSE
@@ -200,3 +200,11 @@
    See the License for the specific language governing permissions and
    limitations under the License.
    
+========================================================================
+Apache 2.0 licenses
+========================================================================
+
+The following components are provided under the Apache License. See project 
link for details.
+The text of each license is the standard Apache 2.0 license.
+
+computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java
 files from https://github.com/JanusGraph
diff --git a/NOTICE b/NOTICE
index 42f88212..a0e7f71c 100644
--- a/NOTICE
+++ b/NOTICE
@@ -5,3 +5,56 @@ This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
 
 The initial codebase was donated to the ASF by HugeGraph Authors, copyright 
2017-2021.
+
+-----------------------------------------------------------------------
+This product contains code form the JanusGraph Project:
+-----------------------------------------------------------------------
+==============================================================
+ JanusGraph: Distributed Graph Database
+ Copyright 2012 and onwards JanusGraph Authors
+==============================================================
+
+This product includes software developed by JanusGraph contributors listed
+in CONTRIBUTORS.txt; JanusGraph copyright holders are listed in AUTHORS.txt.
+
+This product is based on Titan, originally developed by Aurelius (acquired by
+DataStax) and the following individuals:
+
+ * Matthias Broecheler
+ * Dan LaRocque
+ * Marko A. Rodriguez
+ * Stephen Mallette
+ * Pavel Yaskevich
+
+It also includes software from other open source projects including, but not 
limited to (check pom.xml for complete listing):
+
+ * Apache Cassandra [https://cassandra.apache.org/]
+ * Apache Commons [https://commons.apache.org/]
+ * Apache Groovy [http://groovy-lang.org/]
+ * Apache HBase [https://hbase.apache.org/]
+ * Apache Hadoop [https://hadoop.apache.org/]
+ * Apache Kerby [https://github.com/apache/directory-kerby]
+ * Apache Log4j [https://logging.apache.org/log4j]
+ * Apache Lucene [https://lucene.apache.org/]
+ * Apache Solr [https://lucene.apache.org/solr/]
+ * Apache TinkerPop [https://tinkerpop.apache.org/]
+ * Astyanax [https://github.com/Netflix/astyanax]
+ * DataStax Driver for Apache Cassandra  
[https://github.com/datastax/java-driver]
+ * EasyMock [http://easymock.org/]
+ * Elasticsearch [https://www.elastic.co/]
+ * Google Cloud Bigtable 
[https://github.com/googlecloudplatform/cloud-bigtable-client]
+ * Google Guava [https://github.com/google/guava]
+ * HPPC [https://labs.carrotsearch.com/hppc.html]
+ * JUnit [https://www.junit.org/]
+ * Jackson [https://github.com/FasterXML/jackson]
+ * Kryo [https://github.com/EsotericSoftware/kryo]
+ * Metrics [https://metrics.dropwizard.io]
+ * Mockito [https://site.mockito.org/]
+ * Noggit [https://github.com/yonik/noggit]
+ * OpenRDF [http://rdf4j.org/]
+ * Oracle BerkeleyDB Java Edition 
[https://www.oracle.com/technetwork/products/berkeleydb/] (see license below)
+ * Project Lombok [https://projectlombok.org/]
+ * Reflections8 [https://github.com/aschoerk/reflections8]
+ * SLF4J [https://www.slf4j.org/]
+ * Spatial4j [https://github.com/locationtech/spatial4j]
+ * Vavr [https://www.vavr.io/]
diff --git 
a/computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java
 
b/computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java
index 497fbb84..39bbb3ee 100644
--- 
a/computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java
+++ 
b/computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java
@@ -1,19 +1,3 @@
-/*
- * 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.
- */
 // Copyright 2017 JanusGraph Authors
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -30,7 +14,7 @@
 
 package org.apache.hugegraph.computer.core.util;
 
-import java.io.UnsupportedEncodingException;
+import java.nio.charset.StandardCharsets;
 import java.security.MessageDigest;
 import java.security.NoSuchAlgorithmException;
 import java.util.Base64;
@@ -44,7 +28,6 @@ import com.google.common.base.CharMatcher;
 
 /**
  * @author Matthias Broecheler ([email protected])
- * @author HugeGraph Authors
  */
 public final class StringEncoding {
 
@@ -63,7 +46,7 @@ public final class StringEncoding {
     private static final Base64.Encoder BASE64_ENCODER = Base64.getEncoder();
     private static final Base64.Decoder BASE64_DECODER = Base64.getDecoder();
 
-    // Similar to {@link StringSerializer}
+    /** Similar to {@link StringSerializer} */
     public static int writeAsciiString(byte[] array, int offset, String value) 
{
         E.checkArgument(CharMatcher.ascii().matchesAllOf(value),
                         "'%s' must be ASCII string", value);
@@ -79,7 +62,8 @@ public final class StringEncoding {
             assert c <= 127;
             byte b = (byte) c;
             if (++i == len) {
-                b |= 0x80; // End marker
+                // End marker
+                b |= 0x80;
             }
             array[offset++] = b;
         } while (i < len);
@@ -89,7 +73,7 @@ public final class StringEncoding {
 
     public static String readAsciiString(byte[] array, int offset) {
         StringBuilder sb = new StringBuilder();
-        int c = 0;
+        int c;
         do {
             c = 0xFF & array[offset++];
             if (c != 0x80) {
@@ -106,27 +90,15 @@ public final class StringEncoding {
     }
 
     public static byte[] encode(String value) {
-        try {
-            return value.getBytes("UTF-8");
-        } catch (UnsupportedEncodingException e) {
-            throw new ComputerException("Failed to encode string", e);
-        }
+        return value.getBytes(StandardCharsets.UTF_8);
     }
 
     public static String decode(byte[] bytes) {
-        try {
-            return new String(bytes, "UTF-8");
-        } catch (UnsupportedEncodingException e) {
-            throw new ComputerException("Failed to decode string", e);
-        }
+        return new String(bytes, StandardCharsets.UTF_8);
     }
 
     public static String decode(byte[] bytes, int offset, int length) {
-        try {
-            return new String(bytes, offset, length, "UTF-8");
-        } catch (UnsupportedEncodingException e) {
-            throw new ComputerException("Failed to decode string", e);
-        }
+        return new String(bytes, offset, length, StandardCharsets.UTF_8);
     }
 
     public static String encodeBase64(byte[] bytes) {
@@ -157,8 +129,7 @@ public final class StringEncoding {
                 return UUID.fromString(value);
             }
             // UUID represented by hex string
-            E.checkArgument(value.length() == 32,
-                            "Invalid UUID string: %s", value);
+            E.checkArgument(value.length() == 32, "Invalid UUID string: %s", 
value);
             String high = value.substring(0, 16);
             String low = value.substring(16);
             return new UUID(Long.parseUnsignedLong(high, 16),
diff --git a/computer-dist/release-docs/LICENSE 
b/computer-dist/release-docs/LICENSE
index 2b61f026..251a0797 100644
--- a/computer-dist/release-docs/LICENSE
+++ b/computer-dist/release-docs/LICENSE
@@ -410,6 +410,8 @@ The following components are provided under the Apache 2.0 
License.
     (Apache License, Version 2.0) * Xml Compatibility extensions for 
Jackson(org.codehaus.jackson:jackson-xc:1.9.2-http://jackson.codehaus.org )
     (Apache License, Version 2.0) * 
Javassist(org.javassist:javassist:3.21.0-GA-http://www.javassist.org/ )
 
+    
computer-core/src/main/java/org/apache/hugegraph/computer/core/util/StringEncoding.java
 files from https://github.com/JanusGraph
+
 ========================================================================
 Third party BSD licenses
 ========================================================================
@@ -497,9 +499,9 @@ The following components are provided under the Public 
Domain License.
     (Public Domain, per Creative Commons CC0) * XZ for 
Java(org.tukaani:xz:1.8-https://tukaani.org/xz/java.html )
 
 ========================================================================
-Third party Go licens
+Third party Go license
 ========================================================================
 
-The following components are provided under The Go licens.
+The following components are provided under The Go license.
 
     (The Go license) * 
re2j(com.google.re2j:re2j:1.1-http://github.com/google/re2j )
diff --git a/computer-dist/release-docs/NOTICE 
b/computer-dist/release-docs/NOTICE
index 22223ba7..21b5885a 100644
--- a/computer-dist/release-docs/NOTICE
+++ b/computer-dist/release-docs/NOTICE
@@ -4042,3 +4042,54 @@ Copyright 2001-2008 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
+
+
+==============================================================
+ JanusGraph: Distributed Graph Database
+ Copyright 2012 and onwards JanusGraph Authors
+==============================================================
+
+This product includes software developed by JanusGraph contributors listed
+in CONTRIBUTORS.txt; JanusGraph copyright holders are listed in AUTHORS.txt.
+
+This product is based on Titan, originally developed by Aurelius (acquired by
+DataStax) and the following individuals:
+
+ * Matthias Broecheler
+ * Dan LaRocque
+ * Marko A. Rodriguez
+ * Stephen Mallette
+ * Pavel Yaskevich
+
+It also includes software from other open source projects including, but not 
limited to (check pom.xml for complete listing):
+
+ * Apache Cassandra [https://cassandra.apache.org/]
+ * Apache Commons [https://commons.apache.org/]
+ * Apache Groovy [http://groovy-lang.org/]
+ * Apache HBase [https://hbase.apache.org/]
+ * Apache Hadoop [https://hadoop.apache.org/]
+ * Apache Kerby [https://github.com/apache/directory-kerby]
+ * Apache Log4j [https://logging.apache.org/log4j]
+ * Apache Lucene [https://lucene.apache.org/]
+ * Apache Solr [https://lucene.apache.org/solr/]
+ * Apache TinkerPop [https://tinkerpop.apache.org/]
+ * Astyanax [https://github.com/Netflix/astyanax]
+ * DataStax Driver for Apache Cassandra  
[https://github.com/datastax/java-driver]
+ * EasyMock [http://easymock.org/]
+ * Elasticsearch [https://www.elastic.co/]
+ * Google Cloud Bigtable 
[https://github.com/googlecloudplatform/cloud-bigtable-client]
+ * Google Guava [https://github.com/google/guava]
+ * HPPC [https://labs.carrotsearch.com/hppc.html]
+ * JUnit [https://www.junit.org/]
+ * Jackson [https://github.com/FasterXML/jackson]
+ * Kryo [https://github.com/EsotericSoftware/kryo]
+ * Metrics [https://metrics.dropwizard.io]
+ * Mockito [https://site.mockito.org/]
+ * Noggit [https://github.com/yonik/noggit]
+ * OpenRDF [http://rdf4j.org/]
+ * Oracle BerkeleyDB Java Edition 
[https://www.oracle.com/technetwork/products/berkeleydb/] (see license below)
+ * Project Lombok [https://projectlombok.org/]
+ * Reflections8 [https://github.com/aschoerk/reflections8]
+ * SLF4J [https://www.slf4j.org/]
+ * Spatial4j [https://github.com/locationtech/spatial4j]
+ * Vavr [https://www.vavr.io/]
diff --git a/computer-dist/src/assembly/descriptor/assembly.xml 
b/computer-dist/src/assembly/descriptor/assembly.xml
index 1bf7f6f7..68efd1a2 100644
--- a/computer-dist/src/assembly/descriptor/assembly.xml
+++ b/computer-dist/src/assembly/descriptor/assembly.xml
@@ -51,10 +51,6 @@
         <fileSet>
             <directory>${top.level.dir}/computer-dist/release-docs/</directory>
             <outputDirectory>/</outputDirectory>
-            <includes>
-                <include>LICENSE*</include>
-                <include>NOTICE*</include>
-            </includes>
         </fileSet>
         <fileSet>
             <directory>${top.level.dir}</directory>
diff --git a/computer-dist/src/assembly/static/conf/computer.properties 
b/computer-dist/src/assembly/static/conf/computer.properties
index c84d3b09..a2c780d4 100644
--- a/computer-dist/src/assembly/static/conf/computer.properties
+++ b/computer-dist/src/assembly/static/conf/computer.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 job.id=local_001
 job.workers_count=1
 
diff --git 
a/computer-dist/src/main/java/org/apache/hugegraph/computer/dist/HugeGraphComputer.java
 
b/computer-dist/src/main/java/org/apache/hugegraph/computer/dist/HugeGraphComputer.java
index bdf55eef..8fd09bab 100644
--- 
a/computer-dist/src/main/java/org/apache/hugegraph/computer/dist/HugeGraphComputer.java
+++ 
b/computer-dist/src/main/java/org/apache/hugegraph/computer/dist/HugeGraphComputer.java
@@ -1,19 +1,18 @@
-/**
- * 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
- * <p>
+/*
+ * 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
- * <p>
+ *
  * 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.
+ * 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.hugegraph.computer.dist;
diff --git a/computer-test/src/main/resources/computer.properties 
b/computer-test/src/main/resources/computer.properties
index 97a1197d..57e9e78e 100644
--- a/computer-test/src/main/resources/computer.properties
+++ b/computer-test/src/main/resources/computer.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 rpc.server_host=localhost
 rpc.server_port=8190
 
diff --git a/pom.xml b/pom.xml
index c1c61144..a39c6256 100644
--- a/pom.xml
+++ b/pom.xml
@@ -303,9 +303,7 @@
                         <exclude>**/*.conf</exclude>
                         <exclude>**/go.mod</exclude>
                         <exclude>**/go.sum</exclude>
-                        <exclude>**/*.properties</exclude>
                         <exclude>**/*.md</exclude>
-                        <exclude>**/dependency-reduced-pom.xml</exclude>
                         <exclude>**/target/*</exclude>
                         <exclude>.github/**/*</exclude>
                         <exclude>**/.flattened-pom.xml</exclude>

Reply via email to