You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/11/30 09:54:52 UTC

[phoenix-tephra] branch master updated: TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config)

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-tephra.git


The following commit(s) were added to refs/heads/master by this push:
     new fb2270a  TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config)
fb2270a is described below

commit fb2270a3fa8d2e40cda075bce94d09ea56802c49
Author: Istvan Toth <st...@apache.org>
AuthorDate: Mon Nov 30 10:33:35 2020 +0100

    TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config)
---
 pom.xml                    | 34 +++++++++++++++++-----------------
 tephra-core-shaded/pom.xml |  7 +++++++
 2 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/pom.xml b/pom.xml
index 33741bd..15cd7b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -449,6 +449,23 @@
         <plugin>
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>build-number.txt</exclude>
+              <exclude>README.rst</exclude>
+              <exclude>RELEASING.rst</exclude>
+              <exclude>**/target/**</exclude>
+              <exclude>**/.git/**</exclude>
+              <exclude>.gitignore</exclude>
+              <exclude>**/.idea/**</exclude>
+              <exclude>**/*.iml</exclude>
+              <exclude>**/.project</exclude>
+              <exclude>**/.classpath</exclude>
+              <exclude>**/.settings/**</exclude>
+              <exclude>licenses/**</exclude>
+              <exclude>**/NOTICE_BINARY</exclude>
+            </excludes>
+          </configuration>
           <executions>
             <execution>
               <id>rat-check</id>
@@ -456,23 +473,6 @@
               <goals>
                 <goal>check</goal>
               </goals>
-              <configuration>
-                <excludes>
-                  <exclude>build-number.txt</exclude>
-                  <exclude>README.rst</exclude>
-                  <exclude>RELEASING.rst</exclude>
-                  <exclude>**/target/**</exclude>
-                  <exclude>**/.git/**</exclude>
-                  <exclude>.gitignore</exclude>
-                  <exclude>**/.idea/**</exclude>
-                  <exclude>**/*.iml</exclude>
-                  <exclude>**/.project</exclude>
-                  <exclude>**/.classpath</exclude>
-                  <exclude>**/.settings/**</exclude>
-                  <exclude>licenses/**</exclude>
-                  <exclude>**/NOTICE_BINARY</exclude>
-                </excludes>
-              </configuration>
             </execution>
           </executions>
           <dependencies>
diff --git a/tephra-core-shaded/pom.xml b/tephra-core-shaded/pom.xml
index 473cde8..a8eeab7 100644
--- a/tephra-core-shaded/pom.xml
+++ b/tephra-core-shaded/pom.xml
@@ -98,6 +98,13 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>