Title: Ignore provided scoped dependencies from maven-dependency-plugin · Issue #875 · googleapis/java-shared-config · GitHub
Open Graph Title: Ignore provided scoped dependencies from maven-dependency-plugin · Issue #875 · googleapis/java-shared-config
X Title: Ignore provided scoped dependencies from maven-dependency-plugin · Issue #875 · googleapis/java-shared-config
Description: This came up in an offline discussion with @burkedavison as part of #815. The downstream / dependencies (11, java-spanner) in the PR was failing with the following error: [INFO] --- maven-dependency-plugin:3.5.0:analyze (default-cli) @ g...
Open Graph Description: This came up in an offline discussion with @burkedavison as part of #815. The downstream / dependencies (11, java-spanner) in the PR was failing with the following error: [INFO] --- maven-dependenc...
X Description: This came up in an offline discussion with @burkedavison as part of #815. The downstream / dependencies (11, java-spanner) in the PR was failing with the following error: [INFO] --- maven-dependenc...
Opengraph URL: https://github.com/googleapis/java-shared-config/issues/875
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ignore provided scoped dependencies from maven-dependency-plugin ","articleBody":"This came up in an offline discussion with @burkedavison as part of https://github.com/googleapis/java-shared-config/pull/815.\r\n\r\nThe `downstream / dependencies (11, java-spanner)` in the PR was failing with the following error:\r\n\r\n```\r\n[INFO] --- maven-dependency-plugin:3.5.0:analyze (default-cli) @ google-cloud-spanner ---\r\nError: Used undeclared dependencies found:\r\nError: org.graalvm.sdk:nativeimage:jar:24.0.1:provided\r\n```\r\nHowever, this dependency is intentionally scoped as `provided` making this failure a false positive.\r\n\r\nPotential Solution: Set the maven-dependency-plugin's `ignoreNonCompile` parameter to `true` (https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#ignoreNonCompile) to ignore `provided` scoped dependencies when `mvn dependency:analyze` is called. The configuration change will likely be at:\r\n\r\nhttps://github.com/googleapis/java-shared-config/blob/3c3c6307ea88dc56f5901a95c295d1b2d53a3559/java-shared-config/pom.xml#L144-L158\r\n\r\ncc/ @suztomo ","author":{"url":"https://github.com/mpeddada1","@type":"Person","name":"mpeddada1"},"datePublished":"2024-07-30T20:08:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/875/java-shared-config/issues/875"}
| 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:82568e1a-7250-ed42-42dd-477c822c686b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D60A:1A7762:B72215:FAF700:6A4C930A |
| html-safe-nonce | d610a056586dad07acebfcc00a446b17fb6b62aa8e4de7ca8ceebb6e8ea5184b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjBBOjFBNzc2MjpCNzIyMTU6RkFGNzAwOjZBNEM5MzBBIiwidmlzaXRvcl9pZCI6Ijg2NzQ3ODQ2OTUyNDM2MTk5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 68f928cd53d490f331cb5d40590c3f20dc0209ad7276db9f0ba5b65d2e24705a |
| hovercard-subject-tag | issue:2438594507 |
| 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/googleapis/java-shared-config/875/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e9db974130edf16ea41d7cd3a39445e2b049dea7884c568e1c9de8b6bfc6b996/googleapis/java-shared-config/issues/875 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9db974130edf16ea41d7cd3a39445e2b049dea7884c568e1c9de8b6bfc6b996/googleapis/java-shared-config/issues/875 |
| og:image:alt | This came up in an offline discussion with @burkedavison as part of #815. The downstream / dependencies (11, java-spanner) in the PR was failing with the following error: [INFO] --- maven-dependenc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mpeddada1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/java-shared-config git https://github.com/googleapis/java-shared-config.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 203461772 |
| octolytics-dimension-repository_nwo | googleapis/java-shared-config |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 203461772 |
| octolytics-dimension-repository_network_root_nwo | googleapis/java-shared-config |
| 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 | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width