From 75c6ab1ab3680e7385376f3cba7c0c3fa8a05afa Mon Sep 17 00:00:00 2001 From: Holger Veltrup Date: Fri, 12 Apr 2024 16:00:18 +0200 Subject: [PATCH] ci: use workflow release --- ...se-draft.yml => create-github-release.yml} | 4 +- .github/workflows/publish-release.yml | 10 -- pom.xml | 152 +++++++++--------- 3 files changed, 79 insertions(+), 87 deletions(-) rename .github/workflows/{create-github-release-draft.yml => create-github-release.yml} (67%) delete mode 100644 .github/workflows/publish-release.yml diff --git a/.github/workflows/create-github-release-draft.yml b/.github/workflows/create-github-release.yml similarity index 67% rename from .github/workflows/create-github-release-draft.yml rename to .github/workflows/create-github-release.yml index 886daf2..5bfc215 100644 --- a/.github/workflows/create-github-release-draft.yml +++ b/.github/workflows/create-github-release.yml @@ -1,4 +1,4 @@ -name: (📡) Create GitHub Release Draft +name: (📡) Create GitHub Release on: push: @@ -8,4 +8,4 @@ on: jobs: create-github-release: - uses: sitepark/github-project-workflow/.github/workflows/create-github-release-draft.yml@release/1.x + uses: sitepark/github-project-workflow/.github/workflows/create-github-release.yml@release/1.x diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml deleted file mode 100644 index 5a9af19..0000000 --- a/.github/workflows/publish-release.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: (📡) Publish Release - -on: - release: - types: [published] - -jobs: - publish-release: - uses: sitepark/github-project-workflow/.github/workflows/maven-publish-release.yml@release/1.x - diff --git a/pom.xml b/pom.xml index 28a6376..9036075 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,6 @@ UTF-8 21 true - true @@ -120,31 +119,7 @@ - - - src/test/resources - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.5.0 - - - add-integration-test-sources - - add-test-source - - generate-test-sources - - - src/integration-test/java - - - - - maven-compiler-plugin 3.13.0 @@ -153,62 +128,23 @@ maven-jar-plugin 3.3.0 - - org.apache.maven.plugins - maven-assembly-plugin - 3.7.1 - - - - com.sitepark.translate.cli.Main - - - - jar-with-dependencies - - - - - assemble-all - - single - - package - - - org.apache.maven.plugins maven-surefire-plugin 3.2.5 - - - default-test - - IntegrationTest - - - - integration-test - - test - - integration-test - - IntegrationTest - - - org.apache.maven.plugins maven-source-plugin - 3.3.1 + 3.3.0 + + all,-missing + attach-sources - jar-no-fork + jar @@ -229,7 +165,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.2 + 3.2.1 sign-artifacts @@ -248,10 +184,58 @@ @{project.version} + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + io.github.thefolle + glowing-waffle + 1.2.0 + + + + + enforce-maven + + enforce + + + + + + 3.8 + + + 21 + + + + + + verify-release + + enforce + + none + + + + false + No Snapshots Allowed! + + + + true + + + + org.jacoco jacoco-maven-plugin - 0.8.12 + 0.8.11 @@ -305,7 +289,7 @@ true false - + @@ -339,14 +323,13 @@ 20 spotbug-exclude-filter.xml - com.github.spotbugs spotbugs - ${spotbugs.version} + 4.8.3 @@ -371,7 +354,6 @@ 5 true false - @@ -385,4 +367,24 @@ + + + nexus-staging-release + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://s01.oss.sonatype.org/ + true + + + + + +