Skip to content

Commit

Permalink
fix(workflow):[-] Try to provide loopback mode via pom
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jkreutzfeld committed Jul 13, 2023
1 parent ffb5366 commit 0b3308e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/gpghelper.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/maven-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ jobs:
run: |-
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout -pl irs-registry-client)
echo "Publishing Version $VERSION to Sonatype"
mvn gpg:sign-and-deploy-file -Dgpg.executable="./gpghelper.sh" -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -Dfile=irs-registry-client/target/irs-registry-client-$VERSION-jar-with-dependencies.jar -DgroupId=org.eclipse.tractusx.irs -DartifactId=irs-registry-client -Dversion=$VERSION -Dpackaging=jar
mvn gpg:sign-and-deploy-file -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -Dfile=irs-registry-client/target/irs-registry-client-$VERSION-jar-with-dependencies.jar -DgroupId=org.eclipse.tractusx.irs -DartifactId=irs-registry-client -Dversion=$VERSION -Dpackaging=jar
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,17 @@
<artifactId>dependency-check-maven</artifactId>
<version>${owasp-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<gpgArguments>
<argument>--pinentry-mode</argument>
<argument>loopback</argument>
</gpgArguments>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Expand Down

0 comments on commit 0b3308e

Please sign in to comment.