Title: Support caching Maven plugin dependencies in setup-java · Issue #990 · actions/setup-java · GitHub
Open Graph Title: Support caching Maven plugin dependencies in setup-java · Issue #990 · actions/setup-java
X Title: Support caching Maven plugin dependencies in setup-java · Issue #990 · actions/setup-java
Description: Description: When using actions/setup-java@v4 with Maven cache (cache: maven), CI builds often download Maven plugin dependencies (e.g., plexus-*, aircompressor, xz) even when the POM and project dependencies have not changed. The cache ...
Open Graph Description: Description: When using actions/setup-java@v4 with Maven cache (cache: maven), CI builds often download Maven plugin dependencies (e.g., plexus-*, aircompressor, xz) even when the POM and project d...
X Description: Description: When using actions/setup-java@v4 with Maven cache (cache: maven), CI builds often download Maven plugin dependencies (e.g., plexus-*, aircompressor, xz) even when the POM and project d...
Opengraph URL: https://github.com/actions/setup-java/issues/990
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support caching Maven plugin dependencies in setup-java","articleBody":"Description:\nWhen using actions/setup-java@v4 with Maven cache (cache: maven), CI builds often download Maven plugin dependencies (e.g., plexus-*, aircompressor, xz) even when the POM and project dependencies have not changed. The cache log shows: “Cache hit occurred on the primary key …, not saving cache”, so these plugin JARs are not persisted and are downloaded again in subsequent builds.\n\nIt would be helpful to have a way to configure setup-java so that plugin dependencies can also be cached, or otherwise reduce repeated downloads in CI builds.\n\nJustification:\nFor multi-module Maven projects with many plugins, repeated downloads of plugin dependencies increase CI build time and network usage. Providing a way to cache plugin dependencies would make CI runs faster and more efficient, especially on runners that start from a clean environment each time.\n\nAre you willing to submit a PR?\nNo.","author":{"url":"https://github.com/dbi1463","@type":"Person","name":"dbi1463"},"datePublished":"2026-03-19T04:43:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/990/setup-java/issues/990"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0b40c186-30a1-e51b-04ac-6d7751cde79e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80DA:1EEA:CD7BA5:11ED7D3:6A4F47A4 |
| html-safe-nonce | 9f269560155904bf18d9f4399e881c9dd1d88d9d7b9172d7aaa54f05953ccca7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MERBOjFFRUE6Q0Q3QkE1OjExRUQ3RDM6NkE0RjQ3QTQiLCJ2aXNpdG9yX2lkIjoiNTAxNzUxMTUxODU5NTQwMTYzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0505e4ab782569504c705ebe959d8d2b1cbcb4f424d8a84a0dc4e546f8a6ef71 |
| hovercard-subject-tag | issue:4099257608 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-java/990/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6def4c92fc0284e928c0cb8db75b65d35182a7e3934d422ef9b1c04d80e98f83/actions/setup-java/issues/990 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6def4c92fc0284e928c0cb8db75b65d35182a7e3934d422ef9b1c04d80e98f83/actions/setup-java/issues/990 |
| og:image:alt | Description: When using actions/setup-java@v4 with Maven cache (cache: maven), CI builds often download Maven plugin dependencies (e.g., plexus-*, aircompressor, xz) even when the POM and project d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dbi1463 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-java git https://github.com/actions/setup-java.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 196057608 |
| octolytics-dimension-repository_nwo | actions/setup-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196057608 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width