Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
xmvn-parent.28307
0004-Add-a-jdk9-profile-to-assure-that-we-are-j...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Add-a-jdk9-profile-to-assure-that-we-are-jdk8-compat.patch of Package xmvn-parent.28307
From 4dc70921e93fdf1f34e9c02b7a9bd8890bb4ac4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch> Date: Sun, 8 May 2022 19:56:30 +0200 Subject: [PATCH 4/4] Add a jdk9+ profile to assure that we are jdk8 compatible --- xmvn-parent/pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/xmvn-parent/pom.xml b/xmvn-parent/pom.xml index 383f320c..e1ed807f 100644 --- a/xmvn-parent/pom.xml +++ b/xmvn-parent/pom.xml @@ -565,5 +565,27 @@ </plugins> </build> </profile> + <profile> + <id>jdk9+</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <release>8</release> + </configuration> + </plugin> + <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