AMBARI-18076. Exclude Jbehave story files from rat check (oleewere)

Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2cc33c92
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2cc33c92
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2cc33c92

Branch: refs/heads/logsearch-ga
Commit: 2cc33c9221cf63d610940169e4d0062de8d7fed2
Parents: 0a3cdcc
Author: oleewere <[email protected]>
Authored: Thu Aug 25 15:37:49 2016 +0200
Committer: oleewere <[email protected]>
Committed: Wed Sep 28 11:29:42 2016 +0200

----------------------------------------------------------------------
 ambari-logsearch/ambari-logsearch-it/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2cc33c92/ambari-logsearch/ambari-logsearch-it/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-it/pom.xml 
b/ambari-logsearch/ambari-logsearch-it/pom.xml
index d918c8a..f9a62cd 100644
--- a/ambari-logsearch/ambari-logsearch-it/pom.xml
+++ b/ambari-logsearch/ambari-logsearch-it/pom.xml
@@ -125,6 +125,27 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>README.md</exclude>
+            <exclude>**/*.json</exclude>
+            <exclude>**/*.log</exclude>
+            <exclude>**/*.txt</exclude>
+            <exclude>**/*.story</exclude>
+          </excludes>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>test</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to