Title: Cache Maven distribution downloaded by Maven Wrapper · Issue #448 · actions/setup-java · GitHub
Open Graph Title: Cache Maven distribution downloaded by Maven Wrapper · Issue #448 · actions/setup-java
X Title: Cache Maven distribution downloaded by Maven Wrapper · Issue #448 · actions/setup-java
Description: Description: Cache the Maven distribution downloaded by the official Maven Wrapper. The cache key should probably be derived from the .mvn/wrapper/maven-wrapper.properties file (see documentation), similar to how it is done already for t...
Open Graph Description: Description: Cache the Maven distribution downloaded by the official Maven Wrapper. The cache key should probably be derived from the .mvn/wrapper/maven-wrapper.properties file (see documentation),...
X Description: Description: Cache the Maven distribution downloaded by the official Maven Wrapper. The cache key should probably be derived from the .mvn/wrapper/maven-wrapper.properties file (see documentation),...
Opengraph URL: https://github.com/actions/setup-java/issues/448
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cache Maven distribution downloaded by Maven Wrapper","articleBody":"**Description:**\r\nCache the Maven distribution downloaded by the [official Maven Wrapper](https://maven.apache.org/wrapper/index.html).\r\n\r\nThe cache key should probably be derived from the `.mvn/wrapper/maven-wrapper.properties` file (see [documentation](https://maven.apache.org/wrapper/maven-wrapper-distribution/)), similar to how it is done already for the Gradle Wrapper.\r\n\r\nThe directory to cache is `~/.m2/wrapper/dists` (see [documentation](https://maven.apache.org/wrapper/maven-wrapper/)).\r\n\r\n**Justification:**\r\nWithout caching, projects using the Maven Wrapper would have to download the Maven distribution (~8MB) every time the project is built.\r\n\r\nFor Gradle the setup-java action already supports caching the Gradle distribution downloaded by the wrapper:\r\nhttps://github.com/actions/setup-java/blob/8f12c5c4d1ebd18bf4b7a51a1b0b912633f0bc61/src/cache.ts#L36\r\nhttps://github.com/actions/setup-java/blob/8f12c5c4d1ebd18bf4b7a51a1b0b912633f0bc61/src/cache.ts#L32\r\n\r\n\r\n**Are you willing to submit a PR?**\r\n\u003c!--- We accept contributions! --\u003e\r\nProbably not","author":{"url":"https://github.com/Marcono1234","@type":"Person","name":"Marcono1234"},"datePublished":"2023-01-29T18:22:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/448/setup-java/issues/448"}
| 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:dce4e074-5d98-d0b8-c842-f79f25e647fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A122:1AC56:613EF7:806A18:6A4C2F42 |
| html-safe-nonce | 93ee4d9c944c68825bcac2ff5d5cf9ab054a106cd04626dcb01ed1f718d9d082 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTIyOjFBQzU2OjYxM0VGNzo4MDZBMTg6NkE0QzJGNDIiLCJ2aXNpdG9yX2lkIjoiNzM4OTUwMjYxMTkxOTc0NDgzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f5a5a112f589665ab494cfe18593c1787c630957aa6c997841027c15004da43 |
| hovercard-subject-tag | issue:1561404068 |
| 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/448/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c90681246ba24f82421320f234ed6e1e868fd95665521cfece7c51883230553/actions/setup-java/issues/448 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c90681246ba24f82421320f234ed6e1e868fd95665521cfece7c51883230553/actions/setup-java/issues/448 |
| og:image:alt | Description: Cache the Maven distribution downloaded by the official Maven Wrapper. The cache key should probably be derived from the .mvn/wrapper/maven-wrapper.properties file (see documentation),... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Marcono1234 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| 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 | 9ee13484b32cf23e15fde191da4c9aa47d41201c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width