You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/01/20 01:11:54 UTC

[incubator-iotdb] branch fix_license updated: add ASF header on *.md files

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

hxd pushed a commit to branch fix_license
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/fix_license by this push:
     new f7b9c64  add ASF header on *.md files
f7b9c64 is described below

commit f7b9c64f7038ba58ef13b4b3ccdc74050f20280e
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Jan 20 09:11:42 2019 +0800

    add ASF header on *.md files
---
 Readme.md                | 21 +++++++++++++++++++++
 grafana/readme.md        | 21 +++++++++++++++++++++
 grafana/readme_zh.md     | 21 +++++++++++++++++++++
 hadoop/README.md         | 21 +++++++++++++++++++++
 jdbc/README.md           | 21 +++++++++++++++++++++
 jdbc/example/readme.md   | 21 +++++++++++++++++++++
 jdbc/pom.xml             |  2 --
 pom.xml                  | 10 ++++++----
 tsfile/README.md         | 21 +++++++++++++++++++++
 tsfile/example/readme.md | 21 +++++++++++++++++++++
 tsfile/pom.xml           |  2 --
 11 files changed, 174 insertions(+), 8 deletions(-)

diff --git a/Readme.md b/Readme.md
index 573d92b..7f7aa30 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 # IoTDB
 [![Build Status](https://travis-ci.org/thulab/iotdb.svg?branch=master)](https://travis-ci.org/thulab/iotdb)
 [![codecov](https://codecov.io/gh/thulab/iotdb/branch/master/graph/badge.svg?token=tBhPhPC9EQ)](https://codecov.io/gh/thulab/iotdb)
diff --git a/grafana/readme.md b/grafana/readme.md
index bc65179..353b7ea 100644
--- a/grafana/readme.md
+++ b/grafana/readme.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 # IoTDB-Grafana
 
 * [中文](https://github.com/thulab/iotdb/blob/master/grafana/readme_zh.md)
diff --git a/grafana/readme_zh.md b/grafana/readme_zh.md
index d9b538a..60a1278 100644
--- a/grafana/readme_zh.md
+++ b/grafana/readme_zh.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 # Grafana安装
 Grafana下载地址:https://grafana.com/grafana/download
 
diff --git a/hadoop/README.md b/hadoop/README.md
index 70ce85d..dccc0ce 100644
--- a/hadoop/README.md
+++ b/hadoop/README.md
@@ -1 +1,22 @@
+<!--
+
+    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.
+
+-->
+
 # tsfile-hadoop-connector
diff --git a/jdbc/README.md b/jdbc/README.md
index 4b85d2e..0921cd5 100644
--- a/jdbc/README.md
+++ b/jdbc/README.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 # Usage
 
 ## Dependencies
diff --git a/jdbc/example/readme.md b/jdbc/example/readme.md
index 5e8dc2b..4823c79 100644
--- a/jdbc/example/readme.md
+++ b/jdbc/example/readme.md
@@ -1,3 +1,24 @@
+<!--
+
+    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
 ```
 The example is to show how to send data from localhost to IoTDB through Kafka.
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 2a07271..41bdedd 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -80,8 +80,6 @@
                 <configuration>
                     <excludes>
                         <exclude>example/data/kafka_data.csv</exclude>
-                        <!-- MarkDown files -->
-                        <exclude>**/*.md</exclude>
                     </excludes>
                 </configuration>
             </plugin>
diff --git a/pom.xml b/pom.xml
index 8dcc8fa..6b46f8a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -275,7 +275,9 @@
                 </configuration>
             </plugin>
             <!-- use mvn license:remove to remove license header; mvn license:format -->
-            <plugin>
+            <!-- we do not recommend using the plugin because it maybe out of control
+            (adding headers in some files that you do not want) -->
+            <!-- <plugin>
                 <groupId>com.mycila</groupId>
                 <artifactId>license-maven-plugin</artifactId>
                 <version>3.0</version>
@@ -312,7 +314,7 @@
                         </goals>
                     </execution>
                 </executions>
-            </plugin>
+            </plugin> -->
             <!--
               Check if all files contain Apache headers in them.
               Ignore this plugin, we use license-maven-plugin to check apache header.
@@ -350,8 +352,8 @@
                   <exclude>**/*.log</exclude>
                   <!-- licenses-binary -->
                   <exclude>licenses-binary/*</exclude>
-                  <!-- MarkDown files -->
-                  <exclude>**/*.md</exclude>
+                  <!-- generated by Github -->
+                  <exclude>.github/**</exclude>
                   <!--Checkstyle files -->
                   <exclude>.checkstyle</exclude>
                 </excludes>
diff --git a/tsfile/README.md b/tsfile/README.md
index 19d4ad6..b8977fd 100644
--- a/tsfile/README.md
+++ b/tsfile/README.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 # TsFile Document
 <pre>
 ___________    ___________.__.__          
diff --git a/tsfile/example/readme.md b/tsfile/example/readme.md
index aa1ea70..1a324f5 100644
--- a/tsfile/example/readme.md
+++ b/tsfile/example/readme.md
@@ -1,3 +1,24 @@
+<!--
+
+    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
 ```
 The example is to show how to write and read a TsFile File.
diff --git a/tsfile/pom.xml b/tsfile/pom.xml
index 8e33bd3..fa25fca 100644
--- a/tsfile/pom.xml
+++ b/tsfile/pom.xml
@@ -98,8 +98,6 @@
                 <configuration>
                     <excludes>
                         <exclude>src/test/resources/*.json</exclude>
-                        <!-- MarkDown files -->
-                        <exclude>**/*.md</exclude>
                     </excludes>
                 </configuration>
             </plugin>