You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by im...@apache.org on 2021/06/04 19:48:23 UTC

[asterixdb] branch master updated (f6727a9 -> 28803b7)

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

imaxon pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git.


    from f6727a9  [NO ISSUE] Dashboard tweaks
     new 2ff3036  [NO ISSUE][RT] Fix flush() of subplan runtime
     new 4889f6b  [ASTERIXDB-2890] Minimum Java version 8->11
     new 94eb3c2  Merge branch 'mad-hatter' into 'cheshire-cat'
     new 28803b7  Merge branch 'cheshire-cat' into 'master'

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 asterixdb/asterix-app/pom.xml                      |  3 +-
 .../asterix/test/sqlpp/ParserTestExecutor.java     | 28 ++++----
 asterixdb/asterix-common/pom.xml                   |  2 +-
 .../context/CorrelatedPrefixMergePolicyTest.java   |  2 +-
 asterixdb/asterix-external-data/pom.xml            |  2 +-
 asterixdb/asterix-metadata/pom.xml                 |  2 +-
 asterixdb/asterix-om/pom.xml                       | 24 ++++++-
 asterixdb/asterix-runtime/pom.xml                  |  2 +-
 asterixdb/asterix-transactions/pom.xml             |  2 +-
 asterixdb/pom.xml                                  | 64 +++++++----------
 .../algebricks/algebricks-compiler/pom.xml         |  8 +--
 ...alFirstRuleCheckFixpointRuleControllerTest.java |  2 +-
 hyracks-fullstack/hyracks/hyracks-api/pom.xml      |  2 +-
 .../hyracks-control/hyracks-control-cc/pom.xml     |  2 +-
 .../hyracks-integration-tests/pom.xml              |  2 +-
 hyracks-fullstack/hyracks/hyracks-http/pom.xml     |  2 +-
 .../org/apache/hyracks/test/http/HttpTestUtil.java | 16 ++---
 hyracks-fullstack/hyracks/hyracks-net/pom.xml      |  2 +-
 .../tests/FullFrameChannelReadInterfaceTest.java   |  4 +-
 .../hyracks/hyracks-storage-am-btree/pom.xml       |  7 +-
 .../storage/am/btree/test/FramewriterTest.java     |  2 +-
 .../hyracks/hyracks-storage-am-common/pom.xml      |  2 +-
 .../hyracks/hyracks-test-support/pom.xml           |  2 +-
 .../hyracks-storage-am-lsm-common-test/pom.xml     |  2 +-
 .../lsm/common/test/ConcurrentMergePolicyTest.java |  2 +-
 .../am/lsm/common/test/PrefixMergePolicyTest.java  |  2 +-
 hyracks-fullstack/pom.xml                          | 83 +++++++++++-----------
 27 files changed, 136 insertions(+), 137 deletions(-)

[asterixdb] 03/04: Merge branch 'mad-hatter' into 'cheshire-cat'

Posted by im...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 94eb3c2c02d70003369b2cd04b0667e36832f4f5
Merge: b4f8ddd 4889f6b
Author: Ian Maxon <ia...@maxons.email>
AuthorDate: Thu Jun 3 12:31:18 2021 -0700

    Merge branch 'mad-hatter' into 'cheshire-cat'
    
    Change-Id: Ib9aa81fa2e51954a46218e9907562685c8cd09e1

 asterixdb/asterix-app/pom.xml                      |  3 +-
 .../asterix/test/sqlpp/ParserTestExecutor.java     | 28 ++++----
 asterixdb/asterix-common/pom.xml                   |  2 +-
 .../context/CorrelatedPrefixMergePolicyTest.java   |  2 +-
 asterixdb/asterix-external-data/pom.xml            |  2 +-
 asterixdb/asterix-metadata/pom.xml                 |  2 +-
 asterixdb/asterix-om/pom.xml                       | 24 ++++++-
 asterixdb/asterix-runtime/pom.xml                  |  2 +-
 asterixdb/asterix-transactions/pom.xml             |  2 +-
 asterixdb/pom.xml                                  | 64 +++++++----------
 .../algebricks/algebricks-compiler/pom.xml         |  8 +--
 ...alFirstRuleCheckFixpointRuleControllerTest.java |  2 +-
 hyracks-fullstack/hyracks/hyracks-api/pom.xml      |  2 +-
 .../hyracks-control/hyracks-control-cc/pom.xml     |  2 +-
 .../hyracks-integration-tests/pom.xml              |  2 +-
 hyracks-fullstack/hyracks/hyracks-http/pom.xml     |  2 +-
 .../org/apache/hyracks/test/http/HttpTestUtil.java | 16 ++---
 hyracks-fullstack/hyracks/hyracks-net/pom.xml      |  2 +-
 .../tests/FullFrameChannelReadInterfaceTest.java   |  4 +-
 .../hyracks/hyracks-storage-am-btree/pom.xml       |  7 +-
 .../storage/am/btree/test/FramewriterTest.java     |  2 +-
 .../hyracks/hyracks-storage-am-common/pom.xml      |  2 +-
 .../hyracks/hyracks-test-support/pom.xml           |  2 +-
 .../hyracks-storage-am-lsm-common-test/pom.xml     |  2 +-
 .../lsm/common/test/ConcurrentMergePolicyTest.java |  2 +-
 .../am/lsm/common/test/PrefixMergePolicyTest.java  |  2 +-
 hyracks-fullstack/pom.xml                          | 83 +++++++++++-----------
 27 files changed, 136 insertions(+), 137 deletions(-)

