Ossrh profile should be explicitly enabled
Fixes GPG issue building #31 Signed-off-by: Cédric Couralet <cedric.couralet@insee.fr>
This commit is contained in:
parent
02f043d077
commit
de5a741be1
1
.github/workflows/deploy-maven.yml
vendored
1
.github/workflows/deploy-maven.yml
vendored
@ -30,6 +30,7 @@ jobs:
|
||||
--no-transfer-progress \
|
||||
--batch-mode \
|
||||
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
|
||||
-P ossrh \
|
||||
clean deploy
|
||||
- id: push-new-version
|
||||
name: push new version
|
||||
|
4
pom.xml
4
pom.xml
@ -105,11 +105,11 @@
|
||||
<profile>
|
||||
<id>ossrh</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<gpg.executable>gpg</gpg.executable>
|
||||
<!-- <gpg.passphrase>${env.GPG_PASSWORD}</gpg.passphrase> -->
|
||||
<!-- <gpg.passphrase>${env.GPG_PASSWORD}</gpg.passphrase> -->
|
||||
</properties>
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
|
Loading…
Reference in New Issue
Block a user