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 \
|
--no-transfer-progress \
|
||||||
--batch-mode \
|
--batch-mode \
|
||||||
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
|
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
|
||||||
|
-P ossrh \
|
||||||
clean deploy
|
clean deploy
|
||||||
- id: push-new-version
|
- id: push-new-version
|
||||||
name: push new version
|
name: push new version
|
||||||
|
4
pom.xml
4
pom.xml
@ -105,11 +105,11 @@
|
|||||||
<profile>
|
<profile>
|
||||||
<id>ossrh</id>
|
<id>ossrh</id>
|
||||||
<activation>
|
<activation>
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>false</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<gpg.executable>gpg</gpg.executable>
|
<gpg.executable>gpg</gpg.executable>
|
||||||
<!-- <gpg.passphrase>${env.GPG_PASSWORD}</gpg.passphrase> -->
|
<!-- <gpg.passphrase>${env.GPG_PASSWORD}</gpg.passphrase> -->
|
||||||
</properties>
|
</properties>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
|
Loading…
Reference in New Issue
Block a user