Closed laurentleseigneur closed 3 years ago
In theory I tackled already that using https://github.com/qcastel/docker-maven-release/blob/master/settings.xml#L28
Not sure why maven is still trying to enable GPG.
Trying -Dgpg.skip is not a bad idea though, just as a way to troubleshoot. Can you try setting up that value using one of those two otions: https://github.com/qcastel/github-actions-maven-release#maven-options ?
I just tried: https://github.com/qcastel/github-actions-maven-release-sample/commit/f249502cd08bce61eb9b1ad986702bf3b678f1fc
and it looks to work on this repo: https://github.com/qcastel/github-actions-maven-release-sample/commits/master
Noticed you are using maven plugin 2.4.1, maybe try to upgrade to 2.5.3 at the occasion
btw @laurentleseigneur I did publish https://quentincastel86.medium.com/release-your-maven-project-using-github-actions-51beba1e4834 recently, maybe interest you
thanks for your quick response @qcastel and your nice article!
finally, i chose to add explicit skip in pom.xml for this project in order to keep the same behaviour in my IDE. this now works as expected
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
I can do a PR in your doc to explain this
Yes, that would be awesome! Probably in the section where it explains how to setup the GPG key etc
added this in #34
perfect, merged!
Thanks for your contribution @laurentleseigneur !
hi,
I'm using v1.12.15 with this config:
and log confirms my config :
but my build fails with this message, so I understand the release:prepare fails event if GPG sign is disabled
while reading https://github.com/qcastel/docker-maven-release/blob/master/release.sh, is a maven arg missing
-Dgpg.skip
when calling realease:prepare ?