HIVE-10949 : Disable hive-minikdc tests in Windows (Hari Subramaniyan, reviewed 
by Vaibhav Gumashta)


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

Branch: refs/heads/branch-1
Commit: df25e8dff8d101aaaaa175c8e8ad5ef0ec515bba
Parents: 6aa094d
Author: Hari Subramaniyan <harisan...@apache.org>
Authored: Wed Jun 10 16:08:11 2015 -0700
Committer: Hari Subramaniyan <harisan...@apache.org>
Committed: Wed Jun 10 16:32:39 2015 -0700

----------------------------------------------------------------------
 itests/hive-minikdc/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/df25e8df/itests/hive-minikdc/pom.xml
----------------------------------------------------------------------
diff --git a/itests/hive-minikdc/pom.xml b/itests/hive-minikdc/pom.xml
index d59b6d7..1c84943 100644
--- a/itests/hive-minikdc/pom.xml
+++ b/itests/hive-minikdc/pom.xml
@@ -29,6 +29,7 @@
 
   <properties>
     <hive.path.to.root>../..</hive.path.to.root>
+    <exclude.tests>None</exclude.tests>
   </properties>
 
   <dependencies>
@@ -265,6 +266,16 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <activation>
+       <os>
+          <family>Windows</family>
+        </os>
+      </activation>
+    <properties>
+      <exclude.tests>**/*.java</exclude.tests>
+    </properties>
+    </profile>
   </profiles>
 
   <build>
@@ -275,6 +286,15 @@
         <inherited>true</inherited>
         <extensions>true</extensions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>${exclude.tests}</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to