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/10/14 00:52:16 UTC

[incubator-iotdb] 02/03: add apache-rat for .checkstyle file

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

hxd pushed a commit to branch cherry-pick-from-rel0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 18d6f161c4da9afdf543994ace4903c5226d5461
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Sep 29 21:22:19 2019 +0800

    add apache-rat for .checkstyle file
---
 .checkstyle | 20 ++++++++++++++++++++
 pom.xml     |  2 --
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/.checkstyle b/.checkstyle
index c3770a3..8cb2e95 100644
--- a/.checkstyle
+++ b/.checkstyle
@@ -1,4 +1,24 @@
 <?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.
+
+-->
 
 <fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
   <local-check-config name="google" location="checkstyle.xml" type="project" description="">
diff --git a/pom.xml b/pom.xml
index 164cc6c..e97a3e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -465,8 +465,6 @@
                             <exclude>licenses/*</exclude>
                             <!-- generated by Github -->
                             <exclude>.github/**</exclude>
-                            <!--Checkstyle files -->
-                            <exclude>.checkstyle</exclude>
                             <!--Generated by Apache Release -->
                             <exclude>local-snapshots-dir/**</exclude>
                             <!-- JSON can't contain comments and therefore no Apache header -->