From 4d3cff56c2a93501ee7cb009b5d34649b7208faf Mon Sep 17 00:00:00 2001 From: rnschk <5700718+rnschk@users.noreply.github.com> Date: Fri, 13 Oct 2023 10:14:41 +0200 Subject: [PATCH] fix maven build --- .github/workflows/maven-snapshot.yml | 2 +- pom.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index b567413..48015b9 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -27,7 +27,7 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: Publish package - run: mvn clean package source:jar javadoc:jar deploy --batch-mode + run: mvn clean source:jar javadoc:jar deploy --batch-mode env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} diff --git a/pom.xml b/pom.xml index d87399c..a114909 100644 --- a/pom.xml +++ b/pom.xml @@ -177,6 +177,7 @@ attach-sources + package jar-no-fork