Title: Sign sendgrid-java-x.x.x.jar · Issue #659 · sendgrid/sendgrid-java · GitHub
Open Graph Title: Sign sendgrid-java-x.x.x.jar · Issue #659 · sendgrid/sendgrid-java
X Title: Sign sendgrid-java-x.x.x.jar · Issue #659 · sendgrid/sendgrid-java
Description: Issue Summary Looks like you should reopen #631. Can't deploy with sendgrid-java dependency to Google Cloud Functions with error message:"Invalid signature file digest for Manifest main attributes" Without sendgrid-java it deploys succes...
Open Graph Description: Issue Summary Looks like you should reopen #631. Can't deploy with sendgrid-java dependency to Google Cloud Functions with error message:"Invalid signature file digest for Manifest main attributes"...
X Description: Issue Summary Looks like you should reopen #631. Can't deploy with sendgrid-java dependency to Google Cloud Functions with error message:"Invalid signature file digest for Manifest main at...
Opengraph URL: https://github.com/sendgrid/sendgrid-java/issues/659
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sign sendgrid-java-x.x.x.jar","articleBody":"### Issue Summary\r\nLooks like you should reopen #631.\r\n\r\nCan't deploy with sendgrid-java dependency to Google Cloud Functions with error message:\"Invalid signature file digest for Manifest main attributes\"\r\n\r\nWithout `sendgrid-java` it deploys successfully. So the issue is definitely with your artifact or its dependencies.\r\n\r\n### Steps to Reproduce\r\nAdd dependency on sendgrid-java (4.7.0) and try to deploy to Google Cloud Functions with shade plugin.\r\n\r\nHere is shade plugin Maven config:\r\n\r\n```\r\n\u003cplugin>\r\n \u003cgroupId>org.apache.maven.plugins\u003c/groupId>\r\n \u003cartifactId>maven-shade-plugin\u003c/artifactId>\r\n \u003cversion>3.2.4\u003c/version>\r\n \u003cexecutions>\r\n \u003cexecution>\r\n \u003cphase>package\u003c/phase>\r\n \u003cgoals>\r\n \u003cgoal>shade\u003c/goal>\r\n \u003c/goals>\r\n \u003cconfiguration>\r\n \u003coutputFile>${project.build.directory}/deployment/${project.build.finalName}.jar\r\n \u003c/outputFile>\r\n \u003ctransformers>\r\n \u003c!-- This may be needed if you need to shade a signed JAR -->\r\n \u003ctransformer\r\n implementation=\"org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer\">\r\n \u003cresource>.SF\u003c/resource>\r\n \u003cresource>.DSA\u003c/resource>\r\n \u003cresource>.RSA\u003c/resource>\r\n \u003c/transformer>\r\n \u003c!-- This is needed if you have dependencies that use Service Loader. Most Google Cloud client libraries does. -->\r\n \u003ctransformer implementation=\r\n \"org.apache.maven.plugins.shade.resource.ServicesResourceTransformer\"/>\r\n \u003c/transformers>\r\n \u003c/configuration>\r\n \u003c/execution>\r\n \u003c/executions>\r\n \u003c/plugin>\r\n```\r\n\r\n### Technical details:\r\n* sendgrid-java version: 4.7.0\r\n* java version: 11\r\n\r\n","author":{"url":"https://github.com/artie-shevchenko","@type":"Person","name":"artie-shevchenko"},"datePublished":"2020-12-14T17:46:14Z","url":"https://github.com/sendgrid/sendgrid-java/issues/659"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:29443dcc-b7d0-29d5-81d0-e152047ba1b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84AE:29C715:862DDD:AE38C6:6B062D5F |
| html-safe-nonce | 74d6be5000108a395d9c324675feedbeb931d2f7de8f0dd255d97a39a5e6dd52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEFFOjI5QzcxNTo4NjJEREQ6QUUzOEM2OjZCMDYyRDVGIiwidmlzaXRvcl9pZCI6IjM5NTY1OTYzOTEwOTg1OTI2MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5456cfca858ca4ef7466bbdb18328c4942aea7d7d2576032a9de5192686a1e62 |
| hovercard-subject-tag | issue:766762574 |
| github-keyboard-shortcuts | repository,issues,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/sendgrid/sendgrid-java/659/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1275e4ad590ab7a8aebb6f27b3e3e445f4174903e48df4652721b7fe3c6dbac1/sendgrid/sendgrid-java/issues/659 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1275e4ad590ab7a8aebb6f27b3e3e445f4174903e48df4652721b7fe3c6dbac1/sendgrid/sendgrid-java/issues/659 |
| og:image:alt | Issue Summary Looks like you should reopen #631. Can't deploy with sendgrid-java dependency to Google Cloud Functions with error message:"Invalid signature file digest for Manifest main attributes"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | artie-shevchenko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/sendgrid/sendgrid-java git https://github.com/sendgrid/sendgrid-java.git |
| octolytics-dimension-user_id | 181234 |
| octolytics-dimension-user_login | sendgrid |
| octolytics-dimension-repository_id | 12328480 |
| octolytics-dimension-repository_nwo | sendgrid/sendgrid-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12328480 |
| octolytics-dimension-repository_network_root_nwo | sendgrid/sendgrid-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 | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width