From 7e43f9903f6230aeb729d756f3882a784d353558 Mon Sep 17 00:00:00 2001 From: Andres Becerra Date: Tue, 2 Jan 2024 11:07:01 +0000 Subject: [PATCH 1/3] reorder pom plugins --- pom.xml | 155 +++++++++++++++++++++++++++----------------------------- 1 file changed, 75 insertions(+), 80 deletions(-) diff --git a/pom.xml b/pom.xml index b0932f0..43df782 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ UTF-8 quarkus-bom io.quarkus.platform - 3.6.3 + 3.6.5 3.1.2 @@ -122,7 +122,7 @@ org.projectlombok lombok - 1.18.26 + 1.18.30 compile @@ -148,6 +148,59 @@ + + ${quarkus.platform.group-id} + quarkus-maven-plugin + ${quarkus.platform.version} + true + + + + build + generate-code + generate-code-tests + + + + + + maven-compiler-plugin + ${compiler-plugin.version} + + + -parameters + + + + + maven-surefire-plugin + ${surefire-plugin.version} + + + org.jboss.logmanager.LogManager + ${maven.home} + + + + + maven-failsafe-plugin + ${surefire-plugin.version} + + + + integration-test + verify + + + + + + ${project.build.directory}/${project.build.finalName}-runner + org.jboss.logmanager.LogManager + ${maven.home} + + + org.apache.maven.plugins maven-source-plugin @@ -177,70 +230,34 @@ - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - ossrh - https://s01.oss.sonatype.org/ - true - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - sign-artifacts - verify - - sign - - - AGR Admin - - - - - - ${quarkus.platform.group-id} - quarkus-maven-plugin - ${quarkus.platform.version} + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 true + + ossrh + https://s01.oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + sign-artifacts + verify - build - generate-code - generate-code-tests + sign + + AGR Admin + - - maven-compiler-plugin - ${compiler-plugin.version} - - - -parameters - - - - - maven-surefire-plugin - ${surefire-plugin.version} - - - org.jboss.logmanager.LogManager - ${maven.home} - - - @@ -251,30 +268,8 @@ native - - - - maven-failsafe-plugin - ${surefire-plugin.version} - - - ${project.build.directory}/${project.build.finalName}-runner - org.jboss.logmanager.LogManager - ${maven.home} - - - - - - integration-test - verify - - - - - - + false native From 311c3775e090d3aafec6b071290c99957ec391fc Mon Sep 17 00:00:00 2001 From: Andres Becerra Date: Mon, 15 Jan 2024 15:21:01 +0000 Subject: [PATCH 2/3] move verify action --- .github/workflows/github-actions-PR-validation.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions-PR-validation.yml b/.github/workflows/github-actions-PR-validation.yml index 799cb8a..eeb7790 100644 --- a/.github/workflows/github-actions-PR-validation.yml +++ b/.github/workflows/github-actions-PR-validation.yml @@ -38,9 +38,6 @@ jobs: - name: Run Maven test run: | mvn --no-transfer-progress test - - name: Run Maven verify - run: | - mvn --no-transfer-progress --batch-mode --update-snapshots verify - name: Package API run: | mvn clean package -Dquarkus-profile=test -ntp @@ -52,6 +49,10 @@ jobs: OKTA_URL: ${{ secrets.OKTA_URL }} run: | make integration-test + - name: Run Maven verify + run: | + mvn --no-transfer-progress --batch-mode --update-snapshots verify + test-build-docker-image: if: github.event.action != 'edited' || github.event.changes.base From 510e36d8a0a5e3939e3288e17eeef2e9b9fdd20d Mon Sep 17 00:00:00 2001 From: Andres Becerra Date: Mon, 15 Jan 2024 15:25:56 +0000 Subject: [PATCH 3/3] remove verify action --- .github/workflows/github-actions-PR-validation.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/github-actions-PR-validation.yml b/.github/workflows/github-actions-PR-validation.yml index eeb7790..6590bf1 100644 --- a/.github/workflows/github-actions-PR-validation.yml +++ b/.github/workflows/github-actions-PR-validation.yml @@ -49,9 +49,6 @@ jobs: OKTA_URL: ${{ secrets.OKTA_URL }} run: | make integration-test - - name: Run Maven verify - run: | - mvn --no-transfer-progress --batch-mode --update-snapshots verify test-build-docker-image: