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/21 07:17:16 UTC
[incubator-iotdb] branch fix_license updated: skip check header for
local-snapshots-dir and gitignore it
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 8d61c44 skip check header for local-snapshots-dir and gitignore it
8d61c44 is described below
commit 8d61c4415646146aa7ab8fb85e4988338e50f2bd
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Mon Jan 21 15:09:58 2019 +0800
skip check header for local-snapshots-dir and gitignore it
---
.gitignore | 3 +++
pom.xml | 54 ++++++++++++++++++++++++++++++------------------------
tsfile/pom.xml | 2 ++
3 files changed, 35 insertions(+), 24 deletions(-)
diff --git a/.gitignore b/.gitignore
index 77aefe0..a674f1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -90,3 +90,6 @@ grafana/data/test.csv
/target/
*.tsfile
tsfile/src/test/resources/*.ts
+
+### Apache release ###
+local-snapshots-dir/
diff --git a/pom.xml b/pom.xml
index af99248..e713a83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,6 +173,36 @@
<artifactId>sonar-maven-plugin</artifactId>
<version>3.6.0.1398</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- Git related files -->
+ <exclude>**/.git/**</exclude>
+ <exclude>**/.gitignore</exclude>
+ <!-- Maven related files -->
+ <exclude>**/target/**</exclude>
+ <!-- Eclipse related files -->
+ <exclude>**/.project</exclude>
+ <exclude>**/.settings/**</exclude>
+ <exclude>**/.classpath</exclude>
+ <!-- IntelliJ related files -->
+ <exclude>**/.idea/**</exclude>
+ <exclude>**/*.iml</exclude>
+ <!-- Runtime log -->
+ <exclude>**/*.log</exclude>
+ <!-- licenses-binary -->
+ <exclude>licenses-binary/*</exclude>
+ <!-- generated by Github -->
+ <exclude>.github/**</exclude>
+ <!--Checkstyle files -->
+ <exclude>.checkstyle</exclude>
+ <!--Generated by Apache Release -->
+ <exclude>local-snapshots-dir/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -331,30 +361,6 @@
</goals>
</execution>
</executions>
- <configuration>
- <excludes>
- <!-- Git related files -->
- <exclude>**/.git/**</exclude>
- <exclude>**/.gitignore</exclude>
- <!-- Maven related files -->
- <exclude>**/target/**</exclude>
- <!-- Eclipse related files -->
- <exclude>**/.project</exclude>
- <exclude>**/.settings/**</exclude>
- <exclude>**/.classpath</exclude>
- <!-- IntelliJ related files -->
- <exclude>**/.idea/**</exclude>
- <exclude>**/*.iml</exclude>
- <!-- Runtime log -->
- <exclude>**/*.log</exclude>
- <!-- licenses-binary -->
- <exclude>licenses-binary/*</exclude>
- <!-- generated by Github -->
- <exclude>.github/**</exclude>
- <!--Checkstyle files -->
- <exclude>.checkstyle</exclude>
- </excludes>
- </configuration>
</plugin>
<!--use `mvn cobertura:cobertura` -->
<plugin>
diff --git a/tsfile/pom.xml b/tsfile/pom.xml
index a0a74b8..37897d0 100644
--- a/tsfile/pom.xml
+++ b/tsfile/pom.xml
@@ -119,6 +119,8 @@
<configuration>
<excludes>
<exclude>src/test/resources/*.json</exclude>
+ <!-- Runtime log -->
+ <exclude>**/*.log</exclude>
</excludes>
</configuration>
</plugin>