Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICU-22561 Added maven-gpg-plugin in pom.xml to sign artifacts for mav… #2716

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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