forked from pool/maven-deploy-plugin
39 lines
949 B
Diff
39 lines
949 B
Diff
From a183366cbd1b5a8c4beb9cf671832522b512363a Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
|
|
Date: Wed, 11 May 2022 08:29:14 +0200
|
|
Subject: [PATCH 2/2] Fix tests with Java 16+
|
|
|
|
---
|
|
pom.xml | 16 ++++++++++++++++
|
|
1 file changed, 16 insertions(+)
|
|
|
|
diff --git a/pom.xml b/pom.xml
|
|
index 10d2644..48027cc 100644
|
|
--- a/pom.xml
|
|
+++ b/pom.xml
|
|
@@ -250,5 +250,21 @@ under the License.
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
+ <profile>
|
|
+ <id>jdk9+</id>
|
|
+ <activation>
|
|
+ <jdk>[9,)</jdk>
|
|
+ </activation>
|
|
+ <build>
|
|
+ <plugins>
|
|
+ <plugin>
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
+ <configuration>
|
|
+ <argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
|
|
+ </configuration>
|
|
+ </plugin>
|
|
+ </plugins>
|
|
+ </build>
|
|
+ </profile>
|
|
</profiles>
|
|
</project>
|
|
--
|
|
2.36.0
|
|
|