This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push: new 8a759c9 add profile jdk9 and later for tests to pom.xml new 97591b8 Merge pull request #476 from OlegKhodokevich/CAY_2711_JDK_17_compatibility 8a759c9 is described below commit 8a759c92644e7e62f2a437a4feef68ee45b79f76 Author: Oleg Khodokevich <oleg.khodokev...@mail.ru> AuthorDate: Wed Dec 8 12:01:54 2021 +0300 add profile jdk9 and later for tests to pom.xml --- cayenne-protostuff/pom.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/cayenne-protostuff/pom.xml b/cayenne-protostuff/pom.xml index 726672a..4a16706 100644 --- a/cayenne-protostuff/pom.xml +++ b/cayenne-protostuff/pom.xml @@ -88,6 +88,38 @@ </dependency> </dependencies> + <profiles> + <profile> + <id>jdk9-test-open-modules</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <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> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-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> + <build> <plugins> <!-- This ensures LICENSE and NOTICE inclusion in all jars -->