From fda3145a3ea247d60da56a8451cf8e3b237f9294 Mon Sep 17 00:00:00 2001 From: David Darras Date: Tue, 20 Feb 2024 11:55:17 +0100 Subject: [PATCH] chore: upgrade lib versions --- .github/workflows/build.yml | 18 +++---- .github/workflows/develop-release.yml | 18 +++---- .github/workflows/release.yml | 18 +++---- pom.xml | 73 ++++++++++++--------------- 4 files changed, 54 insertions(+), 73 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1974c49..de5c302 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,24 +9,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 21 + distribution: 'temurin' - name: Get current version id: version run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" - run: echo ${{steps.version.outputs.prop}} - - name: Get lunatic-model version - id: lunatic - run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=lunatic.model.version -q -DforceStdout)" - - name: Install lunatic-model - run: mvn install:install-file -Dfile=lib/lunatic-model-${{steps.lunatic.outputs.prop}}.jar -DgroupId=fr.insee.lunatic -DartifactId=lunatic-model -Dversion=${{steps.lunatic.outputs.prop}} -Dpackaging=jar - name: Build with Maven - run: mvn install --file pom.xml + run: mvn install --no-transfer-progress - name: Upload jar - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jar path: target/*.jar \ No newline at end of file diff --git a/.github/workflows/develop-release.yml b/.github/workflows/develop-release.yml index 4d2cdd7..9fc1abe 100644 --- a/.github/workflows/develop-release.yml +++ b/.github/workflows/develop-release.yml @@ -11,18 +11,14 @@ jobs: build-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 11 - - name: Get lunatic-model version - id: lunatic - run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=lunatic.model.version -q -DforceStdout)" - - name: Install lunatic-model - run: mvn install:install-file -Dfile=lib/lunatic-model-${{steps.lunatic.outputs.prop}}.jar -DgroupId=fr.insee.lunatic -DartifactId=lunatic-model -Dversion=${{steps.lunatic.outputs.prop}} -Dpackaging=jar + java-version: 21 + distribution: 'temurin' - name: Build with Maven - run: mvn install --file pom.xml + run: mvn install --no-transfer-progress - name: Get current version id: version run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" @@ -39,7 +35,7 @@ jobs: prerelease: false - name: Upload Release Asset id: upload-release-asset - uses: actions/upload-release-asset@v1 + uses: actions/upload-release-asset@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71d3a29..1edf730 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,18 +11,14 @@ jobs: build-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 11 - - name: Get lunatic-model version - id: lunatic - run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=lunatic.model.version -q -DforceStdout)" - - name: Install lunatic-model - run: mvn install:install-file -Dfile=lib/lunatic-model-${{steps.lunatic.outputs.prop}}.jar -DgroupId=fr.insee.lunatic -DartifactId=lunatic-model -Dversion=${{steps.lunatic.outputs.prop}} -Dpackaging=jar + java-version: 21 + distribution: 'temurin' - name: Build with Maven - run: mvn install --file pom.xml + run: mvn install --no-transfer-progress - name: Get current version id: version run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" @@ -39,7 +35,7 @@ jobs: prerelease: false - name: Upload Release Asset id: upload-release-asset - uses: actions/upload-release-asset@v1 + uses: actions/upload-release-asset@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/pom.xml b/pom.xml index b1fd2c8..20b3903 100644 --- a/pom.xml +++ b/pom.xml @@ -5,23 +5,20 @@ 4.0.0 fr.insee.queen queen-batch - 4.2.1 + 4.2.2 jar QueenBatch Queen Batch - 11.0.2 - 1.11 - 1.11 - 5.2.1.RELEASE - 2.17.1 - 1.15.2 + 21 + 6.1.3 + 2.22.1 + 1.19.5 UTF-8 UTF-8 - 11 - 9.7.0-8 - 2.2.3 + 11.5 + 2.5.1 @@ -49,36 +46,31 @@ org.springframework.data spring-data-jpa - 2.2.3.RELEASE - - - - org.springframework.data - spring-data-mongodb - 2.2.3.RELEASE + 3.1.2 + commons-io commons-io - 2.6 + 2.15.1 org.apache.commons commons-lang3 - 3.10 + 3.12.0 org.postgresql postgresql - 42.3.8 + 42.5.4 org.liquibase liquibase-core - 3.8.9 + 4.25.1 @@ -86,7 +78,7 @@ org.junit.jupiter junit-jupiter-engine - 5.4.0 + 5.10.1 org.testcontainers @@ -94,23 +86,24 @@ ${testcontainers.version} test + + - org.testcontainers - mongodb - ${testcontainers.version} - test + com.google.code.gson + gson + 2.10.1 - com.googlecode.json-simple json-simple 1.1.1 - - - com.google.code.gson - gson - 2.8.6 + + + junit + junit + + @@ -119,6 +112,7 @@ log4j-core ${log4j.version} + org.apache.logging.log4j log4j-api @@ -140,12 +134,12 @@ org.eclipse.persistence org.eclipse.persistence.moxy - 2.5.0 + 4.0.1 org.eclipse.persistence eclipselink - 2.6.0 + 4.0.1 javax.xml.bind @@ -160,7 +154,7 @@ org.jdom jdom2 - 2.0.6 + 2.0.6.1 @@ -170,16 +164,15 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M4 + 3.1.2 alphabetical UnitTests.java TestEndToEndJpa.java - TestEndToEndMongo.java 500 - -Xmx2048m -Xmx1G -XX:PermSize=1024m + -Xmx2048m -Xmx1G true @@ -188,7 +181,7 @@ org.apache.maven.plugins maven-eclipse-plugin - 2.9 + 2.10 true false @@ -243,7 +236,7 @@ maven-resources-plugin - 2.7 + 3.3.1 UTF-8