[NO ISSUE][*DB][MISC] Fix some test declarations to avoid warnings in Maven 3.9.9

Ext-ref: MB-66739
Change-Id: I7c78cc6f8cc9bd35e8d005c566b33d9572e5dbbe
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19808
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Ian Maxon <imaxon@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index 42da7c9..1a0dcef 100644
--- a/asterixdb/asterix-app/pom.xml
+++ b/asterixdb/asterix-app/pom.xml
@@ -143,7 +143,7 @@
             <configuration>
               <includeClassifiers>testlib</includeClassifiers>
               <outputDirectory>target/data/externallib</outputDirectory>
-              <overwrite>true</overwrite>
+              <overWriteIfNewer>true</overWriteIfNewer>
               <stripVersion>true</stripVersion>
             </configuration>
           </execution>
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index 597c529..e62eeeb 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -163,9 +163,9 @@
           <forkCount>1</forkCount>
           <reuseForks>false</reuseForks>
           <argLine>${coverageArgLine}</argLine>
-          <systemProperties>
+          <systemPropertyVariables>
             <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
-          </systemProperties>
+          </systemPropertyVariables>
           <includes>
             <include>${itest.includes}</include>
           </includes>