From 3c9dc7514bb271285edfba51a3c70e32d452a6c6 Mon Sep 17 00:00:00 2001 From: Fabian Brandes <15704574+fbrandes@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:02:05 +0200 Subject: [PATCH 1/3] Update build.yaml --- .github/workflows/build.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 519d8c6..9450762 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,14 +43,14 @@ jobs: run: mvn -B -f parent/ -Pjacoco install env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - name: Sonar - run: mvn -B -Psonar sonar:sonar -DskipTests - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + #SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + #- name: Sonar + # run: mvn -B -Psonar sonar:sonar -DskipTests + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - name: Deploy run: mvn -B clean deploy -Prelease -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} -s .ci/settings.xml -DskipTests -DskipITs env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} \ No newline at end of file + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} From 902b2da0f75dc45517b0b6d5543531cb57bfc013 Mon Sep 17 00:00:00 2001 From: Fabian Brandes <15704574+fbrandes@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:17:24 +0200 Subject: [PATCH 2/3] Update build.yaml --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9450762..4c5e424 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,6 +22,8 @@ jobs: distribution: 'temurin' cache: maven server-id: ossrh + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD - name: Import GPG Key uses: crazy-max/ghaction-import-gpg@v5.0.0 with: From 48b53247d4843c17996abcadc3a3bc7a2309c74f Mon Sep 17 00:00:00 2001 From: Fabian Brandes <15704574+fbrandes@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:19:37 +0200 Subject: [PATCH 3/3] Update pom.xml --- parent/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 52e4afe..5c23373 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -131,7 +131,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.7.0 + 1.6.13 org.apache.maven.plugins @@ -212,4 +212,4 @@ - \ No newline at end of file +