diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40052a3ad..3193709fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Verify with Maven and Sonar if: ${{ github.actor != 'dependabot[bot]' }} run: mvn verify sonar:sonar -Pcoverage -Dsonar.projectKey=fr.insee:arc -Dsonar.organization=inseefr -Dsonar.host.url=https://sonarcloud.io diff --git a/.github/workflows/deploy-on-docker.yml b/.github/workflows/deploy-on-docker.yml index 8a23eab7d..615f5a324 100644 --- a/.github/workflows/deploy-on-docker.yml +++ b/.github/workflows/deploy-on-docker.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Verify with Maven run: mvn verify push_to_registry: diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index 0dd5d61ba..b2b95065f 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Package with Maven run: mvn package - uses: ncipollo/release-action@v1 diff --git a/arc-core/pom.xml b/arc-core/pom.xml index a71ff04f1..fdd78742a 100644 --- a/arc-core/pom.xml +++ b/arc-core/pom.xml @@ -35,8 +35,7 @@ ${project.maven.compiler.version} -Xlint:unchecked - ${project.java.version} - ${project.java.version} + ${project.java.version} diff --git a/arc-utils/pom.xml b/arc-utils/pom.xml index d26942f1d..921596cbd 100644 --- a/arc-utils/pom.xml +++ b/arc-utils/pom.xml @@ -22,8 +22,7 @@ ${project.maven.compiler.version} -Xlint:unchecked - ${project.java.version} - ${project.java.version} + ${project.java.version} diff --git a/pom.xml b/pom.xml index d25e4146e..514c4da31 100644 --- a/pom.xml +++ b/pom.xml @@ -16,8 +16,8 @@ 2.6.7 2.13.2 42.5.1 - 11 - 3.11.0 + 17 + 3.12.0 20231013 @@ -128,8 +128,7 @@ ${project.maven.compiler.version} -Xlint:unchecked - ${project.java.version} - ${project.java.version} + ${project.java.version}