You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/11/01 14:12:31 UTC

[incubator-hugegraph-toolchain] branch master updated: feat: check and add license head (#338)

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-toolchain.git


The following commit(s) were added to refs/heads/master by this push:
     new c7eda954 feat: check and add license head (#338)
c7eda954 is described below

commit c7eda95451228d3cd7be262ed344c337b4e1836e
Author: Simon Cheung <mi...@apache.org>
AuthorDate: Tue Nov 1 22:12:25 2022 +0800

    feat: check and add license head (#338)
---
 assembly/descriptor/assembly.xml                   | 14 ++++++
 assembly/static/conf/log4j2.xml                    | 15 +++++-
 checkstyle.xml                                     | 14 ++++++
 hugegraph-client/assembly/travis/codecov.yml       | 16 +++++++
 .../assembly/travis/conf/gremlin-server.yaml       | 17 +++++++
 .../travis/install-hugegraph-from-source.sh        | 17 ++++++-
 hugegraph-client/build.sh                          | 17 ++++++-
 hugegraph-client/pom.xml                           | 15 ++++++
 .../com/baidu/hugegraph/example/MovieExample.java  | 19 ++++++++
 .../java/com/baidu/hugegraph/BaseClientTest.java   | 19 ++++++++
 hugegraph-hubble/.lintstagedrc.yml                 | 17 +++++++
 .../hubble-dist/assembly/descriptor/assembly.xml   | 14 ++++++
 .../assembly/static/bin/common_functions           | 17 ++++++-
 .../assembly/static/bin/start-hubble.sh            | 17 ++++++-
 .../hubble-dist/assembly/static/bin/stop-hubble.sh | 17 ++++++-
 .../hubble-dist/assembly/travis/build-report.sh    | 17 ++++++-
 .../assembly/travis/download-hugegraph.sh          | 17 ++++++-
 .../travis/hugegraph-server1/gremlin-server.yaml   | 16 +++++++
 .../travis/hugegraph-server1/install-hugegraph.sh  | 17 ++++++-
 .../travis/hugegraph-server2/gremlin-server.yaml   | 16 +++++++
 .../travis/hugegraph-server2/install-hugegraph.sh  | 17 ++++++-
 .../assembly/travis/install-hugegraph-hubble.sh    | 17 ++++++-
 .../assembly/travis/install-hugegraph.sh           | 17 ++++++-
 .../hubble-dist/assembly/travis/run-api-test.sh    | 17 ++++++-
 .../hubble-dist/assembly/travis/start-hubble.sh    | 17 ++++++-
 hugegraph-hubble/pom.xml                           | 14 ++++++
 hugegraph-loader/assembly/descriptor/assembly.xml  | 14 ++++++
 hugegraph-loader/assembly/static/bin/get-params.sh | 17 +++++++
 .../static/bin/hugegraph-flinkcdc-loader.sh        | 17 ++++++-
 .../assembly/static/bin/hugegraph-loader.sh        | 17 ++++++-
 .../assembly/static/bin/hugegraph-spark-loader.sh  | 19 +++++++-
 .../assembly/static/bin/mapping-convert.sh         | 17 ++++++-
 .../assembly/static/bin/utf8-bom-to-utf8.sh        | 17 ++++++-
 hugegraph-loader/assembly/static/conf/log4j2.xml   | 15 +++++-
 .../assembly/static/example/file/schema.groovy     | 18 +++++++
 .../assembly/static/example/hdfs/schema.groovy     | 18 +++++++
 .../assembly/static/example/mysql/example.sql      | 17 +++++++
 .../assembly/static/example/mysql/schema.groovy    | 18 +++++++
 hugegraph-loader/assembly/travis/.travis.yml       | 17 +++++++
 hugegraph-loader/assembly/travis/install-hadoop.sh | 17 ++++++-
 .../travis/install-hugegraph-from-source.sh        | 17 ++++++-
 .../assembly/travis/install-hugegraph-from-tar.sh  | 17 ++++++-
 hugegraph-loader/assembly/travis/install-mysql.sh  | 17 ++++++-
 hugegraph-loader/assembly/travis/mysql.cnf         | 16 +++++++
 hugegraph-loader/build.sh                          | 17 ++++++-
 hugegraph-loader/pom.xml                           | 14 ++++++
 hugegraph-loader/src/main/resources/log4j2.xml     | 15 +++++-
 .../test/resources/bz2_compress_file/schema.groovy | 18 +++++++
 .../clear_schema_before_load/schema.groovy         | 18 +++++++
 .../customized_delimiter_in_csv_file/schema.groovy | 18 +++++++
 .../resources/customized_long_id/schema.groovy     | 18 +++++++
 .../resources/customized_number_id/schema.groovy   | 18 +++++++
 .../test/resources/customized_schema/schema.groovy | 18 +++++++
 .../customized_timezone_gmt0/schema.groovy         | 18 +++++++
 .../test/resources/customized_uuid/schema.groovy   | 18 +++++++
 .../resources/default_timezone_gmt8/schema.groovy  | 18 +++++++
 .../resources/deflate_compress_file/schema.groovy  | 18 +++++++
 .../resources/dir_has_multi_files/schema.groovy    | 18 +++++++
 .../test/resources/dir_has_no_file/schema.groovy   | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../edge_unfold_many_to_many/schema.groovy         | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../edge_unfold_many_to_one/schema.groovy          | 18 +++++++
 .../edge_unfold_one_to_many/schema.groovy          | 18 +++++++
 .../resources/empty_file_with_header/schema.groovy | 18 +++++++
 .../empty_file_without_header/schema.groovy        | 18 +++++++
 .../resources/file_has_empty_line/schema.groovy    | 18 +++++++
 .../file_has_skipped_line_regex/schema.groovy      | 18 +++++++
 .../test/resources/file_no_header/schema.groovy    | 18 +++++++
 .../fill_missing_column_with_empty/schema.groovy   | 18 +++++++
 .../resources/filter_file_by_suffix/schema.groovy  | 18 +++++++
 .../resources/filter_path_by_suffix/schema.groovy  | 18 +++++++
 .../resources/gzip_compress_file/schema.groovy     | 18 +++++++
 .../hdfs_with_core_site_path/core-site.xml         | 14 ++++++
 .../hdfs_with_core_site_path/schema.groovy         | 18 +++++++
 .../hdfs_with_empty_core_site_path/schema.groovy   | 18 +++++++
 .../hdfs_with_invalid_core_site_path/core-site.xml | 14 ++++++
 .../hdfs_with_invalid_core_site_path/schema.groovy | 18 +++++++
 .../hdfs_with_unexist_core_site_path/core-site.xml | 14 ++++++
 .../hdfs_with_unexist_core_site_path/schema.groovy | 18 +++++++
 .../test/resources/header_is_empty/schema.groovy   | 18 +++++++
 .../resources/id_field_as_property/schema.groovy   | 18 +++++++
 .../ignore_null_value_columns/schema.groovy        | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../test/resources/ignored_fields/schema.groovy    | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../resources/jdbc_customized_schema/schema.groovy | 18 +++++++
 .../resources/jdbc_value_mapping/schema.groovy     | 18 +++++++
 .../src/test/resources/long_property/schema.groovy | 18 +++++++
 .../lz4_block_compress_file/schema.groovy          | 18 +++++++
 .../lz4_framed_compress_file/schema.groovy         | 18 +++++++
 .../resources/lzma_compress_file/schema.groovy     | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../matched_date_property_format/schema.groovy     | 37 ++++++++++++++-
 .../matched_encoding_charset/schema.groovy         | 19 +++++++-
 .../schema.groovy                                  | 18 +++++++
 .../multi_files_have_header/schema.groovy          | 18 +++++++
 .../number_and_date_pks_encoded/schema.groovy      | 18 +++++++
 .../test/resources/orc_compress_file/schema.groovy | 18 +++++++
 .../resources/parquet_compress_file/core-site.xml  | 14 ++++++
 .../resources/parquet_compress_file/schema.groovy  | 18 +++++++
 .../resources/parse_empty_csv_line/schema.groovy   | 18 +++++++
 .../test/resources/pk_value_mapping/schema.groovy  | 18 +++++++
 .../resources/read_reached_max_lines/schema.groovy | 18 +++++++
 .../reload_json_failure_files/schema.groovy        | 18 +++++++
 .../selected_and_ignored_fields/schema.groovy      | 18 +++++++
 .../test/resources/selected_fields/schema.groovy   | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../src/test/resources/skip_struct/schema.groovy   | 18 +++++++
 .../snappy_framed_compress_file/schema.groovy      | 18 +++++++
 .../snappy_raw_compress_file/schema.groovy         | 18 +++++++
 .../source_or_target_pk_value_empty/schema.groovy  | 18 +++++++
 .../source_or_target_pk_value_null/schema.groovy   | 18 +++++++
 .../source_target_value_mapping/schema.groovy      | 18 +++++++
 .../timestamp_as_dateformat/schema.groovy          | 18 +++++++
 .../test/resources/too_few_columns/schema.groovy   | 18 +++++++
 .../test/resources/too_many_columns/schema.groovy  | 18 +++++++
 .../unmatched_date_property_format/schema.groovy   | 18 +++++++
 .../unmatched_encoding_charset/schema.groovy       | 18 +++++++
 .../unmatched_property_datatype/schema.groovy      | 18 +++++++
 .../resources/update_by_strategy/schema.groovy     | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../value_boolean_property_in_file/schema.groovy   | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../value_list_property_in_json_file/schema.groovy | 18 +++++++
 .../value_list_property_in_text_file/schema.groovy | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../src/test/resources/value_mapping/schema.groovy | 18 +++++++
 .../value_mapping_in_json_file/schema.groovy       | 18 +++++++
 .../value_set_property_in_json_file/schema.groovy  | 18 +++++++
 .../value_set_property_in_text_file/schema.groovy  | 18 +++++++
 .../value_uuid_property_in_file/schema.groovy      | 18 +++++++
 .../vertex_customized_id_unfold/schema.groovy      | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../resources/vertex_id_column_empty/schema.groovy | 18 +++++++
 .../resources/vertex_id_exceed_limit/schema.groovy | 18 +++++++
 .../vertex_id_exceed_limit_in_bytes/schema.groovy  | 18 +++++++
 .../test/resources/vertex_joint_pks/schema.groovy  | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../resources/vertex_pk_value_empty/schema.groovy  | 18 +++++++
 .../resources/vertex_pk_value_null/schema.groovy   | 18 +++++++
 .../vertex_primarykey_unfold/schema.groovy         | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../schema.groovy                                  | 18 +++++++
 .../vertex_unfold_in_json_file/schema.groovy       | 18 +++++++
 .../test/resources/xz_compress_file/schema.groovy  | 18 +++++++
 .../test/resources/z_compress_file/schema.groovy   | 18 +++++++
 hugegraph-tools/assembly/bin/backup.sh             | 17 ++++++-
 hugegraph-tools/assembly/bin/clear.sh              | 17 ++++++-
 hugegraph-tools/assembly/bin/deploy.sh             | 17 ++++++-
 hugegraph-tools/assembly/bin/hugegraph             | 17 ++++++-
 hugegraph-tools/assembly/bin/release.sh            | 17 ++++++-
 hugegraph-tools/assembly/bin/schedule-backup.sh    | 17 ++++++-
 hugegraph-tools/assembly/bin/start-all.sh          | 17 ++++++-
 hugegraph-tools/assembly/bin/stop-all.sh           | 17 ++++++-
 hugegraph-tools/assembly/bin/util.sh               | 17 ++++++-
 hugegraph-tools/assembly/bin/version-map.yaml      | 17 +++++++
 hugegraph-tools/assembly/descriptor/assembly.xml   | 14 ++++++
 .../assembly/travis/conf/gremlin-server.yaml       | 16 +++++++
 .../travis/install-hugegraph-from-source.sh        | 16 +++++++
 hugegraph-tools/build.sh                           | 17 ++++++-
 hugegraph-tools/ci.yml                             | 16 +++++++
 hugegraph-tools/pom.xml                            | 15 ++++++
 hugegraph-tools/src/main/resources/log4j2.xml      | 15 +++++-
 pom.xml                                            | 55 ++++++++++++++++++++++
 166 files changed, 2894 insertions(+), 40 deletions(-)

diff --git a/assembly/descriptor/assembly.xml b/assembly/descriptor/assembly.xml
index 8bb3eb69..12f0e0a3 100644
--- a/assembly/descriptor/assembly.xml
+++ b/assembly/descriptor/assembly.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <assembly>
     <id>distribution</id>
     <includeBaseDirectory>false</includeBaseDirectory>
diff --git a/assembly/static/conf/log4j2.xml b/assembly/static/conf/log4j2.xml
index 429d8ab1..47c2e639 100644
--- a/assembly/static/conf/log4j2.xml
+++ b/assembly/static/conf/log4j2.xml
@@ -1,5 +1,18 @@
 <?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.
+  -->
 <configuration status="error">
     <Properties>
         <property name="log-charset">UTF-8</property>
diff --git a/checkstyle.xml b/checkstyle.xml
index a13f2527..2977e3b0 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -1,4 +1,18 @@
 <?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.
+  -->
 <!DOCTYPE module PUBLIC
         "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
         "https://checkstyle.org/dtds/configuration_1_3.dtd">
diff --git a/hugegraph-client/assembly/travis/codecov.yml b/hugegraph-client/assembly/travis/codecov.yml
index 8a2a5bb5..bcfd2e76 100644
--- a/hugegraph-client/assembly/travis/codecov.yml
+++ b/hugegraph-client/assembly/travis/codecov.yml
@@ -1,2 +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
+#
+#    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.
+#
 ignore:
   - "src/main/java/com/baidu/hugegraph/example"
diff --git a/hugegraph-client/assembly/travis/conf/gremlin-server.yaml b/hugegraph-client/assembly/travis/conf/gremlin-server.yaml
index 25a958ad..48b7aeb5 100644
--- a/hugegraph-client/assembly/travis/conf/gremlin-server.yaml
+++ b/hugegraph-client/assembly/travis/conf/gremlin-server.yaml
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
 # host and port of gremlin server, need to be consistent with host and port in rest-server.properties
 #host: 127.0.0.1
 #port: 8182
diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
index 6f33c825..92e12339 100755
--- a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 if [[ $# -ne 1 ]]; then
diff --git a/hugegraph-client/build.sh b/hugegraph-client/build.sh
index 170bce5d..03d8de92 100644
--- a/hugegraph-client/build.sh
+++ b/hugegraph-client/build.sh
@@ -1,5 +1,20 @@
 #!/usr/bin/env 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.
+#
 HUGEGRAPH_CLIENT_RELEASE_PATH="${PWD}/output/"
 
 export MAVEN_HOME="/home/scmtools/buildkit/maven/apache-maven-3.3.9/"
diff --git a/hugegraph-client/pom.xml b/hugegraph-client/pom.xml
index fe4c71fc..7321b4c3 100644
--- a/hugegraph-client/pom.xml
+++ b/hugegraph-client/pom.xml
@@ -1,3 +1,18 @@
+<?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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/hugegraph-client/src/main/java/com/baidu/hugegraph/example/MovieExample.java b/hugegraph-client/src/main/java/com/baidu/hugegraph/example/MovieExample.java
index d5cf7447..4ef44c80 100644
--- a/hugegraph-client/src/main/java/com/baidu/hugegraph/example/MovieExample.java
+++ b/hugegraph-client/src/main/java/com/baidu/hugegraph/example/MovieExample.java
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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 com.baidu.hugegraph.example;
 
 import com.baidu.hugegraph.driver.GraphManager;
diff --git a/hugegraph-client/src/test/java/com/baidu/hugegraph/BaseClientTest.java b/hugegraph-client/src/test/java/com/baidu/hugegraph/BaseClientTest.java
index 9f2261a9..f605ee12 100644
--- a/hugegraph-client/src/test/java/com/baidu/hugegraph/BaseClientTest.java
+++ b/hugegraph-client/src/test/java/com/baidu/hugegraph/BaseClientTest.java
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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 com.baidu.hugegraph;
 
 import java.util.ArrayList;
diff --git a/hugegraph-hubble/.lintstagedrc.yml b/hugegraph-hubble/.lintstagedrc.yml
index ae113c81..319a74e6 100644
--- a/hugegraph-hubble/.lintstagedrc.yml
+++ b/hugegraph-hubble/.lintstagedrc.yml
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
 hubble-fe/**/*.json:
   - prettier --write
 hubble-fe/src/**/*.{ts,tsx}:
diff --git a/hugegraph-hubble/hubble-dist/assembly/descriptor/assembly.xml b/hugegraph-hubble/hubble-dist/assembly/descriptor/assembly.xml
index 133eab02..65ac84d2 100644
--- a/hugegraph-hubble/hubble-dist/assembly/descriptor/assembly.xml
+++ b/hugegraph-hubble/hubble-dist/assembly/descriptor/assembly.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <assembly>
     <id>distribution</id>
     <includeBaseDirectory>false</includeBaseDirectory>
diff --git a/hugegraph-hubble/hubble-dist/assembly/static/bin/common_functions b/hugegraph-hubble/hubble-dist/assembly/static/bin/common_functions
index c7a0e9d2..eb160dc8 100644
--- a/hugegraph-hubble/hubble-dist/assembly/static/bin/common_functions
+++ b/hugegraph-hubble/hubble-dist/assembly/static/bin/common_functions
@@ -1,5 +1,20 @@
 #!/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.
+#
 export LANG=zh_CN.UTF-8
 
 function java_env_check() {
diff --git a/hugegraph-hubble/hubble-dist/assembly/static/bin/start-hubble.sh b/hugegraph-hubble/hubble-dist/assembly/static/bin/start-hubble.sh
index b777b1aa..2b47360f 100644
--- a/hugegraph-hubble/hubble-dist/assembly/static/bin/start-hubble.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/static/bin/start-hubble.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 export LANG=zh_CN.UTF-8
 set -e
 
diff --git a/hugegraph-hubble/hubble-dist/assembly/static/bin/stop-hubble.sh b/hugegraph-hubble/hubble-dist/assembly/static/bin/stop-hubble.sh
index 8c8cac8a..8d525ff9 100644
--- a/hugegraph-hubble/hubble-dist/assembly/static/bin/stop-hubble.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/static/bin/stop-hubble.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 HOME_PATH=$(dirname $0)
 HOME_PATH=$(cd "${HOME_PATH}"/.. && pwd)
 BIN_PATH=${HOME_PATH}/bin
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/build-report.sh b/hugegraph-hubble/hubble-dist/assembly/travis/build-report.sh
index 65a5f805..8651e163 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/build-report.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/build-report.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 TRAVIS_DIR=$(dirname "$0")
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh b/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
index 495066c4..f1ec025b 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 if [[ $# -ne 1 ]]; then
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/gremlin-server.yaml b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/gremlin-server.yaml
index bf262f48..6bc8e995 100644
--- a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/gremlin-server.yaml
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/gremlin-server.yaml
@@ -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.
+#
 # host and port of gremlin server
 host: 127.0.0.1
 port: 8182
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/install-hugegraph.sh b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/install-hugegraph.sh
index b1787123..16f282bd 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/install-hugegraph.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server1/install-hugegraph.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 SERVER_CONFIG_DIR=$(dirname "$0")
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/gremlin-server.yaml b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/gremlin-server.yaml
index 23cb4e01..0acd16f3 100644
--- a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/gremlin-server.yaml
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/gremlin-server.yaml
@@ -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.
+#
 # host and port of gremlin server
 host: 127.0.0.1
 port: 8183
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/install-hugegraph.sh b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/install-hugegraph.sh
index a23773ca..59fa1552 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/install-hugegraph.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/hugegraph-server2/install-hugegraph.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 SERVER_CONFIG_DIR=$(dirname "$0")
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph-hubble.sh b/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph-hubble.sh
index c004a24d..4b7759ea 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph-hubble.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph-hubble.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 TRAVIS_DIR=$(dirname "$0")
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph.sh b/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph.sh
index 2bd7d58f..07eebf19 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/install-hugegraph.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 SERVER_VERSION=$1
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/run-api-test.sh b/hugegraph-hubble/hubble-dist/assembly/travis/run-api-test.sh
index 449889cb..67000fad 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/run-api-test.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/run-api-test.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 TRAVIS_DIR="hubble-dist/assembly/travis"
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/start-hubble.sh b/hugegraph-hubble/hubble-dist/assembly/travis/start-hubble.sh
index 78168dc1..53cd2240 100644
--- a/hugegraph-hubble/hubble-dist/assembly/travis/start-hubble.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/start-hubble.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 export LANG=zh_CN.UTF-8
 set -e
 
diff --git a/hugegraph-hubble/pom.xml b/hugegraph-hubble/pom.xml
index 18a8a2c7..b17ddcc4 100644
--- a/hugegraph-hubble/pom.xml
+++ b/hugegraph-hubble/pom.xml
@@ -1,4 +1,18 @@
 <?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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/hugegraph-loader/assembly/descriptor/assembly.xml b/hugegraph-loader/assembly/descriptor/assembly.xml
index e1a37289..37bb81c0 100644
--- a/hugegraph-loader/assembly/descriptor/assembly.xml
+++ b/hugegraph-loader/assembly/descriptor/assembly.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <assembly>
     <id>distribution</id>
     <includeBaseDirectory>false</includeBaseDirectory>
diff --git a/hugegraph-loader/assembly/static/bin/get-params.sh b/hugegraph-loader/assembly/static/bin/get-params.sh
index c9a8132d..c73ebbbd 100644
--- a/hugegraph-loader/assembly/static/bin/get-params.sh
+++ b/hugegraph-loader/assembly/static/bin/get-params.sh
@@ -1,4 +1,21 @@
 #!/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.
+#
+
 function get_params() {
   echo "params: $*"
   ENGINE_PARAMS=""
diff --git a/hugegraph-loader/assembly/static/bin/hugegraph-flinkcdc-loader.sh b/hugegraph-loader/assembly/static/bin/hugegraph-flinkcdc-loader.sh
index 9e6b08c8..d179d459 100755
--- a/hugegraph-loader/assembly/static/bin/hugegraph-flinkcdc-loader.sh
+++ b/hugegraph-loader/assembly/static/bin/hugegraph-flinkcdc-loader.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 BIN_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 APP_DIR=$(dirname ${BIN_DIR})
 LIB_DIR=${APP_DIR}/lib
diff --git a/hugegraph-loader/assembly/static/bin/hugegraph-loader.sh b/hugegraph-loader/assembly/static/bin/hugegraph-loader.sh
index bd1efde7..c06cf64f 100755
--- a/hugegraph-loader/assembly/static/bin/hugegraph-loader.sh
+++ b/hugegraph-loader/assembly/static/bin/hugegraph-loader.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 abs_path() {
     SOURCE="${BASH_SOURCE[0]}"
     while [[ -h "$SOURCE" ]]; do
diff --git a/hugegraph-loader/assembly/static/bin/hugegraph-spark-loader.sh b/hugegraph-loader/assembly/static/bin/hugegraph-spark-loader.sh
index c2004ead..2df0f906 100755
--- a/hugegraph-loader/assembly/static/bin/hugegraph-spark-loader.sh
+++ b/hugegraph-loader/assembly/static/bin/hugegraph-spark-loader.sh
@@ -1,5 +1,20 @@
-#!/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.
+#
 BIN_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 APP_DIR=$(dirname ${BIN_DIR})
 LIB_DIR=${APP_DIR}/lib
diff --git a/hugegraph-loader/assembly/static/bin/mapping-convert.sh b/hugegraph-loader/assembly/static/bin/mapping-convert.sh
index 46972254..ce07f83b 100755
--- a/hugegraph-loader/assembly/static/bin/mapping-convert.sh
+++ b/hugegraph-loader/assembly/static/bin/mapping-convert.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 export LANG=zh_CN.UTF-8
 set -e
 
diff --git a/hugegraph-loader/assembly/static/bin/utf8-bom-to-utf8.sh b/hugegraph-loader/assembly/static/bin/utf8-bom-to-utf8.sh
index d4285f75..38b55058 100755
--- a/hugegraph-loader/assembly/static/bin/utf8-bom-to-utf8.sh
+++ b/hugegraph-loader/assembly/static/bin/utf8-bom-to-utf8.sh
@@ -1,5 +1,20 @@
 #!/usr/bin/env 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.
+#
 if [[ -z "$1" ]]; then
     echo "Usageļ¼š$0 [folder | file]"
     echo "Convert UTF-8 encoded files to UTF-8 without BOM format"
diff --git a/hugegraph-loader/assembly/static/conf/log4j2.xml b/hugegraph-loader/assembly/static/conf/log4j2.xml
index 429d8ab1..47c2e639 100644
--- a/hugegraph-loader/assembly/static/conf/log4j2.xml
+++ b/hugegraph-loader/assembly/static/conf/log4j2.xml
@@ -1,5 +1,18 @@
 <?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.
+  -->
 <configuration status="error">
     <Properties>
         <property name="log-charset">UTF-8</property>
diff --git a/hugegraph-loader/assembly/static/example/file/schema.groovy b/hugegraph-loader/assembly/static/example/file/schema.groovy
index cec8c3f3..8e55eb50 100644
--- a/hugegraph-loader/assembly/static/example/file/schema.groovy
+++ b/hugegraph-loader/assembly/static/example/file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/assembly/static/example/hdfs/schema.groovy b/hugegraph-loader/assembly/static/example/hdfs/schema.groovy
index cec8c3f3..8e55eb50 100644
--- a/hugegraph-loader/assembly/static/example/hdfs/schema.groovy
+++ b/hugegraph-loader/assembly/static/example/hdfs/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/assembly/static/example/mysql/example.sql b/hugegraph-loader/assembly/static/example/mysql/example.sql
index 800d71e2..527dcdf7 100644
--- a/hugegraph-loader/assembly/static/example/mysql/example.sql
+++ b/hugegraph-loader/assembly/static/example/mysql/example.sql
@@ -1,3 +1,20 @@
+/*
+ * 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.
+*/
+
 -- MySQL dump 10.13  Distrib 5.6.39, for macos10.13 (x86_64)
 --
 -- Host: localhost    Database: example
diff --git a/hugegraph-loader/assembly/static/example/mysql/schema.groovy b/hugegraph-loader/assembly/static/example/mysql/schema.groovy
index 44997660..15aca4e9 100644
--- a/hugegraph-loader/assembly/static/example/mysql/schema.groovy
+++ b/hugegraph-loader/assembly/static/example/mysql/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/assembly/travis/.travis.yml b/hugegraph-loader/assembly/travis/.travis.yml
index e3f2fff4..8c260175 100644
--- a/hugegraph-loader/assembly/travis/.travis.yml
+++ b/hugegraph-loader/assembly/travis/.travis.yml
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
 language: java
 
 jdk:
diff --git a/hugegraph-loader/assembly/travis/install-hadoop.sh b/hugegraph-loader/assembly/travis/install-hadoop.sh
index 815a9f3f..3e21346a 100755
--- a/hugegraph-loader/assembly/travis/install-hadoop.sh
+++ b/hugegraph-loader/assembly/travis/install-hadoop.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 sudo wget http://archive.apache.org/dist/hadoop/common/hadoop-2.8.5/hadoop-2.8.5.tar.gz
diff --git a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
index d4ce80ec..d2927625 100755
--- a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 if [[ $# -ne 1 ]]; then
diff --git a/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh b/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh
index 6beab01f..aab8ca69 100755
--- a/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh
+++ b/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 if [[ $# -ne 1 ]]; then
diff --git a/hugegraph-loader/assembly/travis/install-mysql.sh b/hugegraph-loader/assembly/travis/install-mysql.sh
index 1483d4cd..a8441479 100755
--- a/hugegraph-loader/assembly/travis/install-mysql.sh
+++ b/hugegraph-loader/assembly/travis/install-mysql.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 set -ev
 
 TRAVIS_DIR=$(dirname $0)
diff --git a/hugegraph-loader/assembly/travis/mysql.cnf b/hugegraph-loader/assembly/travis/mysql.cnf
index 44c8acee..a5b78113 100644
--- a/hugegraph-loader/assembly/travis/mysql.cnf
+++ b/hugegraph-loader/assembly/travis/mysql.cnf
@@ -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.
+#
 # Overrides the mysql defaults in /etc/mysql/my.cnf
 # Reference from https://github.com/mozilla/treeherder/blob/master/vagrant/mysql.cnf
 
diff --git a/hugegraph-loader/build.sh b/hugegraph-loader/build.sh
index 0d403d93..1946a0a3 100644
--- a/hugegraph-loader/build.sh
+++ b/hugegraph-loader/build.sh
@@ -1,5 +1,20 @@
 #!/usr/bin/env 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.
+#
 HUGEGRAPH_LOADER_RELEASE_PATH="${PWD}/output/"
 
 export MAVEN_HOME="/home/scmtools/buildkit/maven/apache-maven-3.3.9/"
diff --git a/hugegraph-loader/pom.xml b/hugegraph-loader/pom.xml
index 7682f7e2..70132b08 100644
--- a/hugegraph-loader/pom.xml
+++ b/hugegraph-loader/pom.xml
@@ -1,4 +1,18 @@
 <?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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/hugegraph-loader/src/main/resources/log4j2.xml b/hugegraph-loader/src/main/resources/log4j2.xml
index e89812bc..7b65a83f 100644
--- a/hugegraph-loader/src/main/resources/log4j2.xml
+++ b/hugegraph-loader/src/main/resources/log4j2.xml
@@ -1,5 +1,18 @@
 <?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.
+  -->
 <configuration status="error">
     <Properties>
         <property name="log-charset">UTF-8</property>
diff --git a/hugegraph-loader/src/test/resources/bz2_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/bz2_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/bz2_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/bz2_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/clear_schema_before_load/schema.groovy b/hugegraph-loader/src/test/resources/clear_schema_before_load/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/clear_schema_before_load/schema.groovy
+++ b/hugegraph-loader/src/test/resources/clear_schema_before_load/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/customized_delimiter_in_csv_file/schema.groovy b/hugegraph-loader/src/test/resources/customized_delimiter_in_csv_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/customized_delimiter_in_csv_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/customized_delimiter_in_csv_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/customized_long_id/schema.groovy b/hugegraph-loader/src/test/resources/customized_long_id/schema.groovy
index b3dd4f11..b7cd8591 100644
--- a/hugegraph-loader/src/test/resources/customized_long_id/schema.groovy
+++ b/hugegraph-loader/src/test/resources/customized_long_id/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/customized_number_id/schema.groovy b/hugegraph-loader/src/test/resources/customized_number_id/schema.groovy
index b3dd4f11..b7cd8591 100644
--- a/hugegraph-loader/src/test/resources/customized_number_id/schema.groovy
+++ b/hugegraph-loader/src/test/resources/customized_number_id/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/customized_schema/schema.groovy b/hugegraph-loader/src/test/resources/customized_schema/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/customized_schema/schema.groovy
+++ b/hugegraph-loader/src/test/resources/customized_schema/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/customized_timezone_gmt0/schema.groovy b/hugegraph-loader/src/test/resources/customized_timezone_gmt0/schema.groovy
index 5a2e6373..0a33a1b1 100644
--- a/hugegraph-loader/src/test/resources/customized_timezone_gmt0/schema.groovy
+++ b/hugegraph-loader/src/test/resources/customized_timezone_gmt0/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("birth").asDate().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/customized_uuid/schema.groovy b/hugegraph-loader/src/test/resources/customized_uuid/schema.groovy
index c5ac6b86..2272ceb8 100644
--- a/hugegraph-loader/src/test/resources/customized_uuid/schema.groovy
+++ b/hugegraph-loader/src/test/resources/customized_uuid/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/default_timezone_gmt8/schema.groovy b/hugegraph-loader/src/test/resources/default_timezone_gmt8/schema.groovy
index 5a2e6373..0a33a1b1 100644
--- a/hugegraph-loader/src/test/resources/default_timezone_gmt8/schema.groovy
+++ b/hugegraph-loader/src/test/resources/default_timezone_gmt8/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("birth").asDate().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/deflate_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/deflate_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/deflate_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/deflate_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/dir_has_multi_files/schema.groovy b/hugegraph-loader/src/test/resources/dir_has_multi_files/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/dir_has_multi_files/schema.groovy
+++ b/hugegraph-loader/src/test/resources/dir_has_multi_files/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/dir_has_no_file/schema.groovy b/hugegraph-loader/src/test/resources/dir_has_no_file/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/dir_has_no_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/dir_has_no_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/edge_source_or_target_column_empty/schema.groovy b/hugegraph-loader/src/test/resources/edge_source_or_target_column_empty/schema.groovy
index d47c2e98..2577c1c0 100644
--- a/hugegraph-loader/src/test/resources/edge_source_or_target_column_empty/schema.groovy
+++ b/hugegraph-loader/src/test/resources/edge_source_or_target_column_empty/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/edge_unfold_many_to_many/schema.groovy b/hugegraph-loader/src/test/resources/edge_unfold_many_to_many/schema.groovy
index a312123b..12c511a6 100644
--- a/hugegraph-loader/src/test/resources/edge_unfold_many_to_many/schema.groovy
+++ b/hugegraph-loader/src/test/resources/edge_unfold_many_to_many/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/edge_unfold_many_to_many_with_unmatch_number/schema.groovy b/hugegraph-loader/src/test/resources/edge_unfold_many_to_many_with_unmatch_number/schema.groovy
index a312123b..12c511a6 100644
--- a/hugegraph-loader/src/test/resources/edge_unfold_many_to_many_with_unmatch_number/schema.groovy
+++ b/hugegraph-loader/src/test/resources/edge_unfold_many_to_many_with_unmatch_number/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/edge_unfold_many_to_one/schema.groovy b/hugegraph-loader/src/test/resources/edge_unfold_many_to_one/schema.groovy
index a312123b..12c511a6 100644
--- a/hugegraph-loader/src/test/resources/edge_unfold_many_to_one/schema.groovy
+++ b/hugegraph-loader/src/test/resources/edge_unfold_many_to_one/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/edge_unfold_one_to_many/schema.groovy b/hugegraph-loader/src/test/resources/edge_unfold_one_to_many/schema.groovy
index a312123b..12c511a6 100644
--- a/hugegraph-loader/src/test/resources/edge_unfold_one_to_many/schema.groovy
+++ b/hugegraph-loader/src/test/resources/edge_unfold_one_to_many/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/empty_file_with_header/schema.groovy b/hugegraph-loader/src/test/resources/empty_file_with_header/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/empty_file_with_header/schema.groovy
+++ b/hugegraph-loader/src/test/resources/empty_file_with_header/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/empty_file_without_header/schema.groovy b/hugegraph-loader/src/test/resources/empty_file_without_header/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/empty_file_without_header/schema.groovy
+++ b/hugegraph-loader/src/test/resources/empty_file_without_header/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/file_has_empty_line/schema.groovy b/hugegraph-loader/src/test/resources/file_has_empty_line/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/file_has_empty_line/schema.groovy
+++ b/hugegraph-loader/src/test/resources/file_has_empty_line/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/file_has_skipped_line_regex/schema.groovy b/hugegraph-loader/src/test/resources/file_has_skipped_line_regex/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/file_has_skipped_line_regex/schema.groovy
+++ b/hugegraph-loader/src/test/resources/file_has_skipped_line_regex/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/file_no_header/schema.groovy b/hugegraph-loader/src/test/resources/file_no_header/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/file_no_header/schema.groovy
+++ b/hugegraph-loader/src/test/resources/file_no_header/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/fill_missing_column_with_empty/schema.groovy b/hugegraph-loader/src/test/resources/fill_missing_column_with_empty/schema.groovy
index 5dd45b15..1a11e027 100644
--- a/hugegraph-loader/src/test/resources/fill_missing_column_with_empty/schema.groovy
+++ b/hugegraph-loader/src/test/resources/fill_missing_column_with_empty/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/filter_file_by_suffix/schema.groovy b/hugegraph-loader/src/test/resources/filter_file_by_suffix/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/filter_file_by_suffix/schema.groovy
+++ b/hugegraph-loader/src/test/resources/filter_file_by_suffix/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/filter_path_by_suffix/schema.groovy b/hugegraph-loader/src/test/resources/filter_path_by_suffix/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/filter_path_by_suffix/schema.groovy
+++ b/hugegraph-loader/src/test/resources/filter_path_by_suffix/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/gzip_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/gzip_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/gzip_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/gzip_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/core-site.xml b/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/core-site.xml
index 216a8101..e39c17d2 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/core-site.xml
+++ b/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/core-site.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <configuration>
     <property>
         <name>fs.defaultFS</name>
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/schema.groovy b/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/schema.groovy
+++ b/hugegraph-loader/src/test/resources/hdfs_with_core_site_path/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_empty_core_site_path/schema.groovy b/hugegraph-loader/src/test/resources/hdfs_with_empty_core_site_path/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_empty_core_site_path/schema.groovy
+++ b/hugegraph-loader/src/test/resources/hdfs_with_empty_core_site_path/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/core-site.xml b/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/core-site.xml
index 1b930dec..3aba46b1 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/core-site.xml
+++ b/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/core-site.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <configuration>
     <property>
         <name>fs.defaultFS</name>
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/schema.groovy b/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/schema.groovy
+++ b/hugegraph-loader/src/test/resources/hdfs_with_invalid_core_site_path/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/core-site.xml b/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/core-site.xml
index 216a8101..e39c17d2 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/core-site.xml
+++ b/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/core-site.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <configuration>
     <property>
         <name>fs.defaultFS</name>
diff --git a/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/schema.groovy b/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/schema.groovy
+++ b/hugegraph-loader/src/test/resources/hdfs_with_unexist_core_site_path/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/header_is_empty/schema.groovy b/hugegraph-loader/src/test/resources/header_is_empty/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/header_is_empty/schema.groovy
+++ b/hugegraph-loader/src/test/resources/header_is_empty/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/id_field_as_property/schema.groovy b/hugegraph-loader/src/test/resources/id_field_as_property/schema.groovy
index e07f699a..86909a6e 100644
--- a/hugegraph-loader/src/test/resources/id_field_as_property/schema.groovy
+++ b/hugegraph-loader/src/test/resources/id_field_as_property/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("id").asText().ifNotExist().create();
 schema.propertyKey("name").asText().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/ignore_null_value_columns/schema.groovy b/hugegraph-loader/src/test/resources/ignore_null_value_columns/schema.groovy
index 8106278a..7b0d2533 100644
--- a/hugegraph-loader/src/test/resources/ignore_null_value_columns/schema.groovy
+++ b/hugegraph-loader/src/test/resources/ignore_null_value_columns/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/ignore_tail_redudant_empty_column/schema.groovy b/hugegraph-loader/src/test/resources/ignore_tail_redudant_empty_column/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/ignore_tail_redudant_empty_column/schema.groovy
+++ b/hugegraph-loader/src/test/resources/ignore_tail_redudant_empty_column/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/ignored_fields/schema.groovy b/hugegraph-loader/src/test/resources/ignored_fields/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/ignored_fields/schema.groovy
+++ b/hugegraph-loader/src/test/resources/ignored_fields/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/incremental_mode_and_load_failure/schema.groovy b/hugegraph-loader/src/test/resources/incremental_mode_and_load_failure/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/incremental_mode_and_load_failure/schema.groovy
+++ b/hugegraph-loader/src/test/resources/incremental_mode_and_load_failure/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/jdbc_customized_schema/schema.groovy b/hugegraph-loader/src/test/resources/jdbc_customized_schema/schema.groovy
index 44997660..15aca4e9 100644
--- a/hugegraph-loader/src/test/resources/jdbc_customized_schema/schema.groovy
+++ b/hugegraph-loader/src/test/resources/jdbc_customized_schema/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/jdbc_value_mapping/schema.groovy b/hugegraph-loader/src/test/resources/jdbc_value_mapping/schema.groovy
index 38336a9f..9b3cbe51 100644
--- a/hugegraph-loader/src/test/resources/jdbc_value_mapping/schema.groovy
+++ b/hugegraph-loader/src/test/resources/jdbc_value_mapping/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/long_property/schema.groovy b/hugegraph-loader/src/test/resources/long_property/schema.groovy
index 1d0d85cf..f379cfeb 100644
--- a/hugegraph-loader/src/test/resources/long_property/schema.groovy
+++ b/hugegraph-loader/src/test/resources/long_property/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/lz4_block_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/lz4_block_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/lz4_block_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/lz4_block_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/lz4_framed_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/lz4_framed_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/lz4_framed_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/lz4_framed_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/lzma_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/lzma_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/lzma_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/lzma_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/mapping_ignore_null_value_columns/schema.groovy b/hugegraph-loader/src/test/resources/mapping_ignore_null_value_columns/schema.groovy
index 8106278a..7b0d2533 100644
--- a/hugegraph-loader/src/test/resources/mapping_ignore_null_value_columns/schema.groovy
+++ b/hugegraph-loader/src/test/resources/mapping_ignore_null_value_columns/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/matched_date_property_format/schema.groovy b/hugegraph-loader/src/test/resources/matched_date_property_format/schema.groovy
index 5a2e6373..d3d02a3a 100644
--- a/hugegraph-loader/src/test/resources/matched_date_property_format/schema.groovy
+++ b/hugegraph-loader/src/test/resources/matched_date_property_format/schema.groovy
@@ -1,4 +1,39 @@
-// Define schema
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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 HugeGraph Authors
+ *
+ * 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.
+ */
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("birth").asDate().ifNotExist().create();
 schema.propertyKey("city").asText().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/matched_encoding_charset/schema.groovy b/hugegraph-loader/src/test/resources/matched_encoding_charset/schema.groovy
index 1c56f15b..3fcbcb25 100644
--- a/hugegraph-loader/src/test/resources/matched_encoding_charset/schema.groovy
+++ b/hugegraph-loader/src/test/resources/matched_encoding_charset/schema.groovy
@@ -1,4 +1,21 @@
-// Define schema
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("lang").asText().ifNotExist().create();
 schema.propertyKey("price").asDouble().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/multi_column_mapping_to_same_label/schema.groovy b/hugegraph-loader/src/test/resources/multi_column_mapping_to_same_label/schema.groovy
index 1aa013ba..d090e042 100644
--- a/hugegraph-loader/src/test/resources/multi_column_mapping_to_same_label/schema.groovy
+++ b/hugegraph-loader/src/test/resources/multi_column_mapping_to_same_label/schema.groovy
@@ -1,2 +1,20 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.vertexLabel("person").useCustomizeStringId().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/multi_files_have_header/schema.groovy b/hugegraph-loader/src/test/resources/multi_files_have_header/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/multi_files_have_header/schema.groovy
+++ b/hugegraph-loader/src/test/resources/multi_files_have_header/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/number_and_date_pks_encoded/schema.groovy b/hugegraph-loader/src/test/resources/number_and_date_pks_encoded/schema.groovy
index cfdd6014..553d1221 100644
--- a/hugegraph-loader/src/test/resources/number_and_date_pks_encoded/schema.groovy
+++ b/hugegraph-loader/src/test/resources/number_and_date_pks_encoded/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("id").asLong().ifNotExist().create();
 schema.propertyKey("name").asText().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/orc_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/orc_compress_file/schema.groovy
index 7f17b7af..69316f60 100644
--- a/hugegraph-loader/src/test/resources/orc_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/orc_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("p_boolean").asBoolean().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/parquet_compress_file/core-site.xml b/hugegraph-loader/src/test/resources/parquet_compress_file/core-site.xml
index 216a8101..e39c17d2 100644
--- a/hugegraph-loader/src/test/resources/parquet_compress_file/core-site.xml
+++ b/hugegraph-loader/src/test/resources/parquet_compress_file/core-site.xml
@@ -1,3 +1,17 @@
+<!--
+  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.
+  -->
 <configuration>
     <property>
         <name>fs.defaultFS</name>
diff --git a/hugegraph-loader/src/test/resources/parquet_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/parquet_compress_file/schema.groovy
index ce229681..83ff9f6d 100644
--- a/hugegraph-loader/src/test/resources/parquet_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/parquet_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/parse_empty_csv_line/schema.groovy b/hugegraph-loader/src/test/resources/parse_empty_csv_line/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/parse_empty_csv_line/schema.groovy
+++ b/hugegraph-loader/src/test/resources/parse_empty_csv_line/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/pk_value_mapping/schema.groovy b/hugegraph-loader/src/test/resources/pk_value_mapping/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/pk_value_mapping/schema.groovy
+++ b/hugegraph-loader/src/test/resources/pk_value_mapping/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/read_reached_max_lines/schema.groovy b/hugegraph-loader/src/test/resources/read_reached_max_lines/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/read_reached_max_lines/schema.groovy
+++ b/hugegraph-loader/src/test/resources/read_reached_max_lines/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/reload_json_failure_files/schema.groovy b/hugegraph-loader/src/test/resources/reload_json_failure_files/schema.groovy
index 1865ff62..d5d5c251 100644
--- a/hugegraph-loader/src/test/resources/reload_json_failure_files/schema.groovy
+++ b/hugegraph-loader/src/test/resources/reload_json_failure_files/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/selected_and_ignored_fields/schema.groovy b/hugegraph-loader/src/test/resources/selected_and_ignored_fields/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/selected_and_ignored_fields/schema.groovy
+++ b/hugegraph-loader/src/test/resources/selected_and_ignored_fields/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/selected_fields/schema.groovy b/hugegraph-loader/src/test/resources/selected_fields/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/selected_fields/schema.groovy
+++ b/hugegraph-loader/src/test/resources/selected_fields/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/single_insert_edge_with_check_vertex_false/schema.groovy b/hugegraph-loader/src/test/resources/single_insert_edge_with_check_vertex_false/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/single_insert_edge_with_check_vertex_false/schema.groovy
+++ b/hugegraph-loader/src/test/resources/single_insert_edge_with_check_vertex_false/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/skip_struct/schema.groovy b/hugegraph-loader/src/test/resources/skip_struct/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/skip_struct/schema.groovy
+++ b/hugegraph-loader/src/test/resources/skip_struct/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/snappy_framed_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/snappy_framed_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/snappy_framed_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/snappy_framed_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/snappy_raw_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/snappy_raw_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/snappy_raw_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/snappy_raw_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/source_or_target_pk_value_empty/schema.groovy b/hugegraph-loader/src/test/resources/source_or_target_pk_value_empty/schema.groovy
index b9eab782..8293e020 100644
--- a/hugegraph-loader/src/test/resources/source_or_target_pk_value_empty/schema.groovy
+++ b/hugegraph-loader/src/test/resources/source_or_target_pk_value_empty/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/source_or_target_pk_value_null/schema.groovy b/hugegraph-loader/src/test/resources/source_or_target_pk_value_null/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/source_or_target_pk_value_null/schema.groovy
+++ b/hugegraph-loader/src/test/resources/source_or_target_pk_value_null/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/source_target_value_mapping/schema.groovy b/hugegraph-loader/src/test/resources/source_target_value_mapping/schema.groovy
index d73d56f2..1ef594b6 100644
--- a/hugegraph-loader/src/test/resources/source_target_value_mapping/schema.groovy
+++ b/hugegraph-loader/src/test/resources/source_target_value_mapping/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/timestamp_as_dateformat/schema.groovy b/hugegraph-loader/src/test/resources/timestamp_as_dateformat/schema.groovy
index 5a2e6373..0a33a1b1 100644
--- a/hugegraph-loader/src/test/resources/timestamp_as_dateformat/schema.groovy
+++ b/hugegraph-loader/src/test/resources/timestamp_as_dateformat/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("birth").asDate().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/too_few_columns/schema.groovy b/hugegraph-loader/src/test/resources/too_few_columns/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/too_few_columns/schema.groovy
+++ b/hugegraph-loader/src/test/resources/too_few_columns/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/too_many_columns/schema.groovy b/hugegraph-loader/src/test/resources/too_many_columns/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/too_many_columns/schema.groovy
+++ b/hugegraph-loader/src/test/resources/too_many_columns/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/unmatched_date_property_format/schema.groovy b/hugegraph-loader/src/test/resources/unmatched_date_property_format/schema.groovy
index 5a2e6373..0a33a1b1 100644
--- a/hugegraph-loader/src/test/resources/unmatched_date_property_format/schema.groovy
+++ b/hugegraph-loader/src/test/resources/unmatched_date_property_format/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("birth").asDate().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/unmatched_encoding_charset/schema.groovy b/hugegraph-loader/src/test/resources/unmatched_encoding_charset/schema.groovy
index 1c56f15b..9128c2b6 100644
--- a/hugegraph-loader/src/test/resources/unmatched_encoding_charset/schema.groovy
+++ b/hugegraph-loader/src/test/resources/unmatched_encoding_charset/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("lang").asText().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/unmatched_property_datatype/schema.groovy b/hugegraph-loader/src/test/resources/unmatched_property_datatype/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/unmatched_property_datatype/schema.groovy
+++ b/hugegraph-loader/src/test/resources/unmatched_property_datatype/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/update_by_strategy/schema.groovy b/hugegraph-loader/src/test/resources/update_by_strategy/schema.groovy
index a63eeaf5..a840972e 100644
--- a/hugegraph-loader/src/test/resources/update_by_strategy/schema.groovy
+++ b/hugegraph-loader/src/test/resources/update_by_strategy/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/update_by_strategy_without_symbol/schema.groovy b/hugegraph-loader/src/test/resources/update_by_strategy_without_symbol/schema.groovy
index a63eeaf5..a840972e 100644
--- a/hugegraph-loader/src/test/resources/update_by_strategy_without_symbol/schema.groovy
+++ b/hugegraph-loader/src/test/resources/update_by_strategy_without_symbol/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_boolean_property_in_file/schema.groovy b/hugegraph-loader/src/test/resources/value_boolean_property_in_file/schema.groovy
index e8a2a643..485206b2 100644
--- a/hugegraph-loader/src/test/resources/value_boolean_property_in_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_boolean_property_in_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_list_property_in_csv_file_with_same_delimiter/schema.groovy b/hugegraph-loader/src/test/resources/value_list_property_in_csv_file_with_same_delimiter/schema.groovy
index b9ca7e29..48f13826 100644
--- a/hugegraph-loader/src/test/resources/value_list_property_in_csv_file_with_same_delimiter/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_list_property_in_csv_file_with_same_delimiter/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_list_property_in_json_file/schema.groovy b/hugegraph-loader/src/test/resources/value_list_property_in_json_file/schema.groovy
index cbb51d09..00aa136b 100644
--- a/hugegraph-loader/src/test/resources/value_list_property_in_json_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_list_property_in_json_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_list_property_in_text_file/schema.groovy b/hugegraph-loader/src/test/resources/value_list_property_in_text_file/schema.groovy
index 0e06cd06..e338d9b3 100644
--- a/hugegraph-loader/src/test/resources/value_list_property_in_text_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_list_property_in_text_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_elem_delimiter/schema.groovy b/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_elem_delimiter/schema.groovy
index b9ca7e29..48f13826 100644
--- a/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_elem_delimiter/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_elem_delimiter/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_symbols/schema.groovy b/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_symbols/schema.groovy
index 1e9d90b1..6987a32f 100644
--- a/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_symbols/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_list_property_in_text_file_with_symbols/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_mapping/schema.groovy b/hugegraph-loader/src/test/resources/value_mapping/schema.groovy
index 609c4e22..b57c6f5d 100644
--- a/hugegraph-loader/src/test/resources/value_mapping/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_mapping/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_mapping_in_json_file/schema.groovy b/hugegraph-loader/src/test/resources/value_mapping_in_json_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/value_mapping_in_json_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_mapping_in_json_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_set_property_in_json_file/schema.groovy b/hugegraph-loader/src/test/resources/value_set_property_in_json_file/schema.groovy
index cbb51d09..00aa136b 100644
--- a/hugegraph-loader/src/test/resources/value_set_property_in_json_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_set_property_in_json_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_set_property_in_text_file/schema.groovy b/hugegraph-loader/src/test/resources/value_set_property_in_text_file/schema.groovy
index 498aea25..d6fccbcd 100644
--- a/hugegraph-loader/src/test/resources/value_set_property_in_text_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_set_property_in_text_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/value_uuid_property_in_file/schema.groovy b/hugegraph-loader/src/test/resources/value_uuid_property_in_file/schema.groovy
index 2fec8508..25e55c64 100644
--- a/hugegraph-loader/src/test/resources/value_uuid_property_in_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/value_uuid_property_in_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_customized_id_unfold/schema.groovy b/hugegraph-loader/src/test/resources/vertex_customized_id_unfold/schema.groovy
index 66aea6f6..3b8c140e 100644
--- a/hugegraph-loader/src/test/resources/vertex_customized_id_unfold/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_customized_id_unfold/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_customized_id_unfold_with_mapping/schema.groovy b/hugegraph-loader/src/test/resources/vertex_customized_id_unfold_with_mapping/schema.groovy
index 66aea6f6..3b8c140e 100644
--- a/hugegraph-loader/src/test/resources/vertex_customized_id_unfold_with_mapping/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_customized_id_unfold_with_mapping/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_id_column_empty/schema.groovy b/hugegraph-loader/src/test/resources/vertex_id_column_empty/schema.groovy
index 66aea6f6..3b8c140e 100644
--- a/hugegraph-loader/src/test/resources/vertex_id_column_empty/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_id_column_empty/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_id_exceed_limit/schema.groovy b/hugegraph-loader/src/test/resources/vertex_id_exceed_limit/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/vertex_id_exceed_limit/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_id_exceed_limit/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_id_exceed_limit_in_bytes/schema.groovy b/hugegraph-loader/src/test/resources/vertex_id_exceed_limit_in_bytes/schema.groovy
index 1c56f15b..9128c2b6 100644
--- a/hugegraph-loader/src/test/resources/vertex_id_exceed_limit_in_bytes/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_id_exceed_limit_in_bytes/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("lang").asText().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_joint_pks/schema.groovy b/hugegraph-loader/src/test/resources/vertex_joint_pks/schema.groovy
index 5e0616e0..53335a37 100644
--- a/hugegraph-loader/src/test/resources/vertex_joint_pks/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_joint_pks/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_pk_contains_special_symbol/schema.groovy b/hugegraph-loader/src/test/resources/vertex_pk_contains_special_symbol/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/vertex_pk_contains_special_symbol/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_pk_contains_special_symbol/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_pk_value_empty/schema.groovy b/hugegraph-loader/src/test/resources/vertex_pk_value_empty/schema.groovy
index 4bbd3bb1..c34f8b0b 100644
--- a/hugegraph-loader/src/test/resources/vertex_pk_value_empty/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_pk_value_empty/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_pk_value_null/schema.groovy b/hugegraph-loader/src/test/resources/vertex_pk_value_null/schema.groovy
index 0b734e99..e8a952db 100644
--- a/hugegraph-loader/src/test/resources/vertex_pk_value_null/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_pk_value_null/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_primarykey_unfold/schema.groovy b/hugegraph-loader/src/test/resources/vertex_primarykey_unfold/schema.groovy
index 644ae6b2..67dd8a10 100644
--- a/hugegraph-loader/src/test/resources/vertex_primarykey_unfold/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_primarykey_unfold/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_exceed_limit/schema.groovy b/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_exceed_limit/schema.groovy
index f2d119b4..6c9c0ed1 100644
--- a/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_exceed_limit/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_exceed_limit/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_with_mapping/schema.groovy b/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_with_mapping/schema.groovy
index 644ae6b2..67dd8a10 100644
--- a/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_with_mapping/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_primarykey_unfold_with_mapping/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/vertex_unfold_in_json_file/schema.groovy b/hugegraph-loader/src/test/resources/vertex_unfold_in_json_file/schema.groovy
index 73d85bcd..4a796dc6 100644
--- a/hugegraph-loader/src/test/resources/vertex_unfold_in_json_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/vertex_unfold_in_json_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/xz_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/xz_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/xz_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/xz_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-loader/src/test/resources/z_compress_file/schema.groovy b/hugegraph-loader/src/test/resources/z_compress_file/schema.groovy
index 9296fd29..80346fd1 100644
--- a/hugegraph-loader/src/test/resources/z_compress_file/schema.groovy
+++ b/hugegraph-loader/src/test/resources/z_compress_file/schema.groovy
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2017 HugeGraph Authors
+ *
+ * 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.
+ */
 // Define schema
 schema.propertyKey("name").asText().ifNotExist().create();
 schema.propertyKey("age").asInt().ifNotExist().create();
diff --git a/hugegraph-tools/assembly/bin/backup.sh b/hugegraph-tools/assembly/bin/backup.sh
index b4c5e05a..3e91bd6f 100755
--- a/hugegraph-tools/assembly/bin/backup.sh
+++ b/hugegraph-tools/assembly/bin/backup.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 function abs_path() {
     SOURCE="${BASH_SOURCE[0]}"
     while [ -h "$SOURCE" ]; do
diff --git a/hugegraph-tools/assembly/bin/clear.sh b/hugegraph-tools/assembly/bin/clear.sh
index c123db55..f9b01326 100755
--- a/hugegraph-tools/assembly/bin/clear.sh
+++ b/hugegraph-tools/assembly/bin/clear.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 INSTALL_PATH=""
 
 function print_usage() {
diff --git a/hugegraph-tools/assembly/bin/deploy.sh b/hugegraph-tools/assembly/bin/deploy.sh
index 85fe57bb..579fb0c9 100755
--- a/hugegraph-tools/assembly/bin/deploy.sh
+++ b/hugegraph-tools/assembly/bin/deploy.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 VERSION=""
 INSTALL_PATH=""
 DOWNLOAD_LINK_PREFIX=""
diff --git a/hugegraph-tools/assembly/bin/hugegraph b/hugegraph-tools/assembly/bin/hugegraph
index 2b4c8392..27d49d99 100755
--- a/hugegraph-tools/assembly/bin/hugegraph
+++ b/hugegraph-tools/assembly/bin/hugegraph
@@ -1,5 +1,20 @@
 #!/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.
+#
 # Set environment here if needed
 #export HUGEGRAPH_URL=
 #export HUGEGRAPH_GRAPH=
diff --git a/hugegraph-tools/assembly/bin/release.sh b/hugegraph-tools/assembly/bin/release.sh
index 971e5d1e..e89944b9 100755
--- a/hugegraph-tools/assembly/bin/release.sh
+++ b/hugegraph-tools/assembly/bin/release.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 BASE_BRANCH="master"
 
 # Checkout a new release-branch and bump base branch version
diff --git a/hugegraph-tools/assembly/bin/schedule-backup.sh b/hugegraph-tools/assembly/bin/schedule-backup.sh
index b89adb6b..bd6b480a 100755
--- a/hugegraph-tools/assembly/bin/schedule-backup.sh
+++ b/hugegraph-tools/assembly/bin/schedule-backup.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 function abs_path() {
     SOURCE="${BASH_SOURCE[0]}"
     while [ -h "$SOURCE" ]; do
diff --git a/hugegraph-tools/assembly/bin/start-all.sh b/hugegraph-tools/assembly/bin/start-all.sh
index 3220a047..48330d28 100755
--- a/hugegraph-tools/assembly/bin/start-all.sh
+++ b/hugegraph-tools/assembly/bin/start-all.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 VERSION=""
 INSTALL_PATH=""
 
diff --git a/hugegraph-tools/assembly/bin/stop-all.sh b/hugegraph-tools/assembly/bin/stop-all.sh
index a570175d..ef7328dd 100755
--- a/hugegraph-tools/assembly/bin/stop-all.sh
+++ b/hugegraph-tools/assembly/bin/stop-all.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 function abs_path() {
     SOURCE="${BASH_SOURCE[0]}"
     while [ -h "$SOURCE" ]; do
diff --git a/hugegraph-tools/assembly/bin/util.sh b/hugegraph-tools/assembly/bin/util.sh
index 1363769a..a32a85d1 100755
--- a/hugegraph-tools/assembly/bin/util.sh
+++ b/hugegraph-tools/assembly/bin/util.sh
@@ -1,5 +1,20 @@
 #!/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.
+#
 # TODO: Need to check all command before using?
 
 function command_available() {
diff --git a/hugegraph-tools/assembly/bin/version-map.yaml b/hugegraph-tools/assembly/bin/version-map.yaml
index a79fd261..7f7cfadb 100644
--- a/hugegraph-tools/assembly/bin/version-map.yaml
+++ b/hugegraph-tools/assembly/bin/version-map.yaml
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
 version-0.6: {
   server: 0.6.1,
   studio: 0.6.1
diff --git a/hugegraph-tools/assembly/descriptor/assembly.xml b/hugegraph-tools/assembly/descriptor/assembly.xml
index 5fbc6405..68266fee 100644
--- a/hugegraph-tools/assembly/descriptor/assembly.xml
+++ b/hugegraph-tools/assembly/descriptor/assembly.xml
@@ -1,3 +1,17 @@
+<!--
+  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 (C) 2018 Baidu, Inc. All Rights Reserved.
   -->
diff --git a/hugegraph-tools/assembly/travis/conf/gremlin-server.yaml b/hugegraph-tools/assembly/travis/conf/gremlin-server.yaml
index 25a958ad..54219602 100644
--- a/hugegraph-tools/assembly/travis/conf/gremlin-server.yaml
+++ b/hugegraph-tools/assembly/travis/conf/gremlin-server.yaml
@@ -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.
+#
 # host and port of gremlin server, need to be consistent with host and port in rest-server.properties
 #host: 127.0.0.1
 #port: 8182
diff --git a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
index 49d207cf..176be211 100755
--- a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
@@ -1,4 +1,20 @@
 #!/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.
+#
 set -ev
 if [[ $# -ne 1 ]]; then
     echo "Must input an existing commit id of hugegraph server" && exit 1
diff --git a/hugegraph-tools/build.sh b/hugegraph-tools/build.sh
index 4cf5a3cc..24e65521 100644
--- a/hugegraph-tools/build.sh
+++ b/hugegraph-tools/build.sh
@@ -1,5 +1,20 @@
 #!/usr/bin/env 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.
+#
 export MAVEN_HOME="/home/scmtools/buildkit/maven/apache-maven-3.3.9/"
 export JAVA_HOME="/home/scmtools/buildkit/java/jdk1.8.0_25/"
 export PATH="$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH"
diff --git a/hugegraph-tools/ci.yml b/hugegraph-tools/ci.yml
index fb8d7e63..e76d461d 100644
--- a/hugegraph-tools/ci.yml
+++ b/hugegraph-tools/ci.yml
@@ -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.
+#
 Global:
     tool : build_submitter
     languages:
diff --git a/hugegraph-tools/pom.xml b/hugegraph-tools/pom.xml
index 078b9140..0d352c4a 100644
--- a/hugegraph-tools/pom.xml
+++ b/hugegraph-tools/pom.xml
@@ -1,3 +1,18 @@
+<?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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/hugegraph-tools/src/main/resources/log4j2.xml b/hugegraph-tools/src/main/resources/log4j2.xml
index 2526bf0c..f23bfad7 100644
--- a/hugegraph-tools/src/main/resources/log4j2.xml
+++ b/hugegraph-tools/src/main/resources/log4j2.xml
@@ -1,5 +1,18 @@
 <?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.
+  -->
 <configuration status="error">
     <appenders>
         <Console name="console" target="SYSTEM_OUT">
diff --git a/pom.xml b/pom.xml
index bcb4a811..e1f2eebe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,18 @@
 <?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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -361,6 +375,47 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <!-- Apache RAT for license check -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <version>0.15</version>
+                <configuration>
+                    <excludes>
+                        <exclude>**/*.versionsBackup</exclude>
+                        <exclude>**/*.log</exclude>
+                        <exclude>**/*.txt</exclude>
+                        <exclude>**/*.csv</exclude>
+                        <exclude>**/*.json</exclude>
+                        <exclude>**/*.conf</exclude>
+                        <exclude>**/*.properties</exclude>
+                        <exclude>**/*.gitattributes</exclude>
+                        <exclude>dist/**/*</exclude>
+                        <exclude>docs/**/*</exclude>
+                        <exclude>scripts/dev/reviewers</exclude>
+                        <exclude>**/*.md</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
+                        <exclude>**/logs/*.log</exclude>
+                        <exclude>**/target/*</exclude>
+                        <exclude>style/*</exclude>
+                        <exclude>ChangeLog</exclude>
+                        <exclude>CONFIG.ini</exclude>
+                        <exclude>GROUPS</exclude>
+                        <exclude>OWNERS</exclude>
+                        <!-- GitHub -->
+                        <exclude>.github/**/*</exclude>
+                        <!-- Intellij -->
+                        <exclude>**/*.iml</exclude>
+                        <exclude>**/*.iws</exclude>
+                        <exclude>**/*.ipr</exclude>
+                        <exclude>**/META-INF/MANIFEST.MF</exclude>
+                        <!-- Maven -->
+                        <exclude>.repository/**</exclude>
+                    </excludes>
+                    <consoleOutput>true</consoleOutput>
+                </configuration>
+            </plugin>
         </plugins>
 
 <!--        <testResources>-->