setup-java/__tests__
Bruno Borges 3384951fff Use gpg.passphraseEnvName instead of gpg.passphrase server
The maven-gpg-plugin's `gpg.passphrase`/`passphraseServerId` mechanism is
deprecated and fails when the plugin's `bestPractices` mode is enabled.
Stop writing the `gpg.passphrase` server to settings.xml and instead set
`gpg.passphraseEnvName` via an active profile when the configured passphrase
env var name differs from the plugin default (MAVEN_GPG_PASSPHRASE).

The default `gpg-passphrase` input value (GPG_PASSPHRASE) is unchanged, so the
plugin reads the same environment variable as before.

Fixes #760

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-14 21:54:47 -04:00
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data dist: Support Liberica NIK (#878) (#1112) 2026-07-14 14:49:31 -04:00
distributors dist: Support Liberica NIK (#878) (#1112) 2026-07-14 14:49:31 -04:00
auth.test.ts Use gpg.passphraseEnvName instead of gpg.passphrase server 2026-07-14 21:54:47 -04:00
cache.test.ts Cache Maven and Gradle wrapper distributions separately from the dependency cache (#1097) 2026-07-14 17:14:23 -04:00
cleanup-java.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
gpg.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
maven-args.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
toolchains.test.ts Preserve Maven toolchains across repeated setup-java runs (#1099) (#1111) 2026-07-14 07:54:11 -04:00
util.test.ts Support pinning java-version as "latest" (#1093) 2026-07-09 20:11:03 -04:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00