diff --cc asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java
index 98f328d,53201f5..2039d53
--- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java
+++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java
@@@ -151,39 -136,17 +150,40 @@@ public class ParserTestExecutor extend
              when(metadataProvider.getDefaultDataverseName()).thenReturn(dvName);
              when(metadataProvider.getConfig()).thenReturn(config);
              when(config.get(FunctionUtil.IMPORT_PRIVATE_FUNCTIONS)).thenReturn("true");
-             when(metadataProvider.findDataverse(any(DataverseName.class))).thenAnswer(new Answer<Dataverse>() {
 -            when(metadataProvider.findDataset(Mockito.<String> any(), Mockito.<String> any()))
++            when(metadataProvider.findDataverse(Mockito.<DataverseName> any())).thenAnswer(new Answer<Dataverse>() {
 +                @Override
 +                public Dataverse answer(InvocationOnMock invocation) {
 +                    Object[] args = invocation.getArguments();
 +                    final Dataverse mockDataverse = mock(Dataverse.class);
 +                    when(mockDataverse.getDataverseName()).thenReturn((DataverseName) args[0]);
 +                    return mockDataverse;
 +                }
 +            });
-             when(metadataProvider.findDataset(any(DataverseName.class), anyString())).thenAnswer(new Answer<Dataset>() {
-                 @Override
-                 public Dataset answer(InvocationOnMock invocation) {
-                     Object[] args = invocation.getArguments();
-                     final Dataset mockDataset = mock(Dataset.class);
-                     when(mockDataset.getDataverseName()).thenReturn((DataverseName) args[0]);
-                     when(mockDataset.getDatasetName()).thenReturn((String) args[1]);
-                     return mockDataset;
-                 }
-             });
-             when(metadataProvider.lookupUserDefinedFunction(any(FunctionSignature.class)))
++            when(metadataProvider.findDataset(Mockito.<DataverseName> any(), Mockito.<String> any()))
+                     .thenAnswer(new Answer<Dataset>() {
+                         @Override
+                         public Dataset answer(InvocationOnMock invocation) {
+                             Object[] args = invocation.getArguments();
+                             final Dataset mockDataset = mock(Dataset.class);
 -                            String fullyQualifiedName = args[0] != null ? args[0] + "." + args[1] : (String) args[1];
 -                            when(mockDataset.getFullyQualifiedName()).thenReturn(fullyQualifiedName);
++                            when(mockDataset.getDataverseName()).thenReturn((DataverseName) args[0]);
++                            when(mockDataset.getDatasetName()).thenReturn((String) args[1]);
+                             return mockDataset;
+                         }
+                     });
++            when(metadataProvider.lookupUserDefinedFunction(Mockito.<FunctionSignature> any()))
 +                    .thenAnswer(new Answer<Function>() {
 +                        @Override
 +                        public Function answer(InvocationOnMock invocation) {
 +                            Object[] args = invocation.getArguments();
 +                            FunctionSignature fs = (FunctionSignature) args[0];
 +                            if (!createdFunctions.contains(fs)) {
 +                                return null;
 +                            }
 +                            Function mockFunction = mock(Function.class);
 +                            when(mockFunction.getSignature()).thenReturn(fs);
 +                            return mockFunction;
 +                        }
 +                    });
  
              for (Statement st : statements) {
                  if (st.getKind() == Statement.Kind.QUERY) {
diff --cc asterixdb/pom.xml
index a930643,f985b70..ecda2c1
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@@ -626,10 -642,10 +641,15 @@@
            <version>1.2.0</version>
          </plugin>
          <plugin>
 +          <groupId>org.codehaus.mojo</groupId>
 +          <artifactId>exec-maven-plugin</artifactId>
 +          <version>1.6.0</version>
 +        </plugin>
++        <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-enforcer-plugin</artifactId>
+           <version>3.0.0-M3</version>
+         </plugin>
        </plugins>
      </pluginManagement>
    </build>
diff --cc hyracks-fullstack/pom.xml
index 600d57c,5af1995..09ae228
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@@ -306,15 -280,25 +302,35 @@@
          <version>3.6.3</version>
        </dependency>
        <dependency>
 +        <groupId>it.unimi.dsi</groupId>
 +        <artifactId>fastutil-core</artifactId>
 +        <version>8.5.4</version>
 +      </dependency>
 +      <dependency>
 +        <groupId>org.apache.logging.log4j</groupId>
 +        <artifactId>log4j-1.2-api</artifactId>
 +        <version>2.13.1</version>
 +      </dependency>
++      <dependency>
+         <groupId>org.mockito</groupId>
+         <artifactId>mockito-core</artifactId>
+         <version>3.10.0</version>
+       </dependency>
+       <dependency>
+         <groupId>org.powermock</groupId>
+         <artifactId>powermock-api-mockito2</artifactId>
+         <version>2.0.9</version>
+       </dependency>
+       <dependency>
+         <groupId>org.powermock</groupId>
+         <artifactId>powermock-module-junit4</artifactId>
+         <version>2.0.9</version>
+       </dependency>
+       <dependency>
+         <groupId>org.powermock</groupId>
+         <artifactId>powermock-core</artifactId>
+         <version>2.0.9</version>
+       </dependency>
      </dependencies>
    </dependencyManagement>
    <build>

[asterixdb] 01/04: [NO ISSUE][RT] Fix flush() of subplan runtime

Posted by im...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2ff3036a79412117a8df050a57d94be4a690859c
Author: Ali Alsuliman <al...@gmail.com>
AuthorDate: Wed May 26 17:11:48 2021 +0300

    [NO ISSUE][RT] Fix flush() of subplan runtime
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
    flush() of Subplan runtime should flush its appender
    to the next writer.
    
    Change-Id: Ib0d7ff82381e5c6dcea6d26ccbfba71530cc07a7
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/11643
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Ali Alsuliman <al...@gmail.com>
    Reviewed-by: Murtadha Hubail <mh...@apache.org>
---
 .../algebricks/runtime/operators/meta/SubplanRuntimeFactory.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/SubplanRuntimeFactory.java b/hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/SubplanRuntimeFactory.java
index 3cee12d..6497fdc 100644
--- a/hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/SubplanRuntimeFactory.java
+++ b/hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/SubplanRuntimeFactory.java
@@ -191,7 +191,7 @@ public class SubplanRuntimeFactory extends AbstractOneInputOneOutputRuntimeFacto
 
         @Override
         public void flush() throws HyracksDataException {
-            writer.flush();
+            appender.flush(writer);
         }
 
         /**

[asterixdb] 02/04: [ASTERIXDB-2890] Minimum Java version 8->11

Posted by im...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4889f6b0b4a1f85e2a086a42bd6902d035a5a10b
Author: Ian Maxon <ia...@maxons.email>
AuthorDate: Wed May 5 02:08:27 2021 -0700

    [ASTERIXDB-2890] Minimum Java version 8->11
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
    
    - Update Mockito to unbreak tests and put it under
      dependencyManagement.
    - Update HttpTestUtil to avoid inspecting fields that
      are usually invalid in JDK 11
    - Enable parallel execution of surefire tests in
      asterix-om to make up for slowdown of ExceptionTest
      under Mockito 2+
    
    Change-Id: Ib9aa81fa2e58954846218e9907562685c8cd09e3
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/5483
    Reviewed-by: Ian Maxon <im...@uci.edu>
    Reviewed-by: Michael Blow <mb...@apache.org>
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Michael Blow <mb...@apache.org>
---
 asterixdb/asterix-app/pom.xml                      |  3 +-
 .../asterix/test/sqlpp/ParserTestExecutor.java     | 23 +++---
 asterixdb/asterix-common/pom.xml                   |  2 +-
 .../context/CorrelatedPrefixMergePolicyTest.java   |  2 +-
 asterixdb/asterix-external-data/pom.xml            |  2 +-
 asterixdb/asterix-metadata/pom.xml                 |  2 +-
 asterixdb/asterix-om/pom.xml                       | 24 ++++++-
 asterixdb/asterix-runtime/pom.xml                  |  2 +-
 asterixdb/asterix-transactions/pom.xml             |  2 +-
 asterixdb/pom.xml                                  | 64 +++++++----------
 .../algebricks/algebricks-compiler/pom.xml         |  8 +--
 ...alFirstRuleCheckFixpointRuleControllerTest.java |  2 +-
 hyracks-fullstack/hyracks/hyracks-api/pom.xml      |  2 +-
 .../hyracks-control/hyracks-control-cc/pom.xml     |  2 +-
 .../hyracks-integration-tests/pom.xml              |  2 +-
 hyracks-fullstack/hyracks/hyracks-http/pom.xml     |  2 +-
 .../org/apache/hyracks/test/http/HttpTestUtil.java | 16 ++---
 hyracks-fullstack/hyracks/hyracks-net/pom.xml      |  2 +-
 .../tests/FullFrameChannelReadInterfaceTest.java   |  4 +-
 .../hyracks/hyracks-storage-am-btree/pom.xml       |  7 +-
 .../storage/am/btree/test/FramewriterTest.java     |  2 +-
 .../hyracks/hyracks-storage-am-common/pom.xml      |  2 +-
 .../hyracks/hyracks-test-support/pom.xml           |  2 +-
 .../hyracks-storage-am-lsm-common-test/pom.xml     |  2 +-
 .../lsm/common/test/ConcurrentMergePolicyTest.java |  2 +-
 .../am/lsm/common/test/PrefixMergePolicyTest.java  |  2 +-
 hyracks-fullstack/pom.xml                          | 83 +++++++++++-----------
 27 files changed, 134 insertions(+), 134 deletions(-)

diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index 0ff044d..255583b 100644
--- a/asterixdb/asterix-app/pom.xml
+++ b/asterixdb/asterix-app/pom.xml
@@ -415,8 +415,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
-      <version>1.10.19</version>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java
index c71cf31..53201f5 100644
--- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java
+++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/sqlpp/ParserTestExecutor.java
@@ -19,7 +19,6 @@
 package org.apache.asterix.test.sqlpp;
 
 import static org.apache.hyracks.util.file.FileUtil.canonicalize;
-import static org.mockito.Matchers.anyString;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
@@ -58,6 +57,7 @@ import org.apache.asterix.testframework.xml.TestCase.CompilationUnit;
 import org.apache.asterix.testframework.xml.TestGroup;
 import org.apache.hyracks.test.support.TestUtils;
 import org.junit.Assert;
+import org.mockito.Mockito;
 import org.mockito.invocation.InvocationOnMock;
 import org.mockito.stubbing.Answer;
 
@@ -136,16 +136,17 @@ public class ParserTestExecutor extends TestExecutor {
             when(metadataProvider.getDefaultDataverseName()).thenReturn(dvName);
             when(metadataProvider.getConfig()).thenReturn(config);
             when(config.get(FunctionUtil.IMPORT_PRIVATE_FUNCTIONS)).thenReturn("true");
-            when(metadataProvider.findDataset(anyString(), anyString())).thenAnswer(new Answer<Dataset>() {
-                @Override
-                public Dataset answer(InvocationOnMock invocation) {
-                    Object[] args = invocation.getArguments();
-                    final Dataset mockDataset = mock(Dataset.class);
-                    String fullyQualifiedName = args[0] != null ? args[0] + "." + args[1] : (String) args[1];
-                    when(mockDataset.getFullyQualifiedName()).thenReturn(fullyQualifiedName);
-                    return mockDataset;
-                }
-            });
+            when(metadataProvider.findDataset(Mockito.<String> any(), Mockito.<String> any()))
+                    .thenAnswer(new Answer<Dataset>() {
+                        @Override
+                        public Dataset answer(InvocationOnMock invocation) {
+                            Object[] args = invocation.getArguments();
+                            final Dataset mockDataset = mock(Dataset.class);
+                            String fullyQualifiedName = args[0] != null ? args[0] + "." + args[1] : (String) args[1];
+                            when(mockDataset.getFullyQualifiedName()).thenReturn(fullyQualifiedName);
+                            return mockDataset;
+                        }
+                    });
 
             for (Statement st : statements) {
                 if (st.getKind() == Statement.Kind.QUERY) {
diff --git a/asterixdb/asterix-common/pom.xml b/asterixdb/asterix-common/pom.xml
index d475caf..e1c638c 100644
--- a/asterixdb/asterix-common/pom.xml
+++ b/asterixdb/asterix-common/pom.xml
@@ -139,7 +139,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/context/CorrelatedPrefixMergePolicyTest.java b/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/context/CorrelatedPrefixMergePolicyTest.java
index 843cb21..779bfd8 100644
--- a/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/context/CorrelatedPrefixMergePolicyTest.java
+++ b/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/context/CorrelatedPrefixMergePolicyTest.java
@@ -219,7 +219,7 @@ public class CorrelatedPrefixMergePolicyTest extends TestCase {
 
             @Override
             public Void answer(InvocationOnMock invocation) throws Throwable {
-                List<ILSMDiskComponent> mergedComponents = invocation.getArgumentAt(0, List.class);
+                List<ILSMDiskComponent> mergedComponents = invocation.getArgument(0);
                 mergedComponents.forEach(component -> {
                     try {
                         resultComponentIDs.add(component.getId());
diff --git a/asterixdb/asterix-external-data/pom.xml b/asterixdb/asterix-external-data/pom.xml
index 169bcb6..037436a 100644
--- a/asterixdb/asterix-external-data/pom.xml
+++ b/asterixdb/asterix-external-data/pom.xml
@@ -286,7 +286,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/asterix-metadata/pom.xml b/asterixdb/asterix-metadata/pom.xml
index f4c471d..a5425b1 100644
--- a/asterixdb/asterix-metadata/pom.xml
+++ b/asterixdb/asterix-metadata/pom.xml
@@ -155,7 +155,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/asterix-om/pom.xml b/asterixdb/asterix-om/pom.xml
index fc1707f..b123850 100644
--- a/asterixdb/asterix-om/pom.xml
+++ b/asterixdb/asterix-om/pom.xml
@@ -38,6 +38,28 @@
     <root.dir>${basedir}/..</root.dir>
   </properties>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <parallel>all</parallel>
+            <forkCount>4</forkCount>
+            <reuseForks>false</reuseForks>
+            <threadCount>1</threadCount>
+            <argLine>
+              -enableassertions -Xmx${test.heap.size}m
+              -Dfile.encoding=UTF-8
+              -DrunSlowAQLTests=${runSlowAQLTests}
+              -Xdebug
+              ${coverageArgLine}
+            </argLine>
+          </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.asterix</groupId>
@@ -61,7 +83,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/asterix-runtime/pom.xml b/asterixdb/asterix-runtime/pom.xml
index a226991..5f04280 100644
--- a/asterixdb/asterix-runtime/pom.xml
+++ b/asterixdb/asterix-runtime/pom.xml
@@ -139,7 +139,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/asterix-transactions/pom.xml b/asterixdb/asterix-transactions/pom.xml
index 5b84162..72aaaee 100644
--- a/asterixdb/asterix-transactions/pom.xml
+++ b/asterixdb/asterix-transactions/pom.xml
@@ -110,7 +110,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index 43e0dfd..f985b70 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -46,7 +46,8 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <file.encoding>UTF-8</file.encoding>
     <jvm.extraargs />
-    <source.jdk.version>1.8</source.jdk.version>
+    <source.jdk.version>11</source.jdk.version>
+    <target.jdk.version>11</target.jdk.version>
     <javac.xlint.value>all</javac.xlint.value>
     <source-format.goal>format</source-format.goal>
     <source-format.skip>false</source-format.skip>
@@ -315,6 +316,20 @@
                 <requireMavenVersion>
                   <version>[3.3.9,)</version>
                 </requireMavenVersion>
+                <requireJavaVersion>
+                  <version>[11,)</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>ensure-no-duplicate-deps</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <banDuplicatePomDependencyVersions/>
               </rules>
             </configuration>
           </execution>
@@ -529,7 +544,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.21.0</version>
+          <version>3.0.0-M5</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -577,7 +592,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-dependency-plugin</artifactId>
-          <version>3.1.1</version>
+          <version>3.1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -626,6 +641,11 @@
           <artifactId>impsort-maven-plugin</artifactId>
           <version>1.2.0</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>3.0.0-M3</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -670,7 +690,7 @@
         </property>
       </activation>
       <properties>
-        <test.heap.size>2048</test.heap.size>
+        <test.heap.size>4096</test.heap.size>
       </properties>
     </profile>
 
@@ -683,7 +703,7 @@
         </property>
       </activation>
       <properties>
-        <test.heap.size>3072</test.heap.size>
+        <test.heap.size>4096</test.heap.size>
       </properties>
     </profile>
     <profile>
@@ -832,40 +852,6 @@
         <failIfNoTests>false</failIfNoTests>
       </properties>
     </profile>
-    <profile>
-      <id>java8</id>
-      <activation>
-        <jdk>[1.8,)</jdk>
-      </activation>
-      <properties>
-        <target.jdk.version>8</target.jdk.version>
-      </properties>
-    </profile>
-    <profile>
-      <id>java8-bootclasspath</id>
-      <activation>
-        <property>
-          <name>java8-bootclasspath</name>
-        </property>
-      </activation>
-      <properties>
-        <target.jdk.version>8</target.jdk.version>
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <configuration>
-              <compilerArgs combine.children="append">
-                <arg>-bootclasspath</arg>
-                <arg>${java8-bootclasspath}</arg>
-              </compilerArgs>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
 
   <modules>
diff --git a/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml b/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
index ff92d91..3617593 100644
--- a/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
+++ b/hyracks-fullstack/algebricks/algebricks-compiler/pom.xml
@@ -68,26 +68,22 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
-      <version>1.10.19</version>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
    <dependency>
       <groupId>org.powermock</groupId>
-      <artifactId>powermock-api-mockito</artifactId>
-      <version>1.6.6</version>
+      <artifactId>powermock-api-mockito2</artifactId>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>org.powermock</groupId>
       <artifactId>powermock-core</artifactId>
-      <version>1.6.6</version>
       <scope>test</scope>
    </dependency>
    <dependency>
       <groupId>org.powermock</groupId>
       <artifactId>powermock-module-junit4</artifactId>
-      <version>1.6.6</version>
       <scope>test</scope>
    </dependency>
    <dependency>
diff --git a/hyracks-fullstack/algebricks/algebricks-compiler/src/test/java/org/apache/hyracks/algebricks/compiler/rewriter/rulecontrollers/SequentialFirstRuleCheckFixpointRuleControllerTest.java b/hyracks-fullstack/algebricks/algebricks-compiler/src/test/java/org/apache/hyracks/algebricks/compiler/rewriter/rulecontrollers/SequentialFirstRuleCheckFixpointRuleControllerTest.java
index 18aa104..b568417 100644
--- a/hyracks-fullstack/algebricks/algebricks-compiler/src/test/java/org/apache/hyracks/algebricks/compiler/rewriter/rulecontrollers/SequentialFirstRuleCheckFixpointRuleControllerTest.java
+++ b/hyracks-fullstack/algebricks/algebricks-compiler/src/test/java/org/apache/hyracks/algebricks/compiler/rewriter/rulecontrollers/SequentialFirstRuleCheckFixpointRuleControllerTest.java
@@ -41,7 +41,7 @@ import org.powermock.core.classloader.annotations.PrepareForTest;
 import org.powermock.modules.junit4.PowerMockRunner;
 
 @RunWith(PowerMockRunner.class)
-@PowerMockIgnore("javax.management.*")
+@PowerMockIgnore({ "javax.management.*", "javax.xml.*", "com.sun.org.apache.xerces.*", "org.w3c.*", "org.xml.*" })
 @PrepareForTest({ SequentialFirstRuleCheckFixpointRuleController.class, AbstractLogicalOperator.class })
 public class SequentialFirstRuleCheckFixpointRuleControllerTest {
 
diff --git a/hyracks-fullstack/hyracks/hyracks-api/pom.xml b/hyracks-fullstack/hyracks/hyracks-api/pom.xml
index 2c50ee4..cb76cb3 100644
--- a/hyracks-fullstack/hyracks/hyracks-api/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-api/pom.xml
@@ -66,7 +66,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
index dc1b3a8..9c7e52b 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/pom.xml
@@ -88,7 +88,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml b/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
index 100c93a..99aa399 100644
--- a/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-examples/hyracks-integration-tests/pom.xml
@@ -116,7 +116,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-http/pom.xml b/hyracks-fullstack/hyracks/hyracks-http/pom.xml
index bf96e79..50721ca 100644
--- a/hyracks-fullstack/hyracks/hyracks-http/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-http/pom.xml
@@ -89,7 +89,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-http/src/test/java/org/apache/hyracks/test/http/HttpTestUtil.java b/hyracks-fullstack/hyracks/hyracks-http/src/test/java/org/apache/hyracks/test/http/HttpTestUtil.java
index af5e3e3..4debe7f 100644
--- a/hyracks-fullstack/hyracks/hyracks-http/src/test/java/org/apache/hyracks/test/http/HttpTestUtil.java
+++ b/hyracks-fullstack/hyracks/hyracks-http/src/test/java/org/apache/hyracks/test/http/HttpTestUtil.java
@@ -21,16 +21,16 @@ package org.apache.hyracks.test.http;
 import java.lang.management.ManagementFactory;
 import java.lang.management.MemoryPoolMXBean;
 import java.lang.management.MemoryType;
-import java.lang.reflect.Field;
 import java.util.List;
-import java.util.concurrent.atomic.AtomicLong;
 
 import org.apache.logging.log4j.Level;
 import org.apache.logging.log4j.LogManager;
 import org.apache.logging.log4j.Logger;
 
+import io.netty.buffer.ByteBufAllocator;
+import io.netty.buffer.ByteBufAllocatorMetric;
+import io.netty.buffer.ByteBufAllocatorMetricProvider;
 import io.netty.buffer.PooledByteBufAllocator;
-import io.netty.util.internal.PlatformDependent;
 
 public class HttpTestUtil {
     private static final Logger LOGGER = LogManager.getLogger();
@@ -66,14 +66,12 @@ public class HttpTestUtil {
         report.append("---------------------------- Netty ----------------------------");
         report.append('\n');
         try {
-            Field field = PlatformDependent.class.getDeclaredField("DIRECT_MEMORY_COUNTER");
-            field.setAccessible(true);
-            AtomicLong usedDirectMemory = (AtomicLong) field.get(null);
-            long used = usedDirectMemory.get();
-            report.append("Current PlatformDependent.DIRECT_MEMORY_COUNTER: ");
+            ByteBufAllocatorMetric memUsage = ((ByteBufAllocatorMetricProvider) ByteBufAllocator.DEFAULT).metric();
+            long used = memUsage.usedDirectMemory();
+            report.append("Current default allocator direct buffer usage: ");
             report.append(used);
             report.append('\n');
-            report.append("Maximum PlatformDependent.DIRECT_MEMORY_COUNTER: ");
+            report.append("Maximum default allocator direct buffer usage: ");
             maxMemUsage = Math.max(maxMemUsage, used);
             report.append(maxMemUsage);
             report.append('\n');
diff --git a/hyracks-fullstack/hyracks/hyracks-net/pom.xml b/hyracks-fullstack/hyracks/hyracks-net/pom.xml
index 824098c..91d246d 100644
--- a/hyracks-fullstack/hyracks/hyracks-net/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-net/pom.xml
@@ -71,7 +71,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/hyracks-fullstack/hyracks/hyracks-net/src/test/java/org/apache/hyracks/net/tests/FullFrameChannelReadInterfaceTest.java b/hyracks-fullstack/hyracks/hyracks-net/src/test/java/org/apache/hyracks/net/tests/FullFrameChannelReadInterfaceTest.java
index 2180d1d..cf0ae08 100644
--- a/hyracks-fullstack/hyracks/hyracks-net/src/test/java/org/apache/hyracks/net/tests/FullFrameChannelReadInterfaceTest.java
+++ b/hyracks-fullstack/hyracks/hyracks-net/src/test/java/org/apache/hyracks/net/tests/FullFrameChannelReadInterfaceTest.java
@@ -114,7 +114,7 @@ public class FullFrameChannelReadInterfaceTest {
         final ChannelControlBlock ccb = Mockito.mock(ChannelControlBlock.class);
         Mockito.when(ccb.isRemotelyClosed()).thenReturn(false);
         Mockito.doAnswer(invocation -> {
-            final Integer delta = invocation.getArgumentAt(0, Integer.class);
+            final Integer delta = invocation.getArgument(0);
             credit.addAndGet(delta);
             synchronized (credit) {
                 credit.notifyAll();
@@ -128,7 +128,7 @@ public class FullFrameChannelReadInterfaceTest {
         final ISocketChannel sc = Mockito.mock(ISocketChannel.class);
         Mockito.when(sc.read(Mockito.any(ByteBuffer.class))).thenAnswer(invocation -> {
             ccb.addPendingCredits(-FRAME_SIZE);
-            final ByteBuffer buffer = invocation.getArgumentAt(0, ByteBuffer.class);
+            final ByteBuffer buffer = invocation.getArgument(0);
             while (buffer.hasRemaining()) {
                 buffer.put((byte) 0);
             }
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml b/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
index 45330e8..0ccdaaa 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-btree/pom.xml
@@ -67,25 +67,22 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.powermock</groupId>
-      <artifactId>powermock-api-mockito</artifactId>
-      <version>1.6.2</version>
+      <artifactId>powermock-api-mockito2</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.powermock</groupId>
       <artifactId>powermock-module-junit4</artifactId>
-      <version>1.6.2</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.powermock</groupId>
       <artifactId>powermock-core</artifactId>
-      <version>1.6.2</version>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-btree/src/test/java/org/apache/hyracks/storage/am/btree/test/FramewriterTest.java b/hyracks-fullstack/hyracks/hyracks-storage-am-btree/src/test/java/org/apache/hyracks/storage/am/btree/test/FramewriterTest.java
index 44af086..0600add 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-btree/src/test/java/org/apache/hyracks/storage/am/btree/test/FramewriterTest.java
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-btree/src/test/java/org/apache/hyracks/storage/am/btree/test/FramewriterTest.java
@@ -73,7 +73,7 @@ import org.powermock.core.classloader.annotations.PrepareForTest;
 import org.powermock.modules.junit4.PowerMockRunner;
 
 @RunWith(PowerMockRunner.class)
-@PowerMockIgnore("javax.management.*")
+@PowerMockIgnore({ "javax.management.*", "javax.xml.*", "com.sun.org.apache.xerces.*", "org.w3c.*", "org.xml.*" })
 @PrepareForTest({ BTreeUtils.class, FrameTupleAccessor.class, ArrayTupleBuilder.class,
         IndexSearchOperatorNodePushable.class, FrameUtils.class, FrameTupleAppender.class })
 public class FramewriterTest {
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml b/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
index 703deb8..f8cb226 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-common/pom.xml
@@ -102,7 +102,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml b/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
index ee9e009..4f8f4f4 100644
--- a/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-test-support/pom.xml
@@ -118,7 +118,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
     </dependency>
   </dependencies>
 </project>
diff --git a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
index c38ba3c..c9e4ba1 100644
--- a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/pom.xml
@@ -90,7 +90,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/ConcurrentMergePolicyTest.java b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/ConcurrentMergePolicyTest.java
index 098aa51..af0be25 100644
--- a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/ConcurrentMergePolicyTest.java
+++ b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/ConcurrentMergePolicyTest.java
@@ -166,7 +166,7 @@ public class ConcurrentMergePolicyTest {
         Mockito.doAnswer(new Answer<Void>() {
             @Override
             public Void answer(InvocationOnMock invocation) throws Throwable {
-                List<ILSMDiskComponent> mergedComponents = invocation.getArgumentAt(0, List.class);
+                List<ILSMDiskComponent> mergedComponents = invocation.getArgument(0);
                 mergedComponents.forEach(component -> {
                     mergedSizes.add(component.getComponentSize());
                 });
diff --git a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/PrefixMergePolicyTest.java b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/PrefixMergePolicyTest.java
index 54fd3bb..2e7b4c6 100644
--- a/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/PrefixMergePolicyTest.java
+++ b/hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-common-test/src/test/java/org/apache/hyracks/storage/am/lsm/common/test/PrefixMergePolicyTest.java
@@ -196,7 +196,7 @@ public class PrefixMergePolicyTest extends TestCase {
         Mockito.doAnswer(new Answer<Void>() {
             @Override
             public Void answer(InvocationOnMock invocation) throws Throwable {
-                List<ILSMDiskComponent> mergedComponents = invocation.getArgumentAt(0, List.class);
+                List<ILSMDiskComponent> mergedComponents = invocation.getArgument(0);
                 if (mergedSizes != null) {
                     mergedComponents.forEach(component -> {
                         mergedSizes.add(component.getComponentSize());
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 85694a5..5af1995 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -49,7 +49,8 @@
     <root.dir>${basedir}</root.dir>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <file.encoding>UTF-8</file.encoding>
-    <source.jdk.version>1.8</source.jdk.version>
+    <source.jdk.version>11</source.jdk.version>
+    <target.jdk.version>11</target.jdk.version>
     <javac.xlint.value>all</javac.xlint.value>
     <jvm.extraargs />
     <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
@@ -244,11 +245,6 @@
         <version>${log4j.version}</version>
       </dependency>
       <dependency>
-        <groupId>org.mockito</groupId>
-        <artifactId>mockito-all</artifactId>
-        <version>2.0.2-beta</version>
-      </dependency>
-      <dependency>
         <groupId>javax.xml.bind</groupId>
         <artifactId>jaxb-api</artifactId>
         <version>2.3.0</version>
@@ -283,6 +279,26 @@
         <artifactId>maven-plugin-api</artifactId>
         <version>3.6.3</version>
       </dependency>
+      <dependency>
+        <groupId>org.mockito</groupId>
+        <artifactId>mockito-core</artifactId>
+        <version>3.10.0</version>
+      </dependency>
+      <dependency>
+        <groupId>org.powermock</groupId>
+        <artifactId>powermock-api-mockito2</artifactId>
+        <version>2.0.9</version>
+      </dependency>
+      <dependency>
+        <groupId>org.powermock</groupId>
+        <artifactId>powermock-module-junit4</artifactId>
+        <version>2.0.9</version>
+      </dependency>
+      <dependency>
+        <groupId>org.powermock</groupId>
+        <artifactId>powermock-core</artifactId>
+        <version>2.0.9</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
   <build>
@@ -496,6 +512,20 @@
                 <requireMavenVersion>
                   <version>[3.3.9,)</version>
                 </requireMavenVersion>
+                <requireJavaVersion>
+                  <version>[11,)</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+          <execution>
+            <id>ensure-no-duplicate-deps</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <banDuplicatePomDependencyVersions/>
               </rules>
             </configuration>
           </execution>
@@ -692,13 +722,18 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-dependency-plugin</artifactId>
-          <version>3.1.1</version>
+          <version>3.1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.doxia</groupId>
           <artifactId>doxia-maven-plugin</artifactId>
           <version>1.1.4</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>3.0.0-M3</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -831,40 +866,6 @@
         <failIfNoTests>false</failIfNoTests>
       </properties>
     </profile>
-    <profile>
-      <id>java8</id>
-      <activation>
-        <jdk>[1.8,)</jdk>
-      </activation>
-      <properties>
-        <target.jdk.version>8</target.jdk.version>
-      </properties>
-    </profile>
-    <profile>
-      <id>java8-bootclasspath</id>
-      <activation>
-        <property>
-          <name>java8-bootclasspath</name>
-        </property>
-      </activation>
-      <properties>
-        <target.jdk.version>8</target.jdk.version>
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <configuration>
-              <compilerArgs combine.children="append">
-                <arg>-bootclasspath</arg>
-                <arg>${java8-bootclasspath}</arg>
-              </compilerArgs>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
   <modules>
     <module>hyracks</module>

[asterixdb] 04/04: Merge branch 'cheshire-cat' into 'master'

Posted by im...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 28803b7822a9c846cda02bc3470b50f59806fac8
Merge: f6727a9 94eb3c2
Author: Ian Maxon <ia...@maxons.email>
AuthorDate: Fri Jun 4 09:19:27 2021 -0700

    Merge branch 'cheshire-cat' into 'master'
    
    Change-Id: Ic9ae81fa2e58954841218a1907562685c8cd19e2

 asterixdb/asterix-app/pom.xml                      |  3 +-
 .../asterix/test/sqlpp/ParserTestExecutor.java     | 28 ++++----
 asterixdb/asterix-common/pom.xml                   |  2 +-
 .../context/CorrelatedPrefixMergePolicyTest.java   |  2 +-
 asterixdb/asterix-external-data/pom.xml            |  2 +-
 asterixdb/asterix-metadata/pom.xml                 |  2 +-
 asterixdb/asterix-om/pom.xml                       | 24 ++++++-
 asterixdb/asterix-runtime/pom.xml                  |  2 +-
 asterixdb/asterix-transactions/pom.xml             |  2 +-
 asterixdb/pom.xml                                  | 64 +++++++----------
 .../algebricks/algebricks-compiler/pom.xml         |  8 +--
 ...alFirstRuleCheckFixpointRuleControllerTest.java |  2 +-
 hyracks-fullstack/hyracks/hyracks-api/pom.xml      |  2 +-
 .../hyracks-control/hyracks-control-cc/pom.xml     |  2 +-
 .../hyracks-integration-tests/pom.xml              |  2 +-
 hyracks-fullstack/hyracks/hyracks-http/pom.xml     |  2 +-
 .../org/apache/hyracks/test/http/HttpTestUtil.java | 16 ++---
 hyracks-fullstack/hyracks/hyracks-net/pom.xml      |  2 +-
 .../tests/FullFrameChannelReadInterfaceTest.java   |  4 +-
 .../hyracks/hyracks-storage-am-btree/pom.xml       |  7 +-
 .../storage/am/btree/test/FramewriterTest.java     |  2 +-
 .../hyracks/hyracks-storage-am-common/pom.xml      |  2 +-
 .../hyracks/hyracks-test-support/pom.xml           |  2 +-
 .../hyracks-storage-am-lsm-common-test/pom.xml     |  2 +-
 .../lsm/common/test/ConcurrentMergePolicyTest.java |  2 +-
 .../am/lsm/common/test/PrefixMergePolicyTest.java  |  2 +-
 hyracks-fullstack/pom.xml                          | 83 +++++++++++-----------
 27 files changed, 136 insertions(+), 137 deletions(-)