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

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

    Add profile for Java 9+
---
 commons-jcs-tck-tests/pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/commons-jcs-tck-tests/pom.xml b/commons-jcs-tck-tests/pom.xml
index 899aa35..3a0a294 100644
--- a/commons-jcs-tck-tests/pom.xml
+++ b/commons-jcs-tck-tests/pom.xml
@@ -243,6 +243,33 @@
         </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>
 

Reply via email to