From d083f4c96f38ccf2c56053715e9cb11ad31cdb3f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 May 2023 07:49:21 +0000 Subject: [PATCH 01/10] Bump maven-surefire-plugin from 3.0.0 to 3.1.0 Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0...surefire-3.1.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 73504a1..0b64a31 100644 --- a/pom.xml +++ b/pom.xml @@ -154,7 +154,7 @@ SPDX-License-Identifier: Apache-2.0 org.apache.maven.plugins maven-surefire-plugin - 3.0.0 + 3.1.0 From 9557cba42d97393bb1b439460ac5638418e7410b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mu=C3=B1oz?= Date: Wed, 7 Jun 2023 17:30:02 +0200 Subject: [PATCH 02/10] refactor: split SC worflow into build & analysis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juan Muñoz --- .github/workflows/sonarcloud-analysis.yml | 168 ++++++++++++---------- .github/workflows/sonarcloud-build.yml | 77 ++++++++++ 2 files changed, 173 insertions(+), 72 deletions(-) create mode 100644 .github/workflows/sonarcloud-build.yml diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.yml index 938afee..bc14541 100644 --- a/.github/workflows/sonarcloud-analysis.yml +++ b/.github/workflows/sonarcloud-analysis.yml @@ -4,82 +4,106 @@ name: SonarCloud Analysis -on: - push: - branches: - - '**' - pull_request: - branches: - - 'main' - - 'develop' - pull_request_target: - branches: - - 'main' - - 'develop' +on: + workflow_run: + workflows: [SonarCloud Build] + types: [completed] jobs: - build: - name: Build + sonar-check: runs-on: ubuntu-latest + if: github.event.workflow_run.conclusion == 'success' timeout-minutes: 15 - - if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }} steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Cache SonarCloud packages - uses: actions/cache@v3 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Cache Maven packages - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + - name: echo event + run: cat $GITHUB_EVENT_PATH + - name: Download PR number artifact + if: github.event.workflow_run.event == 'pull_request' + uses: dawidd6/action-download-artifact@v2 + with: + workflow: SonarCloud Build + run_id: ${{ github.event.workflow_run.id }} + name: PR_NUMBER + - name: Read PR_NUMBER.txt + if: github.event.workflow_run.event == 'pull_request' + id: pr_number + uses: juliangruber/read-file-action@v1 + with: + path: ./PR_NUMBER.txt + - name: Request GitHub API for PR data + if: github.event.workflow_run.event == 'pull_request' + uses: octokit/request-action@v2.x + id: get_pr_data + with: + route: GET /repos/{full_name}/pulls/{number} + number: ${{ steps.pr_number.outputs.content }} + full_name: ${{ github.event.repository.full_name }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v3 + with: + repository: ${{ github.event.workflow_run.head_repository.full_name }} + ref: ${{ github.event.workflow_run.head_branch }} + fetch-depth: 0 + - name: Checkout base branch + if: github.event.workflow_run.event == 'pull_request' + run: | + git remote add upstream ${{ github.event.repository.clone_url }} + git fetch upstream + git checkout -B ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} upstream/${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} + git checkout ${{ github.event.workflow_run.head_branch }} + git clean -ffdx && git reset --hard HEAD + - name: Cache SonarCloud packages + uses: actions/cache@v3 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: '17' + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' - - name: Set Common Sonar Variables - id: sonar_env - run: | - echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \ - -Dsonar.projectKey=com-pas_compas-core \ - -Dsonar.organization=com-pas )" - - name: Create custom Maven Settings.xml - uses: whelk-io/maven-settings-xml-action@v21 - with: - output_file: custom_maven_settings.xml - servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' - - name: Build and analyze (Pull Request) - if: ${{ github.event_name == 'pull_request' || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: | - ./mvnw -B -s custom_maven_settings.xml -Psonar \ - ${{ steps.sonar_env.outputs.sonar_opts }} \ - -Dsonar.pullrequest.branch=${{ github.ref_name }} \ - -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \ - -Dsonar.pullrequest.base=${{ github.base_ref }} \ - -Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} \ - clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar - - name: Build and analyze (Push) - if: ${{ github.event_name == 'push' }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: | - ./mvnw -B -s custom_maven_settings.xml -Psonar \ - ${{ steps.sonar_env.outputs.sonar_opts }} \ - -Dsonar.branch.name=${{ github.ref_name }} \ - clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + - name: Set Common Sonar Variables + id: sonar_env + run: | + echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.projectKey=com-pas_compas-core \ + -Dsonar.organization=com-pas )" + - name: Create custom Maven Settings.xml + uses: whelk-io/maven-settings-xml-action@v21 + with: + output_file: custom_maven_settings.xml + servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' + - name: Build and analyze (Pull Request) + if: ${{ github.event.workflow_run.event == 'pull_request' || (github.event.workflow_run.actor == 'dependabot[bot]' && github.event.workflow_run.event == 'pull_request_target') }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + run: | + ./mvnw -B -s custom_maven_settings.xml -Psonar \ + ${{ steps.sonar_env.outputs.sonar_opts }} \ + -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} \ + -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} \ + -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} \ + -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \ + clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + - name: Build and analyze (Push) + if: ${{ github.event.workflow_run.event == 'push' }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + run: | + ./mvnw -B -s custom_maven_settings.xml -Psonar \ + ${{ steps.sonar_env.outputs.sonar_opts }} \ + -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \ + -Dsonar.branch.name=${{ github.event.workflow_run.head_branch }} \ + clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar diff --git a/.github/workflows/sonarcloud-build.yml b/.github/workflows/sonarcloud-build.yml new file mode 100644 index 0000000..58e78fc --- /dev/null +++ b/.github/workflows/sonarcloud-build.yml @@ -0,0 +1,77 @@ +# SPDX-FileCopyrightText: 2022 Alliander N.V. +# +# SPDX-License-Identifier: Apache-2.0 + +name: SonarCloud Build + +on: + push: + branches: + - '**' + pull_request: + branches: + - 'main' + - 'develop' + pull_request_target: + branches: + - 'main' + - 'develop' + +jobs: + precheck-build: + name: Pre Check Build + runs-on: ubuntu-latest + timeout-minutes: 30 + + if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }} + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Cache SonarCloud packages + uses: actions/cache@v3 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' + + - name: Create custom Maven Settings.xml + uses: whelk-io/maven-settings-xml-action@v21 + with: + output_file: custom_maven_settings.xml + servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' + - name: Build and analyze (Pull Request) + if: ${{ github.event_name == 'pull_request' || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + ./mvnw -B -s custom_maven_settings.xml clean verify + - name: Build and analyze (Push) + if: ${{ github.event_name == 'push' }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + ./mvnw -B -s custom_maven_settings.xml clean verify + - name: Save PR number to file + if: github.event_name == 'pull_request' + run: echo ${{ github.event.number }} > PR_NUMBER.txt + - name: Archive PR number + if: github.event_name == 'pull_request' + uses: actions/upload-artifact@v3 + with: + name: PR_NUMBER + path: PR_NUMBER.txt From 67389b938131a27efa3da03cd9a5abbfcae8ca6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mu=C3=B1oz?= Date: Mon, 26 Jun 2023 14:40:50 +0200 Subject: [PATCH 03/10] chore: fix indent in Sonarcloud Analysis workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juan Muñoz --- .github/workflows/sonarcloud-analysis.yml | 180 +++++++++++----------- 1 file changed, 90 insertions(+), 90 deletions(-) diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.yml index bc14541..41f6183 100644 --- a/.github/workflows/sonarcloud-analysis.yml +++ b/.github/workflows/sonarcloud-analysis.yml @@ -15,95 +15,95 @@ jobs: if: github.event.workflow_run.conclusion == 'success' timeout-minutes: 15 steps: - - name: echo event - run: cat $GITHUB_EVENT_PATH - - name: Download PR number artifact - if: github.event.workflow_run.event == 'pull_request' - uses: dawidd6/action-download-artifact@v2 - with: - workflow: SonarCloud Build - run_id: ${{ github.event.workflow_run.id }} - name: PR_NUMBER - - name: Read PR_NUMBER.txt - if: github.event.workflow_run.event == 'pull_request' - id: pr_number - uses: juliangruber/read-file-action@v1 - with: - path: ./PR_NUMBER.txt - - name: Request GitHub API for PR data - if: github.event.workflow_run.event == 'pull_request' - uses: octokit/request-action@v2.x - id: get_pr_data - with: - route: GET /repos/{full_name}/pulls/{number} - number: ${{ steps.pr_number.outputs.content }} - full_name: ${{ github.event.repository.full_name }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 - with: - repository: ${{ github.event.workflow_run.head_repository.full_name }} - ref: ${{ github.event.workflow_run.head_branch }} - fetch-depth: 0 - - name: Checkout base branch - if: github.event.workflow_run.event == 'pull_request' - run: | - git remote add upstream ${{ github.event.repository.clone_url }} - git fetch upstream - git checkout -B ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} upstream/${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} - git checkout ${{ github.event.workflow_run.head_branch }} - git clean -ffdx && git reset --hard HEAD - - name: Cache SonarCloud packages - uses: actions/cache@v3 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Cache Maven packages - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + - name: echo event + run: cat $GITHUB_EVENT_PATH + - name: Download PR number artifact + if: github.event.workflow_run.event == 'pull_request' + uses: dawidd6/action-download-artifact@v2 + with: + workflow: SonarCloud Build + run_id: ${{ github.event.workflow_run.id }} + name: PR_NUMBER + - name: Read PR_NUMBER.txt + if: github.event.workflow_run.event == 'pull_request' + id: pr_number + uses: juliangruber/read-file-action@v1 + with: + path: ./PR_NUMBER.txt + - name: Request GitHub API for PR data + if: github.event.workflow_run.event == 'pull_request' + uses: octokit/request-action@v2.x + id: get_pr_data + with: + route: GET /repos/{full_name}/pulls/{number} + number: ${{ steps.pr_number.outputs.content }} + full_name: ${{ github.event.repository.full_name }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v3 + with: + repository: ${{ github.event.workflow_run.head_repository.full_name }} + ref: ${{ github.event.workflow_run.head_branch }} + fetch-depth: 0 + - name: Checkout base branch + if: github.event.workflow_run.event == 'pull_request' + run: | + git remote add upstream ${{ github.event.repository.clone_url }} + git fetch upstream + git checkout -B ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} upstream/${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} + git checkout ${{ github.event.workflow_run.head_branch }} + git clean -ffdx && git reset --hard HEAD + - name: Cache SonarCloud packages + uses: actions/cache@v3 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: '17' + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' - - name: Set Common Sonar Variables - id: sonar_env - run: | - echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \ - -Dsonar.projectKey=com-pas_compas-core \ - -Dsonar.organization=com-pas )" - - name: Create custom Maven Settings.xml - uses: whelk-io/maven-settings-xml-action@v21 - with: - output_file: custom_maven_settings.xml - servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' - - name: Build and analyze (Pull Request) - if: ${{ github.event.workflow_run.event == 'pull_request' || (github.event.workflow_run.actor == 'dependabot[bot]' && github.event.workflow_run.event == 'pull_request_target') }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: | - ./mvnw -B -s custom_maven_settings.xml -Psonar \ - ${{ steps.sonar_env.outputs.sonar_opts }} \ - -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} \ - -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} \ - -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} \ - -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \ - clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar - - name: Build and analyze (Push) - if: ${{ github.event.workflow_run.event == 'push' }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: | - ./mvnw -B -s custom_maven_settings.xml -Psonar \ - ${{ steps.sonar_env.outputs.sonar_opts }} \ - -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \ - -Dsonar.branch.name=${{ github.event.workflow_run.head_branch }} \ - clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + - name: Set Common Sonar Variables + id: sonar_env + run: | + echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.projectKey=com-pas_compas-core \ + -Dsonar.organization=com-pas )" + - name: Create custom Maven Settings.xml + uses: whelk-io/maven-settings-xml-action@v21 + with: + output_file: custom_maven_settings.xml + servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' + - name: Build and analyze (Pull Request) + if: ${{ github.event.workflow_run.event == 'pull_request' || (github.event.workflow_run.actor == 'dependabot[bot]' && github.event.workflow_run.event == 'pull_request_target') }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + run: | + ./mvnw -B -s custom_maven_settings.xml -Psonar \ + ${{ steps.sonar_env.outputs.sonar_opts }} \ + -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} \ + -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} \ + -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} \ + -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \ + clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + - name: Build and analyze (Push) + if: ${{ github.event.workflow_run.event == 'push' }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + run: | + ./mvnw -B -s custom_maven_settings.xml -Psonar \ + ${{ steps.sonar_env.outputs.sonar_opts }} \ + -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \ + -Dsonar.branch.name=${{ github.event.workflow_run.head_branch }} \ + clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar From 141d41c0c5783bb9661353aa579e46be4cba4da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Fri, 28 Apr 2023 17:10:24 +0200 Subject: [PATCH 04/10] Migrating to Quarkus 3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the main change is migrating from JavaEE to JakartaEE. - update Quarkus bom from io.quarkus:quarkus-universe-bom to io.quarkus.platform:quarkus-bom as it was deprecated since Quarkus 2.1 https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.1#quarkus-universe-bom-is-deprecated (and it is required to use the Quarkus migration tool) - launched quarkus `quarkus update --stream=3.0` as mentioned in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0#automatic-update-tool which dealt with a fair part of the migration. Then it remained few little tasks. - Updated one package-info annotation - Updated from jakarta.websocket:jakarta.websocket-api to io.quarkus:quarkus-websockets (another alternatives might be to add jakarta.websocket:jakarta.websocket-client-api) - Updated Jaxb generation. Moving from org.jvnet.jaxb2.maven2:maven-jaxb2-plugin to com.helger.maven:jaxb40-maven-plugin. Jaxb 3+ is supporting Jakarta. using a fork which has implemented the support of Jacxb4. The initial repository is not very active despite issue raised and a PR is proposed: see https://github.com/highsource/maven-jaxb2-plugin/issues/253 - updated xjb files: - namespace from `http://java.sun.com/xml/ns/jaxb` to `https://jakarta.ee/xml/ns/jaxb` - version from 1.2 to 3.0 (which is mandatory in accordance to the namespace) - Remove com.sun.xml.bind:jaxb-impl no more needed dependency Signed-off-by: Aurélien Pupier --- commons/pom.xml | 11 +++++----- .../core/commons/MarshallerWrapper.java | 8 +++---- .../commons/constraint/FilenameValid.java | 4 ++-- .../constraint/XmlAnyElementValid.java | 4 ++-- .../impl/FilenameConstraintValidator.java | 4 ++-- .../XmlAnyElementConstraintValidator.java | 4 ++-- .../core/commons/model/ErrorMessage.java | 8 +++---- .../core/commons/model/ErrorResponse.java | 10 ++++----- .../core/commons/model/package-info.java | 4 ++-- .../core/commons/MarshallerWrapperTest.java | 4 ++-- .../impl/FilenameConstraintValidatorTest.java | 4 ++-- .../XmlAnyElementConstraintValidatorTest.java | 4 ++-- .../core/commons/model/ObjectFactory.java | 6 +++--- .../core/commons/model/XmlElementAPojo.java | 2 +- .../core/commons/model/XmlElementBPojo.java | 2 +- .../core/commons/model/package-info.java | 4 ++-- pom.xml | 21 +++++++------------ rest-commons/pom.xml | 5 +++-- .../exception/CompasExceptionHandler.java | 6 +++--- .../ConstraintViolationExceptionHandler.java | 8 +++---- .../exception/GenericExceptionHandler.java | 6 +++--- .../exception/CompasExceptionHandlerTest.java | 2 +- ...nstraintViolationExceptionHandlerTest.java | 8 +++---- .../GenericExceptionHandlerTest.java | 2 +- scl-extension/pom.xml | 5 ++--- .../src/main/bindings/scl-extensions.xjb | 4 ++-- .../AbstractCompasExtensionsManager.java | 2 +- .../scl/extensions/model/SclFileType.java | 4 ++-- .../AbstractCompasExtensionsManagerTest.java | 2 +- scl2003/pom.xml | 9 ++++---- scl2003/src/main/bindings/scl2003.xjb | 4 ++-- .../commons/CompasExtensionsManager.java | 2 +- .../commons/Scl2003MarshallerWrapper.java | 4 ++-- scl2007b/pom.xml | 9 ++++---- scl2007b/src/main/bindings/scl2007b.xjb | 4 ++-- .../commons/CompasExtensionsManager.java | 2 +- .../commons/Scl2007bMarshallerWrapper.java | 4 ++-- scl2007b4/pom.xml | 9 ++++---- scl2007b4/src/main/bindings/scl2007b4.xjb | 4 ++-- .../commons/CompasExtensionsManager.java | 2 +- .../commons/Scl2007b4MarshallerWrapper.java | 4 ++-- websocket-commons/pom.xml | 9 ++++---- .../core/websocket/AbstractDecoder.java | 4 ++-- .../core/websocket/AbstractEncoder.java | 4 ++-- .../core/websocket/WebsocketHandler.java | 2 +- .../core/websocket/WebsocketSupport.java | 6 +++--- .../websocket/ErrorResponseDecoderTest.java | 2 +- .../core/websocket/WebsocketHandlerTest.java | 4 ++-- .../core/websocket/WebsocketSupportTest.java | 10 ++++----- 49 files changed, 127 insertions(+), 129 deletions(-) diff --git a/commons/pom.xml b/commons/pom.xml index d97af42..23aab83 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -48,9 +48,10 @@ SPDX-License-Identifier: Apache-2.0 - com.sun.xml.bind - jaxb-impl + org.glassfish.jaxb + jaxb-runtime provided + 4.0.2 @@ -68,9 +69,9 @@ SPDX-License-Identifier: Apache-2.0 hibernate-validator test - - org.glassfish - jakarta.el + + org.glassfish.expressly + expressly test diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/MarshallerWrapper.java b/commons/src/main/java/org/lfenergy/compas/core/commons/MarshallerWrapper.java index 9343c12..4d291cd 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/MarshallerWrapper.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/MarshallerWrapper.java @@ -13,10 +13,10 @@ import org.xml.sax.SAXException; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.Result; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/FilenameValid.java b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/FilenameValid.java index 5ee06c4..ca46a05 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/FilenameValid.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/FilenameValid.java @@ -5,8 +5,8 @@ import org.lfenergy.compas.core.commons.constraint.impl.FilenameConstraintValidator; -import javax.validation.Constraint; -import javax.validation.Payload; +import jakarta.validation.Constraint; +import jakarta.validation.Payload; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/XmlAnyElementValid.java b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/XmlAnyElementValid.java index 0ab14e5..116feac 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/XmlAnyElementValid.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/XmlAnyElementValid.java @@ -5,8 +5,8 @@ import org.lfenergy.compas.core.commons.constraint.impl.XmlAnyElementConstraintValidator; -import javax.validation.Constraint; -import javax.validation.Payload; +import jakarta.validation.Constraint; +import jakarta.validation.Payload; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidator.java b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidator.java index 68ad0a2..d248f07 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidator.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidator.java @@ -5,8 +5,8 @@ import org.lfenergy.compas.core.commons.constraint.FilenameValid; -import javax.validation.ConstraintValidator; -import javax.validation.ConstraintValidatorContext; +import jakarta.validation.ConstraintValidator; +import jakarta.validation.ConstraintValidatorContext; import java.util.regex.Matcher; import java.util.regex.Pattern; diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidator.java b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidator.java index 385dbad..26d8c0d 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidator.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidator.java @@ -8,8 +8,8 @@ import org.lfenergy.compas.core.commons.constraint.XmlAnyElementValid; import org.w3c.dom.Element; -import javax.validation.ConstraintValidator; -import javax.validation.ConstraintValidatorContext; +import jakarta.validation.ConstraintValidator; +import jakarta.validation.ConstraintValidatorContext; import java.util.List; /** diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorMessage.java b/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorMessage.java index 9d4c2ea..f767a50 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorMessage.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorMessage.java @@ -3,10 +3,10 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.commons.model; -import javax.validation.constraints.NotBlank; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; +import jakarta.validation.constraints.NotBlank; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; import static org.lfenergy.compas.core.commons.CommonConstants.COMPAS_COMMONS_V1_NS_URI; diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorResponse.java b/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorResponse.java index 7297610..2c2789e 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorResponse.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/model/ErrorResponse.java @@ -3,11 +3,11 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.commons.model; -import javax.validation.Valid; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; +import jakarta.validation.Valid; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlRootElement; import java.util.ArrayList; import java.util.List; diff --git a/commons/src/main/java/org/lfenergy/compas/core/commons/model/package-info.java b/commons/src/main/java/org/lfenergy/compas/core/commons/model/package-info.java index 2ff93ff..630a323 100644 --- a/commons/src/main/java/org/lfenergy/compas/core/commons/model/package-info.java +++ b/commons/src/main/java/org/lfenergy/compas/core/commons/model/package-info.java @@ -4,7 +4,7 @@ @XmlSchema(xmlns = {@XmlNs(prefix = "compas-commons", namespaceURI = COMPAS_COMMONS_V1_NS_URI)}) package org.lfenergy.compas.core.commons.model; -import javax.xml.bind.annotation.XmlNs; -import javax.xml.bind.annotation.XmlSchema; +import jakarta.xml.bind.annotation.XmlNs; +import jakarta.xml.bind.annotation.XmlSchema; import static org.lfenergy.compas.core.commons.CommonConstants.COMPAS_COMMONS_V1_NS_URI; diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/MarshallerWrapperTest.java b/commons/src/test/java/org/lfenergy/compas/core/commons/MarshallerWrapperTest.java index d38fdd8..a320658 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/MarshallerWrapperTest.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/MarshallerWrapperTest.java @@ -8,8 +8,8 @@ import org.lfenergy.compas.core.commons.model.XmlElementAPojo; import org.lfenergy.compas.core.commons.model.XmlElementBPojo; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; import java.util.UUID; import static org.junit.jupiter.api.Assertions.*; diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidatorTest.java b/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidatorTest.java index 2a73a6b..0386d33 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidatorTest.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/FilenameConstraintValidatorTest.java @@ -7,8 +7,8 @@ import org.junit.jupiter.api.Test; import org.lfenergy.compas.core.commons.constraint.FilenameValid; -import javax.validation.Validation; -import javax.validation.Validator; +import jakarta.validation.Validation; +import jakarta.validation.Validator; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidatorTest.java b/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidatorTest.java index 63bcc31..7a9af21 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidatorTest.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/constraint/impl/XmlAnyElementConstraintValidatorTest.java @@ -9,8 +9,8 @@ import org.w3c.dom.Document; import org.w3c.dom.Element; -import javax.validation.Validation; -import javax.validation.Validator; +import jakarta.validation.Validation; +import jakarta.validation.Validator; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import java.util.ArrayList; diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/model/ObjectFactory.java b/commons/src/test/java/org/lfenergy/compas/core/commons/model/ObjectFactory.java index c7f697c..6bc6172 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/model/ObjectFactory.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/model/ObjectFactory.java @@ -3,9 +3,9 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.commons.model; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; @XmlRegistry diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementAPojo.java b/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementAPojo.java index d260acd..5791895 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementAPojo.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementAPojo.java @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.commons.model; -import javax.xml.bind.annotation.*; +import jakarta.xml.bind.annotation.*; @XmlAccessorType(XmlAccessType.FIELD) @XmlRootElement(name = "XmlElementAPojo") diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementBPojo.java b/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementBPojo.java index c1fb9fe..af292c7 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementBPojo.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/model/XmlElementBPojo.java @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.commons.model; -import javax.xml.bind.annotation.*; +import jakarta.xml.bind.annotation.*; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "XmlElementBPojo") diff --git a/commons/src/test/java/org/lfenergy/compas/core/commons/model/package-info.java b/commons/src/test/java/org/lfenergy/compas/core/commons/model/package-info.java index 6919523..4842b1a 100644 --- a/commons/src/test/java/org/lfenergy/compas/core/commons/model/package-info.java +++ b/commons/src/test/java/org/lfenergy/compas/core/commons/model/package-info.java @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -@XmlSchema(namespace = "https://www.lfenergy.org/compas/example", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +@XmlSchema(namespace = "https://www.lfenergy.org/compas/example", elementFormDefault = jakarta.xml.bind.annotation.XmlNsForm.QUALIFIED) package org.lfenergy.compas.core.commons.model; -import javax.xml.bind.annotation.XmlSchema; \ No newline at end of file +import jakarta.xml.bind.annotation.XmlSchema; \ No newline at end of file diff --git a/pom.xml b/pom.xml index a45eafc..276e210 100644 --- a/pom.xml +++ b/pom.xml @@ -19,8 +19,7 @@ SPDX-License-Identifier: Apache-2.0 UTF-8 0.0.4 - 2.16.6.Final - 2.3.8 + 3.0.4.Final 2.20.0 0.9.1 @@ -54,8 +53,8 @@ SPDX-License-Identifier: Apache-2.0 - io.quarkus - quarkus-universe-bom + io.quarkus.platform + quarkus-bom ${quarkus.platform.version} pom import @@ -77,12 +76,6 @@ SPDX-License-Identifier: Apache-2.0 ${compas.scl.xsd.version} - - com.sun.xml.bind - jaxb-impl - ${jaxb.bind.version} - - javax.ws.rs javax.ws.rs-api @@ -119,14 +112,14 @@ SPDX-License-Identifier: Apache-2.0 - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.15.3 + com.helger.maven + jaxb40-maven-plugin + 0.16.1 org.jvnet.jaxb2_commons jaxb2-namespace-prefix - 1.3 + 2.0 diff --git a/rest-commons/pom.xml b/rest-commons/pom.xml index d092a6c..689da47 100644 --- a/rest-commons/pom.xml +++ b/rest-commons/pom.xml @@ -24,8 +24,9 @@ SPDX-License-Identifier: Apache-2.0 - javax.ws.rs - javax.ws.rs-api + jakarta.ws.rs + jakarta.ws.rs-api + 3.1.0 diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java index 4f1fb03..1f23e6d 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java +++ b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java @@ -8,9 +8,9 @@ import org.lfenergy.compas.core.commons.exception.CompasException; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import javax.ws.rs.core.Response; -import javax.ws.rs.ext.ExceptionMapper; -import javax.ws.rs.ext.Provider; +import jakarta.ws.rs.core.Response; +import jakarta.ws.rs.ext.ExceptionMapper; +import jakarta.ws.rs.ext.Provider; @Provider public class CompasExceptionHandler implements ExceptionMapper { diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java index 88e45bf..8c4ebf2 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java +++ b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java @@ -7,10 +7,10 @@ import org.apache.logging.log4j.Logger; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import javax.validation.ConstraintViolationException; -import javax.ws.rs.core.Response; -import javax.ws.rs.ext.ExceptionMapper; -import javax.ws.rs.ext.Provider; +import jakarta.validation.ConstraintViolationException; +import jakarta.ws.rs.core.Response; +import jakarta.ws.rs.ext.ExceptionMapper; +import jakarta.ws.rs.ext.Provider; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.VALIDATION_ERROR; diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java index fdc5ca5..86b939f 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java +++ b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java @@ -7,9 +7,9 @@ import org.apache.logging.log4j.Logger; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import javax.ws.rs.core.Response; -import javax.ws.rs.ext.ExceptionMapper; -import javax.ws.rs.ext.Provider; +import jakarta.ws.rs.core.Response; +import jakarta.ws.rs.ext.ExceptionMapper; +import jakarta.ws.rs.ext.Provider; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.UNKNOWN_EXCEPTION_ERROR; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java b/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java index aec1d9d..8c114d9 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java +++ b/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java @@ -7,7 +7,7 @@ import org.lfenergy.compas.core.commons.exception.CompasException; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; +import static jakarta.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.NO_CLASS_LOADER_ERROR_CODE; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java b/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java index 47cdb0d..34594fe 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java +++ b/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java @@ -9,12 +9,12 @@ import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; -import javax.validation.ConstraintViolation; -import javax.validation.ConstraintViolationException; -import javax.validation.Path; +import jakarta.validation.ConstraintViolation; +import jakarta.validation.ConstraintViolationException; +import jakarta.validation.Path; import java.util.HashSet; -import static javax.ws.rs.core.Response.Status.BAD_REQUEST; +import static jakarta.ws.rs.core.Response.Status.BAD_REQUEST; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.VALIDATION_ERROR; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java b/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java index 1fbb0dd..1eac51a 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java +++ b/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java @@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; +import static jakarta.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.UNKNOWN_EXCEPTION_ERROR; diff --git a/scl-extension/pom.xml b/scl-extension/pom.xml index 340445b..62edbab 100644 --- a/scl-extension/pom.xml +++ b/scl-extension/pom.xml @@ -53,9 +53,8 @@ SPDX-License-Identifier: Apache-2.0 - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.15.3 + com.helger.maven + jaxb40-maven-plugin xjc diff --git a/scl-extension/src/main/bindings/scl-extensions.xjb b/scl-extension/src/main/bindings/scl-extensions.xjb index 374006f..318abc7 100644 --- a/scl-extension/src/main/bindings/scl-extensions.xjb +++ b/scl-extension/src/main/bindings/scl-extensions.xjb @@ -5,8 +5,8 @@ SPDX-FileCopyrightText: 2021 Alliander N.V. SPDX-License-Identifier: Apache-2.0 --> + xmlns:jxb="https://jakarta.ee/xml/ns/jaxb" + version="3.0"> diff --git a/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManager.java b/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManager.java index 667c168..00963fa 100644 --- a/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManager.java +++ b/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManager.java @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.scl.extensions.commons; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import javax.xml.namespace.QName; import java.util.List; import java.util.Optional; diff --git a/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/model/SclFileType.java b/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/model/SclFileType.java index 99300e9..f1115f7 100644 --- a/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/model/SclFileType.java +++ b/scl-extension/src/main/java/org/lfenergy/compas/scl/extensions/model/SclFileType.java @@ -3,8 +3,8 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.scl.extensions.model; -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlEnum; +import jakarta.xml.bind.annotation.XmlType; import static org.lfenergy.compas.scl.extensions.commons.CompasExtensionsConstants.COMPAS_EXTENSION_NS_URI; diff --git a/scl-extension/src/test/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManagerTest.java b/scl-extension/src/test/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManagerTest.java index fe5cc27..67ed37d 100644 --- a/scl-extension/src/test/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManagerTest.java +++ b/scl-extension/src/test/java/org/lfenergy/compas/scl/extensions/commons/AbstractCompasExtensionsManagerTest.java @@ -5,7 +5,7 @@ import org.junit.jupiter.api.Test; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import javax.xml.namespace.QName; import java.util.ArrayList; import java.util.List; diff --git a/scl2003/pom.xml b/scl2003/pom.xml index dc79416..8f22bd7 100644 --- a/scl2003/pom.xml +++ b/scl2003/pom.xml @@ -40,9 +40,10 @@ SPDX-License-Identifier: Apache-2.0 jakarta.xml.bind-api - com.sun.xml.bind - jaxb-impl + org.glassfish.jaxb + jaxb-runtime provided + 4.0.2 @@ -94,8 +95,8 @@ SPDX-License-Identifier: Apache-2.0 - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + com.helger.maven + jaxb40-maven-plugin org.lfenergy.compas.scl2003.model ${project.build.directory}/xsd/SCL2003 diff --git a/scl2003/src/main/bindings/scl2003.xjb b/scl2003/src/main/bindings/scl2003.xjb index 11e9b78..5e7c75b 100644 --- a/scl2003/src/main/bindings/scl2003.xjb +++ b/scl2003/src/main/bindings/scl2003.xjb @@ -4,8 +4,8 @@ SPDX-FileCopyrightText: 2021 Alliander N.V. SPDX-License-Identifier: Apache-2.0 --> - diff --git a/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/CompasExtensionsManager.java b/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/CompasExtensionsManager.java index ef8826f..6a7802d 100644 --- a/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/CompasExtensionsManager.java +++ b/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/CompasExtensionsManager.java @@ -10,7 +10,7 @@ import org.lfenergy.compas.scl2003.model.SCL; import org.lfenergy.compas.scl2003.model.TPrivate; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import java.util.Optional; import static org.lfenergy.compas.scl.extensions.commons.CompasExtensionsConstants.COMPAS_SCL_EXTENSION_TYPE; diff --git a/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/Scl2003MarshallerWrapper.java b/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/Scl2003MarshallerWrapper.java index bbf4fa8..ec2e8e3 100644 --- a/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/Scl2003MarshallerWrapper.java +++ b/scl2003/src/main/java/org/lfenergy/compas/scl2003/commons/Scl2003MarshallerWrapper.java @@ -6,8 +6,8 @@ import org.lfenergy.compas.core.commons.MarshallerWrapper; import org.lfenergy.compas.scl2003.model.SCL; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; public class Scl2003MarshallerWrapper extends MarshallerWrapper { public Scl2003MarshallerWrapper(Unmarshaller jaxbUnmarshaller, Marshaller jaxbMarshaller) { diff --git a/scl2007b/pom.xml b/scl2007b/pom.xml index 99fb07b..ade3e00 100644 --- a/scl2007b/pom.xml +++ b/scl2007b/pom.xml @@ -40,9 +40,10 @@ SPDX-License-Identifier: Apache-2.0 jakarta.xml.bind-api - com.sun.xml.bind - jaxb-impl + org.glassfish.jaxb + jaxb-runtime provided + 4.0.2 @@ -94,8 +95,8 @@ SPDX-License-Identifier: Apache-2.0 - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + com.helger.maven + jaxb40-maven-plugin org.lfenergy.compas.scl2007b.model ${project.build.directory}/xsd/SCL2007B diff --git a/scl2007b/src/main/bindings/scl2007b.xjb b/scl2007b/src/main/bindings/scl2007b.xjb index 1c75f69..20116ed 100644 --- a/scl2007b/src/main/bindings/scl2007b.xjb +++ b/scl2007b/src/main/bindings/scl2007b.xjb @@ -4,8 +4,8 @@ SPDX-FileCopyrightText: 2021 Alliander N.V. SPDX-License-Identifier: Apache-2.0 --> - diff --git a/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/CompasExtensionsManager.java b/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/CompasExtensionsManager.java index e4b48a2..857e271 100644 --- a/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/CompasExtensionsManager.java +++ b/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/CompasExtensionsManager.java @@ -10,7 +10,7 @@ import org.lfenergy.compas.scl2007b.model.SCL; import org.lfenergy.compas.scl2007b.model.TPrivate; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import java.util.Optional; import static org.lfenergy.compas.scl.extensions.commons.CompasExtensionsConstants.COMPAS_SCL_EXTENSION_TYPE; diff --git a/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/Scl2007bMarshallerWrapper.java b/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/Scl2007bMarshallerWrapper.java index a63ec3f..d7fbe3c 100644 --- a/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/Scl2007bMarshallerWrapper.java +++ b/scl2007b/src/main/java/org/lfenergy/compas/scl2007b/commons/Scl2007bMarshallerWrapper.java @@ -6,8 +6,8 @@ import org.lfenergy.compas.core.commons.MarshallerWrapper; import org.lfenergy.compas.scl2007b.model.SCL; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; public class Scl2007bMarshallerWrapper extends MarshallerWrapper { public Scl2007bMarshallerWrapper(Unmarshaller jaxbUnmarshaller, Marshaller jaxbMarshaller) { diff --git a/scl2007b4/pom.xml b/scl2007b4/pom.xml index b706542..cd697d6 100644 --- a/scl2007b4/pom.xml +++ b/scl2007b4/pom.xml @@ -40,9 +40,10 @@ SPDX-License-Identifier: Apache-2.0 jakarta.xml.bind-api - com.sun.xml.bind - jaxb-impl + org.glassfish.jaxb + jaxb-runtime provided + 4.0.2 @@ -94,8 +95,8 @@ SPDX-License-Identifier: Apache-2.0 - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + com.helger.maven + jaxb40-maven-plugin org.lfenergy.compas.scl2007b4.model ${project.build.directory}/xsd/SCL2007B4 diff --git a/scl2007b4/src/main/bindings/scl2007b4.xjb b/scl2007b4/src/main/bindings/scl2007b4.xjb index 2134bd9..cfff23b 100644 --- a/scl2007b4/src/main/bindings/scl2007b4.xjb +++ b/scl2007b4/src/main/bindings/scl2007b4.xjb @@ -4,8 +4,8 @@ SPDX-FileCopyrightText: 2021 Alliander N.V. SPDX-License-Identifier: Apache-2.0 --> - diff --git a/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/CompasExtensionsManager.java b/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/CompasExtensionsManager.java index e54da46..dd12725 100644 --- a/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/CompasExtensionsManager.java +++ b/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/CompasExtensionsManager.java @@ -10,7 +10,7 @@ import org.lfenergy.compas.scl2007b4.model.SCL; import org.lfenergy.compas.scl2007b4.model.TPrivate; -import javax.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBElement; import java.util.Optional; import static org.lfenergy.compas.scl.extensions.commons.CompasExtensionsConstants.COMPAS_SCL_EXTENSION_TYPE; diff --git a/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/Scl2007b4MarshallerWrapper.java b/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/Scl2007b4MarshallerWrapper.java index c078d2f..32ac10f 100644 --- a/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/Scl2007b4MarshallerWrapper.java +++ b/scl2007b4/src/main/java/org/lfenergy/compas/scl2007b4/commons/Scl2007b4MarshallerWrapper.java @@ -6,8 +6,8 @@ import org.lfenergy.compas.core.commons.MarshallerWrapper; import org.lfenergy.compas.scl2007b4.model.SCL; -import javax.xml.bind.Marshaller; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.Marshaller; +import jakarta.xml.bind.Unmarshaller; public class Scl2007b4MarshallerWrapper extends MarshallerWrapper { public Scl2007b4MarshallerWrapper(Unmarshaller jaxbUnmarshaller, Marshaller jaxbMarshaller) { diff --git a/websocket-commons/pom.xml b/websocket-commons/pom.xml index be47d14..02b93ee 100644 --- a/websocket-commons/pom.xml +++ b/websocket-commons/pom.xml @@ -24,8 +24,8 @@ SPDX-License-Identifier: Apache-2.0 - jakarta.websocket - jakarta.websocket-api + io.quarkus + quarkus-websockets @@ -39,9 +39,10 @@ SPDX-License-Identifier: Apache-2.0 - com.sun.xml.bind - jaxb-impl + org.glassfish.jaxb + jaxb-runtime provided + 4.0.2 diff --git a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractDecoder.java b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractDecoder.java index b485a62..f3c4cf7 100644 --- a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractDecoder.java +++ b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractDecoder.java @@ -3,8 +3,8 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.websocket; -import javax.websocket.Decoder; -import javax.websocket.EndpointConfig; +import jakarta.websocket.Decoder; +import jakarta.websocket.EndpointConfig; /** * Simple abstract class to save some boilerplate code with common implementations. diff --git a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractEncoder.java b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractEncoder.java index 6b633ae..c084137 100644 --- a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractEncoder.java +++ b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/AbstractEncoder.java @@ -3,8 +3,8 @@ // SPDX-License-Identifier: Apache-2.0 package org.lfenergy.compas.core.websocket; -import javax.websocket.Encoder; -import javax.websocket.EndpointConfig; +import jakarta.websocket.Encoder; +import jakarta.websocket.EndpointConfig; /** * Simple abstract class to save some boilerplate code with common implementations. diff --git a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketHandler.java b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketHandler.java index fdbcb0b..3099475 100644 --- a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketHandler.java +++ b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketHandler.java @@ -7,7 +7,7 @@ import org.apache.logging.log4j.Logger; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import javax.websocket.Session; +import jakarta.websocket.Session; import static org.lfenergy.compas.core.websocket.WebsocketSupport.handleException; diff --git a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketSupport.java b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketSupport.java index fc29229..e6ab83a 100644 --- a/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketSupport.java +++ b/websocket-commons/src/main/java/org/lfenergy/compas/core/websocket/WebsocketSupport.java @@ -6,9 +6,9 @@ import org.lfenergy.compas.core.commons.exception.CompasException; import org.lfenergy.compas.core.commons.model.ErrorResponse; -import javax.validation.ConstraintViolationException; -import javax.websocket.Session; -import javax.xml.bind.JAXBContext; +import jakarta.validation.ConstraintViolationException; +import jakarta.websocket.Session; +import jakarta.xml.bind.JAXBContext; import java.io.StringReader; import java.io.StringWriter; diff --git a/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/ErrorResponseDecoderTest.java b/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/ErrorResponseDecoderTest.java index 8b1d387..189439f 100644 --- a/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/ErrorResponseDecoderTest.java +++ b/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/ErrorResponseDecoderTest.java @@ -8,7 +8,7 @@ import org.junit.jupiter.api.Test; import org.lfenergy.compas.core.commons.exception.CompasException; -import javax.xml.bind.UnmarshalException; +import jakarta.xml.bind.UnmarshalException; import static org.junit.jupiter.api.Assertions.*; import static org.lfenergy.compas.core.commons.CommonConstants.COMPAS_COMMONS_V1_NS_URI; diff --git a/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketHandlerTest.java b/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketHandlerTest.java index 986dbed..500024b 100644 --- a/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketHandlerTest.java +++ b/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketHandlerTest.java @@ -11,8 +11,8 @@ import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; -import javax.websocket.RemoteEndpoint; -import javax.websocket.Session; +import jakarta.websocket.RemoteEndpoint; +import jakarta.websocket.Session; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.WEBSOCKET_GENERAL_ERROR_CODE; diff --git a/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketSupportTest.java b/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketSupportTest.java index d40c969..c5713f1 100644 --- a/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketSupportTest.java +++ b/websocket-commons/src/test/java/org/lfenergy/compas/core/websocket/WebsocketSupportTest.java @@ -11,11 +11,11 @@ import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; -import javax.validation.ConstraintViolation; -import javax.validation.ConstraintViolationException; -import javax.validation.Path; -import javax.websocket.RemoteEndpoint; -import javax.websocket.Session; +import jakarta.validation.ConstraintViolation; +import jakarta.validation.ConstraintViolationException; +import jakarta.validation.Path; +import jakarta.websocket.RemoteEndpoint; +import jakarta.websocket.Session; import java.util.Set; import static org.junit.jupiter.api.Assertions.*; From ad2f03965d144b037eb4dbf496002da13bedd967 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jul 2023 15:51:46 +0000 Subject: [PATCH 05/10] Bump fsfe/reuse-action from 1 to 2 Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 1 to 2. - [Release notes](https://github.com/fsfe/reuse-action/releases) - [Commits](https://github.com/fsfe/reuse-action/compare/v1...v2) --- updated-dependencies: - dependency-name: fsfe/reuse-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/reuse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index 9ebd56d..aff5848 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -13,4 +13,4 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: REUSE Compliance Check - uses: fsfe/reuse-action@v1 + uses: fsfe/reuse-action@v2 From 928e4ee24fa42859bfab44dc4eb24ec81f924e75 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 07:15:54 +0000 Subject: [PATCH 06/10] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.0 to 3.1.2 Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.1.0 to 3.1.2. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.0...surefire-3.1.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5bd3e58..ae6871e 100644 --- a/pom.xml +++ b/pom.xml @@ -154,7 +154,7 @@ SPDX-License-Identifier: Apache-2.0 org.apache.maven.plugins maven-surefire-plugin - 3.1.0 + 3.1.2 From de8cc9a099ee1bf17bf77d388cde0f1d6228d667 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 08:05:27 +0000 Subject: [PATCH 07/10] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.5.0...maven-javadoc-plugin-3.6.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ae6871e..67c4523 100644 --- a/pom.xml +++ b/pom.xml @@ -180,7 +180,7 @@ SPDX-License-Identifier: Apache-2.0 org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.6.0 attach-javadocs From 89d11d0939b3e5e4424b1050b726769aade0eae6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 10:19:44 +0000 Subject: [PATCH 08/10] Bump org.glassfish.jaxb:jaxb-runtime from 4.0.2 to 4.0.3 Bumps org.glassfish.jaxb:jaxb-runtime from 4.0.2 to 4.0.3. --- updated-dependencies: - dependency-name: org.glassfish.jaxb:jaxb-runtime dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- commons/pom.xml | 2 +- scl2003/pom.xml | 2 +- scl2007b/pom.xml | 2 +- scl2007b4/pom.xml | 2 +- websocket-commons/pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commons/pom.xml b/commons/pom.xml index 23aab83..1c7e5cb 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -51,7 +51,7 @@ SPDX-License-Identifier: Apache-2.0 org.glassfish.jaxb jaxb-runtime provided - 4.0.2 + 4.0.3 diff --git a/scl2003/pom.xml b/scl2003/pom.xml index 8f22bd7..c443f8c 100644 --- a/scl2003/pom.xml +++ b/scl2003/pom.xml @@ -43,7 +43,7 @@ SPDX-License-Identifier: Apache-2.0 org.glassfish.jaxb jaxb-runtime provided - 4.0.2 + 4.0.3 diff --git a/scl2007b/pom.xml b/scl2007b/pom.xml index ade3e00..29141da 100644 --- a/scl2007b/pom.xml +++ b/scl2007b/pom.xml @@ -43,7 +43,7 @@ SPDX-License-Identifier: Apache-2.0 org.glassfish.jaxb jaxb-runtime provided - 4.0.2 + 4.0.3 diff --git a/scl2007b4/pom.xml b/scl2007b4/pom.xml index cd697d6..c16b864 100644 --- a/scl2007b4/pom.xml +++ b/scl2007b4/pom.xml @@ -43,7 +43,7 @@ SPDX-License-Identifier: Apache-2.0 org.glassfish.jaxb jaxb-runtime provided - 4.0.2 + 4.0.3 diff --git a/websocket-commons/pom.xml b/websocket-commons/pom.xml index 02b93ee..9e634a6 100644 --- a/websocket-commons/pom.xml +++ b/websocket-commons/pom.xml @@ -42,7 +42,7 @@ SPDX-License-Identifier: Apache-2.0 org.glassfish.jaxb jaxb-runtime provided - 4.0.2 + 4.0.3 From 7f9d397f27e9e112ea3813ebf4274676c3bf7954 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:08:16 +0000 Subject: [PATCH 09/10] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-project.yml | 2 +- .github/workflows/release-project.yml | 2 +- .github/workflows/reuse.yml | 2 +- .github/workflows/sonarcloud-analysis.yml | 2 +- .github/workflows/sonarcloud-build.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-project.yml b/.github/workflows/build-project.yml index 0923d2a..1192093 100644 --- a/.github/workflows/build-project.yml +++ b/.github/workflows/build-project.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 17 uses: actions/setup-java@v3 diff --git a/.github/workflows/release-project.yml b/.github/workflows/release-project.yml index 1daef8d..5bb3ae0 100644 --- a/.github/workflows/release-project.yml +++ b/.github/workflows/release-project.yml @@ -16,7 +16,7 @@ jobs: packages: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Extract tag name id: extract_tagname diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index aff5848..b89fda9 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -11,6 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: REUSE Compliance Check uses: fsfe/reuse-action@v2 diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.yml index 41f6183..c41a8a4 100644 --- a/.github/workflows/sonarcloud-analysis.yml +++ b/.github/workflows/sonarcloud-analysis.yml @@ -40,7 +40,7 @@ jobs: full_name: ${{ github.event.repository.full_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.workflow_run.head_repository.full_name }} ref: ${{ github.event.workflow_run.head_branch }} diff --git a/.github/workflows/sonarcloud-build.yml b/.github/workflows/sonarcloud-build.yml index 58e78fc..7228a74 100644 --- a/.github/workflows/sonarcloud-build.yml +++ b/.github/workflows/sonarcloud-build.yml @@ -26,7 +26,7 @@ jobs: if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 From 9137b67f838e65ad679cdc94a3d658d3055d96b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 07:45:43 +0000 Subject: [PATCH 10/10] Bump io.quarkus.platform:quarkus-bom from 3.0.4.Final to 3.4.1 Bumps [io.quarkus.platform:quarkus-bom](https://github.com/quarkusio/quarkus-platform) from 3.0.4.Final to 3.4.1. - [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.0.4.Final...3.4.1) --- updated-dependencies: - dependency-name: io.quarkus.platform:quarkus-bom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a7acc1f..13e8c9a 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ SPDX-License-Identifier: Apache-2.0 UTF-8 0.0.4 - 3.0.4.Final + 3.4.1 2.20.0 0.9.1