Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
maven-deploy-plugin
0002-Fix-tests-with-Java-16.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Fix-tests-with-Java-16.patch of Package maven-deploy-plugin
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor