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