diff --git a/.github/workflows/publish-project.yml b/.github/workflows/publish-project.yml index 6c60f3f..ac42b23 100644 --- a/.github/workflows/publish-project.yml +++ b/.github/workflows/publish-project.yml @@ -30,6 +30,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy with Maven to GitHub Packages - run: mvn -B clean deploy + run: mvn -B -Prelease clean deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 3c6be32..78782ab 100644 --- a/pom.xml +++ b/pom.xml @@ -24,48 +24,8 @@ SPDX-License-Identifier: Apache-2.0 - - - org.apache.maven.plugins - maven-source-plugin - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - - - org.apache.maven.plugins - maven-source-plugin - 3.2.0 - - - attach-sources - - jar - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.3.0 - - - attach-javadocs - - jar - - - - - org.apache.maven.plugins maven-jar-plugin @@ -74,4 +34,56 @@ SPDX-License-Identifier: Apache-2.0 + + + + release + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.0 + + + attach-sources + + jar + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.3.0 + + + attach-javadocs + + jar + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + +