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

tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git


The following commit(s) were added to refs/heads/master by this push:
     new f085442  Allow Java 9+ profile for all modules
f085442 is described below

commit f085442adc0dc4ef248b0872a6bcf8de9da4ebf5
Author: Thomas Vandahl <t...@apache.org>
AuthorDate: Sun Mar 28 16:28:38 2021 +0200

    Allow Java 9+ profile for all modules
---
 commons-jcs-tck-tests/pom.xml | 27 ---------------------------
 pom.xml                       | 18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 27 deletions(-)

diff --git a/commons-jcs-tck-tests/pom.xml b/commons-jcs-tck-tests/pom.xml
index 3a0a294..899aa35 100644
--- a/commons-jcs-tck-tests/pom.xml
+++ b/commons-jcs-tck-tests/pom.xml
@@ -243,33 +243,6 @@
         </plugins>
       </build>
     </profile>
-    <profile>
-      <id>javaNinePlus</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <systemPropertyVariables>
-                <domainJar>${domain-lib-dir}/${domain-jar}</domainJar>
-                
<javax.management.builder.initial>${javax.management.builder.initial}</javax.management.builder.initial>
-                
<org.jsr107.tck.management.agentId>${org.jsr107.tck.management.agentId}</org.jsr107.tck.management.agentId>
-                
<javax.cache.CacheManager>${CacheManagerImpl}</javax.cache.CacheManager>
-                <javax.cache.Cache>${CacheImpl}</javax.cache.Cache>
-                
<javax.cache.Cache.Entry>${CacheEntryImpl}</javax.cache.Cache.Entry>
-                
<javax.cache.annotation.CacheInvocationContext>${CacheInvocationContextImpl}</javax.cache.annotation.CacheInvocationContext>
-              </systemPropertyVariables>
-              <argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
-            </configuration>
-          </plugin>
-
-        </plugins>
-      </build>
-    </profile>
   </profiles>
 </project>
 
diff --git a/pom.xml b/pom.xml
index 0053e16..508f54f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -517,6 +517,24 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>javaNinePlus</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens 
java.base/java.util=ALL-UNNAMED</argLine>
+            </configuration>
+          </plugin>
+
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <properties>

Reply via email to