diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6eabeb29..79e125ae 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -51,7 +51,7 @@ jobs: - name: Setup Java JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 25 distribution: 'zulu' # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7deab17b..ed9fb643 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 25 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '25' distribution: 'zulu' - name: Build and Run Unit Tests diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 4da4d80e..61168316 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 25 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '25' distribution: 'zulu' - name: Cache Maven packages diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 23cfef6a..e924eeb3 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 25 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '25' distribution: 'zulu' - name: Build and Analyze Code Coverage diff --git a/README.md b/README.md index 562db24b..8453f002 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ Contains MTA model objects for different specification versions, parsers and val *WARNING*: With [Issue 117](https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/issues/117) the master branch of this repository as well as other artifacts will be renamed. Adaptation to any CI/CD infrastructure & scripts will be required. ## Build tools -All components are built with Java 17 and [Apache Maven](http://maven.apache.org/), version `3.9.6` or newer. +All components are built with Java 25 and [Apache Maven](http://maven.apache.org/), version `3.9.6` or newer. -Make sure that your Maven is configured to use Java 17 by configuring the `JAVA_HOME` env to point to the correct Java JDK. +Make sure that your Maven is configured to use Java 25 by configuring the `JAVA_HOME` env to point to the correct Java JDK. ## Compiling and Packaging To build all components, run the following command from the root directory of the project: ``` diff --git a/pom.xml b/pom.xml index bd0c405f..77b39631 100644 --- a/pom.xml +++ b/pom.xml @@ -79,8 +79,8 @@ maven-compiler-plugin 3.14.1 - 17 - 17 + 25 + 25