You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/11/21 14:54:30 UTC

[streampipes] 01/01: [STREAMPIPES-591] Prevent tests from failing with Java 17+

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

riemer pushed a commit to branch STREAMPIPES-591
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 8532b7863d74fa9d45fa54c1b105701574a9dc0a
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Mon Nov 21 15:54:17 2022 +0100

    [STREAMPIPES-591] Prevent tests from failing with Java 17+
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index fbd500d57..9e89fa303 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1844,6 +1844,17 @@ IoT data streams.
 					</execution>
 				</executions>
 			</plugin>
+			<plugin>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<configuration>
+					<argLine>
+						--add-opens java.base/java.lang=ALL-UNNAMED
+						--add-opens java.base/java.util=ALL-UNNAMED
+						--add-opens java.base/java.base=ALL-UNNAMED
+						--add-opens java.base/java.util.stream=ALL-UNNAMED
+					</argLine>
+				</configuration>
+			</plugin>
 		</plugins>
 	</build>