From e307039d8d69ceb404948289cb3a931511864af5 Mon Sep 17 00:00:00 2001 From: BrenoEpic Date: Wed, 31 Jan 2024 00:32:35 -0300 Subject: [PATCH] Fix profiles --- .github/workflows/maven-publish.yml | 2 +- .github/workflows/sonarcloud.yml | 2 +- pom.xml | 28 +++++++++++++++++----------- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 4d677767..6fa9108d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -26,7 +26,7 @@ jobs: - name: Release With Maven run: | - mvn -s settings.xml -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} --batch-mode deploy + mvn -s settings.xml -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} --batch-mode deploy -P publish env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index f11726c8..b88390bb 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -39,4 +39,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B clean package org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=brenoepics_at4j -P coverage + run: mvn -B clean package org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=brenoepics_at4j jacoco:report -P coverage diff --git a/pom.xml b/pom.xml index b4dbe263..e9da0ce2 100644 --- a/pom.xml +++ b/pom.xml @@ -70,17 +70,29 @@ report - - - XML - - + + publish + + + + org.apache.maven.plugins + maven-gpg-plugin + + + --pinentry-mode + loopback + + + + + + @@ -187,12 +199,6 @@ - - - --pinentry-mode - loopback - - org.sonatype.central