ignore JVM crash logs in Apache RAT

Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/653b1309
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/653b1309
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/653b1309

Branch: refs/heads/master
Commit: 653b13095d89497e11b0c24abfc4c66446995b45
Parents: 0a413e7
Author: Dan Halperin <dhalp...@google.com>
Authored: Fri Oct 14 11:07:40 2016 -0700
Committer: Dan Halperin <dhalp...@google.com>
Committed: Fri Oct 14 14:27:33 2016 -0700

----------------------------------------------------------------------
 .gitignore | 3 +++
 pom.xml    | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/653b1309/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index d6cffec..0340d8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,6 +25,9 @@ bin/
 # committed.
 dependency-reduced-pom.xml
 
+# Hotspot VM leaves this log in a non-target directory when java crashes
+hs_err_pid*.log
+
 # Ignore files that end with '~', since they are most likely auto-save files
 # produced by a text editor.
 *~

http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/653b1309/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8a28bd9..1263827 100644
--- a/pom.xml
+++ b/pom.xml
@@ -874,6 +874,7 @@
               <!-- Keep exclude sync with .gitignore -->
               <exclude>**/target/**/*</exclude>
               <exclude>**/dependency-reduced-pom.xml</exclude>
+              <exclude>**/hs_err_pid*.log</exclude>
               <exclude>.github/**/*</exclude>
               <exclude>**/*.iml</exclude>
               <exclude>**/package-list</exclude>

Reply via email to