ACCUMULO-2651 Fix rat check problems with maven-invoker-plugin

  Stop causing maven-invoker-plugin to produce build.log in the basedir
  of the test project, which causes RAT check to fail (see RAT-160).
  Change default forkCount=1 to stabilize the default build. We can
  experiment with more forks later.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/63ca9c93
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/63ca9c93
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/63ca9c93

Branch: refs/heads/master
Commit: 63ca9c93e22d6dcfc9ee134123bc04b0c29140f8
Parents: 716ea0e
Author: Christopher Tubbs <ctubb...@apache.org>
Authored: Wed Apr 9 11:49:28 2014 -0400
Committer: Christopher Tubbs <ctubb...@apache.org>
Committed: Wed Apr 9 14:15:11 2014 -0400

----------------------------------------------------------------------
 maven-plugin/pom.xml |  1 +
 pom.xml              | 15 ++++++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/63ca9c93/maven-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml
index a2d52f9..7abb924 100644
--- a/maven-plugin/pom.xml
+++ b/maven-plugin/pom.xml
@@ -100,6 +100,7 @@
             <artifactId>maven-invoker-plugin</artifactId>
             <configuration>
               <debug>true</debug>
+              <noLog>true</noLog>
               <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
               <pomIncludes>
                 <pomInclude>*/pom.xml</pomInclude>

http://git-wip-us.apache.org/repos/asf/accumulo/blob/63ca9c93/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bfd849c..3ebc8f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -119,7 +119,7 @@
     <!-- bouncycastle version for test dependencies -->
     <bouncycastle.version>1.50</bouncycastle.version>
     <!-- surefire/failsafe plugin option -->
-    <forkCount>0.25C</forkCount>
+    <forkCount>1</forkCount>
     <!-- overwritten in profiles hadoop-1 or hadoop-2 -->
     <hadoop.version>2.2.0</hadoop.version>
     <httpclient.version>3.1</httpclient.version>
@@ -646,6 +646,19 @@
                 </pluginExecution>
                 <pluginExecution>
                   <pluginExecutionFilter>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <versionRange>[0.8,)</versionRange>
+                    <goals>
+                      <goal>check</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
+                <pluginExecution>
+                  <pluginExecutionFilter>
                     <groupId>org.codehaus.mojo</groupId>
                     <artifactId>native-maven-plugin</artifactId>
                     <versionRange>[1.0-alpha-7,)</versionRange>

Reply via email to