mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-22561 Added maven-gpg-plugin in pom.xml to sign artifacts for maven central release.
This commit is contained in:
parent
b070c932ad
commit
a7c7d8f214
1 changed files with 28 additions and 0 deletions
|
@ -481,6 +481,34 @@
|
|||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>with_signature</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<keyname>${gpg-keyname}</keyname>
|
||||
<passphraseServerId>${gpg-keyname}</passphraseServerId>
|
||||
<gpgArguments>
|
||||
<arg>--pinentry-mode</arg>
|
||||
<arg>loopback</arg>
|
||||
</gpgArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!-- This is used to create "merged" javadoc for all modules combined.
|
||||
Matches what is posted on a website (where icu4j / charset / localespi are all in one).
|
||||
That's why you need to run this with `site`, but build the artifacts first (for the taglets):
|
||||
|
|
Loading…
Add table
Reference in a new issue