Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using JDK 17 #955

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure/templates/jobs/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ jobs:
displayName: 'Build Docs'
strategy:
matrix:
'java-11':
'java-17':
image: 'Ubuntu-22.04'
jdk_version: '11'
jdk_version: '17'
# Strategy for the job
# Set timeout for jobs
timeoutInMinutes: 60
Expand Down
6 changes: 1 addition & 5 deletions .azure/templates/jobs/build_java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ jobs:
# Strategy for the job
strategy:
matrix:
'java-11':
image: 'Ubuntu-22.04'
jdk_version: '11'
main_build: 'true'
'java-17':
image: 'Ubuntu-22.04'
jdk_version: '17'
main_build: 'false'
main_build: 'true'
# Set timeout for jobs
timeoutInMinutes: 60
# Base system
Expand Down
2 changes: 1 addition & 1 deletion .azure/templates/steps/prerequisites/install_java.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Step to configure JAVA on the agent
parameters:
- name: JDK_VERSION
default: '11'
default: '17'
steps:
- task: JavaToolInstaller@0
inputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

# Setup OpenJDK 11
# Setup OpenJDK 17
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
cache: 'maven'

# Initializes the CodeQL tools for scanning.
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- build: ppc64le
os: linux
arch: ppc64le
jdk: openjdk11
jdk: openjdk17
script: mvn install -Dmaven.javadoc.skip=true
addons:
apt:
Expand All @@ -17,7 +17,7 @@ jobs:
- build: s390x
os: linux
arch: s390x
jdk: openjdk11
jdk: openjdk17
# because of flakiness of tests on s390x, adding automatic retries on failure
script: mvn install -Dmaven.javadoc.skip=true -Dfailsafe.rerunFailingTestsCount=10
addons:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.32.0

* Dependency updates (JMX exporter 1.1.0)
* Dropped support for Java 11 and replaced with Java 17.

## 0.31.1

Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<log4j.version>2.17.2</log4j.version>
<vertx.version>4.5.11</vertx.version>
<vertx-testing.version>4.5.11</vertx-testing.version>
Expand Down
Loading