Fix java version for java16 (#11243)

Motivation:

When trying to compile with java16 we should use adopt@1.16*

Modifications:

- Use adopt@1.16.0-1-
- Upgrade to blockhoud 1.0.6 to be able to support java16

Result:

Use correct java version / flavor
This commit is contained in:
Norman Maurer 2021-05-12 14:03:59 +02:00
parent 0d32c48d80
commit f33acf2009
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ services:
image: netty:centos-6-1.16
build:
args:
java_version : "adopt-openj9@1.16.0-1"
java_version : "adopt@1.16.0-1"
build:
image: netty:centos-6-1.16

View File

@ -113,6 +113,8 @@
<maven.compiler.target>11</maven.compiler.target>
<!-- pax-exam does not work on latest Java12 EA 22 build -->
<skipOsgiTestsuite>true</skipOsgiTestsuite>
<!-- doesn't work with java16 -->
<skipJapicmp>true</skipJapicmp>
</properties>
</profile>
@ -742,7 +744,7 @@
<dependency>
<groupId>io.projectreactor.tools</groupId>
<artifactId>blockhound</artifactId>
<version>1.0.3.RELEASE</version>
<version>1.0.6.RELEASE</version>
</dependency>
</dependencies>
</dependencyManagement>