You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2014/07/28 10:40:47 UTC

[2/3] git commit: ignore target when running rat

ignore target when running rat


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/2051011d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/2051011d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/2051011d

Branch: refs/heads/master
Commit: 2051011df5c8d63e68a83c24080364d3bd3dde0a
Parents: 004589f
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Fri Jul 25 14:06:03 2014 -0400
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Fri Jul 25 14:06:03 2014 -0400

----------------------------------------------------------------------
 docs/dev/build/index.md | 1 +
 pom.xml                 | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/2051011d/docs/dev/build/index.md
----------------------------------------------------------------------
diff --git a/docs/dev/build/index.md b/docs/dev/build/index.md
index c7ebf65..b543da4 100644
--- a/docs/dev/build/index.md
+++ b/docs/dev/build/index.md
@@ -57,6 +57,7 @@ Often the problem is one of the following:
 
 To disable RAT checking on a build, set `rat.ignoreErrors`, e.g. `mvn -Drat.ignoreErrors=true clean install`.  (But note you will need RAT to pass in order for a PR to be accepted!)
 
+If there is a good reason that a file, pattern, or directory should be permanently ignored, that is easy to add inside the root `pom.xml`.
 
 
 ## Other Handy Hints

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/2051011d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 111abf1..a53ae40 100644
--- a/pom.xml
+++ b/pom.xml
@@ -725,6 +725,7 @@
                   <exclude>**/.settings/**</exclude>
                   <exclude>**/*.log</exclude>
                   <exclude>**/brooklyn*.log.*</exclude>
+                  <exclude>**/target/**</exclude>
                   <!-- files not requiring licence -->
                   <exclude>ignored/**</exclude>
                   <exclude>LICENSE.md</exclude>
@@ -744,8 +745,6 @@
                   <exclude>**/src/main/resources/banner.txt</exclude>
                   <exclude>**/src/test/resources/ssl/certs/localhost/info.txt</exclude>
                   <exclude>**/sandbox/examples/src/main/scripts/amis.txt</exclude>
-                  <exclude>**/sandbox/*/target/classes/**</exclude>
-                  <exclude>**/sandbox/*/target/test-classes/**</exclude>
                   <!-- see notes in https://issues.apache.org/jira/browse/BROOKLYN-18 -->
                   <!-- FIXME: Check licences for docs -->
                   <exclude>docs/**</exclude>