Description: deactivating Minikdc tests due to missing classes
Author: tony mancill <tmancill@debian.org>
Forwarded: not-needed
Last-Update: 2022-06-27

--- a/zookeeper-server/pom.xml
+++ b/zookeeper-server/pom.xml
@@ -227,6 +227,36 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>default-testCompile</id>
+            <phase>test-compile</phase>
+            <configuration>
+              <testExcludes>
+                <exclude>**/MiniKdc.java</exclude><!-- package org.apache.kerby.kerberos.kerb does not exist -->
+                <exclude>**/MiniKdcTest.java</exclude><!-- package org.apache.kerby.kerberos.kerb does not exist -->
+                <exclude>**/TxnLogDigestTest.java</exclude><!-- package mockit does not exist -->
+                <exclude>**/QuorumDigestTest.java</exclude><!-- package mockit does not exist -->
+                <exclude>**/SaslKerberosAuthOverSSLTest.java</exclude><!-- Needs MiniKdc -->
+                <exclude>**/KerberosSecurityTestcase.java</exclude><!-- Needs MiniKdc -->
+                <exclude>**/KerberosTicketRenewalTest.java</exclude><!-- Needs MiniKdc -->
+                <exclude>**/QuorumKerberosAuthTest.java</exclude><!-- Needs KerberosSecurityTestCase -->
+                <exclude>**/QuorumKerberosHostBasedAuthTest.java</exclude><!-- Needs KerberosSecurityTestCase -->
+                <exclude>**/ThrottledOpHelper.java</exclude><!-- package mockit does not exist -->
+                <exclude>**/ThrottledOpObserverTest.java</exclude><!-- Needs ThrottledOpHelper -->
+                <exclude>**/ThrottledOpQuorumTest.java</exclude><!-- Needs ThrottledOpHelper -->
+                <exclude>**/ThrottledOpStandaloneTest.java</exclude><!-- Needs ThrottledOpHelper -->
+              </testExcludes>
+            </configuration>
+            <goals>
+              <goal>testCompile</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>
           <execution>
