Skip to content

Commit

Permalink
ICU-22561 Added maven-gpg-plugin in pom.xml to sign artifacts for mav…
Browse files Browse the repository at this point in the history
…en central release.
  • Loading branch information
yumaoka committed Dec 5, 2023
1 parent cca2855 commit dd4c5f3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions icu4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit dd4c5f3

Please sign in to comment.