From b9719feb0fb00445bde258fa4da0b6b1361ff976 Mon Sep 17 00:00:00 2001 From: Bas Huisman Date: Mon, 13 Jan 2025 13:29:28 +0100 Subject: [PATCH] explicit static testing --- .github/workflows/maven-publish.yml | 4 ++-- pom.xml | 19 ------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 3888d6d..ead77c9 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -24,7 +24,7 @@ jobs: cache: maven - name: Test with Maven - run: mvn --no-transfer-progress -B verify + run: mvn --no-transfer-progress -B clean verify org.apache.maven.plugins:maven-checkstyle-plugin:check com.github.spotbugs:spotbugs-maven-plugin:check build: if: github.event_name != 'pull_request' @@ -82,7 +82,7 @@ jobs: - name: Buid and publish image via spring build-image run: | - mvn -Pnative --no-transfer-progress -B -DskipTests spring-boot:build-image -Dspring-boot.build-image.imagePlatform=linux/${{ matrix.platform }} -Dspring-boot.build-image.imageName=ghcr.io/bhuism/pseudoniemenservice:latest-${{ matrix.platform }} + mvn -Pnative --no-transfer-progress -B -DskipTests clean spring-boot:build-image -Dspring-boot.build-image.imagePlatform=linux/${{ matrix.platform }} -Dspring-boot.build-image.imageName=ghcr.io/bhuism/pseudoniemenservice:latest-${{ matrix.platform }} - name: Push run: | diff --git a/pom.xml b/pom.xml index 538ed67..b984f5b 100644 --- a/pom.xml +++ b/pom.xml @@ -134,15 +134,6 @@ spotbugs-exclude.xml - - - check - verify - - check - - - org.apache.maven.plugins @@ -155,17 +146,7 @@ true false - - - validate - verify - - check - - - - org.springframework.boot spring-boot-maven-plugin