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: redirect.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:e0ac5503-19c2-d38c-44bf-bd5d4c847d21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D414:1EFAA3:BF16D4:101C8B8:6A4C5412 |
| html-safe-nonce | f491c6f7a98f20cd15bda75e7e09c32feca6c77eed0e72e744e5a1e7b446b994 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDE0OjFFRkFBMzpCRjE2RDQ6MTAxQzhCODo2QTRDNTQxMiIsInZpc2l0b3JfaWQiOiIzMzA3Mzc3OTgyMjU1NjgyNTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6212f6b8c83caca1fc19e68eafdd041ffa9edcb708fce0c802ed7e3b0b2886ba |
| 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 | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| 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 | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width