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 4bebfe7ad2cfaffae997c430a3b7b7cc3e28806a Author: Iliyan Velichkov <[email protected]> AuthorDate: Wed Dec 13 14:51:19 2023 +0200 use java 17 Signed-off-by: Iliyan Velichkov <[email protected]> --- .github/workflows/build.yml | 2 +- .github/workflows/maven.yml | 2 +- .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 2 +- odata2-jpa-processor/jpa-core/pom.xml | 5 ++--- .../src/main/resources/archetype-resources/pom.xml | 5 ++--- .../src/main/resources/archetype-resources/pom.xml | 4 ++-- pom.xml | 5 ++--- 8 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc031a02..72b632a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: '11' + java-version: '17' architecture: x64 - name: Maven Build run: mvn clean install diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f3e24d28..25eca780 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,7 +27,7 @@ jobs: - name: Set up JDK (Corretto) uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'corretto' cache: maven - name: Build with Maven diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0c3c0ce2..162c8d2f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -28,6 +28,6 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: 11 + java-version: 17 - name: Maven Build run: mvn clean install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 041bc9b0..c579644c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'corretto' - java-version: '11' + java-version: '17' architecture: x64 - name: "Configure Git" diff --git a/odata2-jpa-processor/jpa-core/pom.xml b/odata2-jpa-processor/jpa-core/pom.xml index ecad6196..ee4d22cd 100644 --- a/odata2-jpa-processor/jpa-core/pom.xml +++ b/odata2-jpa-processor/jpa-core/pom.xml @@ -69,9 +69,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>11</source> - <target>11</target> - <verbose>true</verbose> + <source>17</source> + <target>17</target> </configuration> </plugin> </plugins> 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 9548f828..fe4a1e75 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,9 +58,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>${version.compiler-plugin}</version> <configuration> - <source>11</source> - <target>11</target> - <verbose>true</verbose> + <source>17</source> + <target>17</target> </configuration> </plugin> <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 92b5c6fc..7320df85 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>11</source> - <target>11</target> + <source>17</source> + <target>17</target> </configuration> </plugin> <plugin> diff --git a/pom.xml b/pom.xml index f4be195c..326fbbb5 100644 --- a/pom.xml +++ b/pom.xml @@ -193,9 +193,8 @@ governing permissions and limitations under <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>11</source> - <target>11</target> - <verbose>true</verbose> + <source>17</source> + <target>17</target> </configuration> </plugin> <plugin>
