This is an automated email from the ASF dual-hosted git repository. mibo pushed a commit to branch OLINGO-1636-jdk_upgrade in repository https://gitbox.apache.org/repos/asf/olingo-odata2.git
commit fabbcf63c9602dcfee583bddd5d8dca7b9eb01f1 Author: Iliyan Velichkov <[email protected]> AuthorDate: Wed Dec 13 14:47:04 2023 +0200 use java 11 Signed-off-by: Iliyan Velichkov <[email protected]> --- .github/workflows/build.yml | 4 ++-- .github/workflows/maven.yml | 4 ++-- .github/workflows/pull-request.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- odata2-jpa-processor/jpa-core/pom.xml | 4 ++-- .../src/main/resources/archetype-resources/pom.xml | 4 ++-- .../src/main/resources/archetype-resources/pom.xml | 4 ++-- pom.xml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03db07f1..cc031a02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,11 +17,11 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- - - name: Set up JDK Corretto 8 + - name: Set up JDK Corretto uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: '8' + java-version: '11' architecture: x64 - name: Maven Build run: mvn clean install diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 64e1e103..f3e24d28 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,10 +24,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 (Corretto) + - name: Set up JDK (Corretto) uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '11' distribution: 'corretto' cache: maven - name: Build with Maven diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d2d52a6d..0c3c0ce2 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -24,10 +24,10 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- - - name: Set up JDK Corretto 8 + - name: Set up JDK Corretto uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: 8 + java-version: 11 - name: Maven Build run: mvn clean install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c2a548c..041bc9b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,11 +31,11 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- - - name: Set up JDK Corretto 8 + - name: Set up JDK Corretto uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: '8' + java-version: '11' architecture: x64 - name: "Configure Git" diff --git a/odata2-jpa-processor/jpa-core/pom.xml b/odata2-jpa-processor/jpa-core/pom.xml index 47d162a3..ecad6196 100644 --- a/odata2-jpa-processor/jpa-core/pom.xml +++ b/odata2-jpa-processor/jpa-core/pom.xml @@ -69,8 +69,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>11</source> + <target>11</target> <verbose>true</verbose> </configuration> </plugin> diff --git a/odata2-sample/cars-annotation-archetype/src/main/resources/archetype-resources/pom.xml b/odata2-sample/cars-annotation-archetype/src/main/resources/archetype-resources/pom.xml index d5d584f7..9548f828 100644 --- a/odata2-sample/cars-annotation-archetype/src/main/resources/archetype-resources/pom.xml +++ b/odata2-sample/cars-annotation-archetype/src/main/resources/archetype-resources/pom.xml @@ -58,8 +58,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>${version.compiler-plugin}</version> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>11</source> + <target>11</target> <verbose>true</verbose> </configuration> </plugin> diff --git a/odata2-sample/cars-service-archetype/src/main/resources/archetype-resources/pom.xml b/odata2-sample/cars-service-archetype/src/main/resources/archetype-resources/pom.xml index b6789c78..92b5c6fc 100644 --- a/odata2-sample/cars-service-archetype/src/main/resources/archetype-resources/pom.xml +++ b/odata2-sample/cars-service-archetype/src/main/resources/archetype-resources/pom.xml @@ -50,8 +50,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>11</source> + <target>11</target> </configuration> </plugin> <plugin> diff --git a/pom.xml b/pom.xml index 8b4614c1..f4be195c 100644 --- a/pom.xml +++ b/pom.xml @@ -193,8 +193,8 @@ governing permissions and limitations under <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>11</source> + <target>11</target> <verbose>true</verbose> </configuration> </plugin>
