Skip to content

Commit 8939e91

Browse files
committed
Remove strict JDK version bounds
The build process requires JDK 11 at least. The Surefire will pickup whatever toolchain satisfies the appropriate lower bound.
1 parent 030834d commit 8939e91

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

pom.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,11 @@
307307
<maven.compiler.release>8</maven.compiler.release>
308308
<maven.compiler.target>${maven.compiler.release}</maven.compiler.target>
309309
<!-- JDK version of the main Maven process (used in ASF parent POM) -->
310-
<minimalJavaBuildVersion>[17, 18)</minimalJavaBuildVersion>
310+
<minimalJavaBuildVersion>[11, )</minimalJavaBuildVersion>
311311
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
312312
<!-- Fixed `project.build.outputTimestamp` is required for reproducible builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
313313
<project.build.outputTimestamp>1676697577</project.build.outputTimestamp>
314-
<surefire.jdkToolchain>[1.8, 9)</surefire.jdkToolchain>
314+
<surefire.jdkToolchain>[1.8, )</surefire.jdkToolchain>
315315
<docLabel>Site Documentation</docLabel>
316316
<projectDir/>
317317
<module.name/>
@@ -1938,14 +1938,6 @@
19381938
</properties>
19391939
</profile>
19401940

1941-
<profile>
1942-
<id>rebuild</id>
1943-
<properties>
1944-
<maven.test.skip>true</maven.test.skip>
1945-
<surefire.jdkToolchain>[17, 18)</surefire.jdkToolchain>
1946-
</properties>
1947-
</profile>
1948-
19491941
</profiles>
19501942

19511943
</project>

0 commit comments

Comments
 (0)