Skip to content

Commit 143d2d3

Browse files
committed
add gpg config to profile
1 parent 26e6ea1 commit 143d2d3

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

pom.xml

+5-13
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@
446446
<profile>
447447
<!-- required, used in .github/workflows/sonatype-publish.yml -->
448448
<id>sonatypeDeploy</id>
449+
<properties>
450+
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
451+
<gpg.keyname>${env.GPG_KEY_ID}</gpg.keyname>
452+
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
453+
</properties>
449454
<build>
450455
<plugins>
451456
<plugin>
@@ -460,19 +465,6 @@
460465
<waitUntil>published</waitUntil>
461466
</configuration>
462467
</plugin>
463-
<plugin>
464-
<groupId>org.apache.maven.plugins</groupId>
465-
<artifactId>maven-source-plugin</artifactId>
466-
<version>3.3.0</version>
467-
<executions>
468-
<execution>
469-
<id>attach-sources</id>
470-
<goals>
471-
<goal>jar-no-fork</goal>
472-
</goals>
473-
</execution>
474-
</executions>
475-
</plugin>
476468
<plugin>
477469
<groupId>org.apache.maven.plugins</groupId>
478470
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)