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

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f459ae  DRILL-7911 Disable maven-surefire-plugin for Splunk for ARM 
Build (#2218)
1f459ae is described below

commit 1f459ae01076a4902192a8a1243b8429245d47e9
Author: Martin Grigorov <[email protected]>
AuthorDate: Tue May 11 14:23:00 2021 +0300

    DRILL-7911 Disable maven-surefire-plugin for Splunk for ARM Build (#2218)
    
    * DRILL-7911 Disable maven-surefire-plugin for Splunk
    
    Disable running the unit tests for Contrib Storage Splunk for Linux ARM64 
because there is no Docker image for splunk/splunk
    
    * DRILL-7911 Disable unit tests for all CPU architectures but x86_64
---
 contrib/storage-splunk/pom.xml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/contrib/storage-splunk/pom.xml b/contrib/storage-splunk/pom.xml
index db1d46c..665a3c9 100644
--- a/contrib/storage-splunk/pom.xml
+++ b/contrib/storage-splunk/pom.xml
@@ -96,4 +96,29 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>non-x86_64</id>
+      <activation>
+        <os>
+          <arch>!amd64</arch>
+        </os>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-surefire-plugin</artifactId>
+              <configuration>
+                <!-- DRILL-7911: There is no Docker image for non-Linux/AMD64 
-->
+                <skip>true</skip>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
 </project>

Reply via email to