Jetty 10 - Fix OpenJDK 19 related build issues (#8995)

* Add JDK 19 build to Jenkinsfile
* Fix Javadoc on OpenJDK 19

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2022-12-01 10:56:34 -06:00 committed by GitHub
parent 1d9f2dff43
commit be5ed905ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

11
Jenkinsfile vendored
View File

@ -11,6 +11,17 @@ pipeline {
stages {
stage("Parallel Stage") {
parallel {
stage("Build / Test - JDK19") {
agent { node { label 'linux' } }
steps {
timeout( time: 180, unit: 'MINUTES' ) {
checkout scm
mavenBuild( "jdk19", "clean install -Dspotbugs.skip=true -Djacoco.skip=true -Peclipse-release", "maven3")
recordIssues id: "jdk19", name: "Static Analysis jdk19", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle()]
}
}
}
stage("Build / Test - JDK17") {
agent { node { label 'linux' } }
steps {

View File

@ -36,6 +36,14 @@
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>17</source>
<release>17</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>