This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new ce484c0 Add Java 16 profile.
ce484c0 is described below
commit ce484c08e6dc78745aaec2aa19263c1fd2886089
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jun 26 09:45:05 2021 -0400
Add Java 16 profile.
---
pom.xml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/pom.xml b/pom.xml
index 91f6c0a..5b96702 100644
--- a/pom.xml
+++ b/pom.xml
@@ -815,6 +815,27 @@
<coveralls.skip>true</coveralls.skip>
</properties>
</profile>
+ <profile>
+ <id>java16</id>
+ <!-- For testing with CGLIB on Java 16 and 17-ea. -->
+ <activation>
+ <jdk>[16,)</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>
+ --illegal-access=permit
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ </argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<!-- Uncomment this and set the path accordingly to enable YourKit -->
<!-- http://www.yourkit.com/docs/80/help/agent.jsp -->
<!-- <profile>