Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: a recent release failed #2343

Closed
failure-checker bot opened this issue Jan 5, 2024 · 1 comment
Closed

Warning: a recent release failed #2343

failure-checker bot opened this issue Jan 5, 2024 · 1 comment
Labels
type: process A process-related concern. May include testing, release, or the like.

Comments

@failure-checker
Copy link

The following release PRs may have failed:

@failure-checker failure-checker bot added the type: process A process-related concern. May include testing, release, or the like. label Jan 5, 2024
@suztomo
Copy link
Member

suztomo commented Jan 5, 2024

http://gpaste/5910626503753728

/workspace/github/sdk-platform-java/java-shared-dependencies /workspace/github/sdk-platform-java /workspace
+ pushd github/sdk-platform-java
+ pushd java-shared-dependencies
++ mvn help:evaluate -Dexpression=project.version -q -DforceStdout
Picked up JAVA_TOOL_OPTIONS: -Djavax.net.ssl.trustStore=/var/cache/proxy.crt.jks
+ JAVA_SHARED_DEPENDENCIES_VERSION='[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact com.google.api:gapic-generator-java-bom:pom:2.31.0 in google-maven-central-copy ([https://maven-central.storage-download.googleapis.com/maven2](https://www.google.com/url?q=https://maven-central.storage-download.googleapis.com/maven2&sa=D)) @ com.google.cloud:first-party-dependencies:3.21.0, /workspace/github/sdk-platform-java/java-shared-dependencies/first-party-dependencies/pom.xml, line 32, column 19
[ERROR] Non-resolvable import POM: Could not find artifact com.google.cloud:google-cloud-core-bom:pom:2.29.0 in google-maven-central-copy ([https://maven-central.storage-download.googleapis.com/maven2](https://www.google.com/url?q=https://maven-central.storage-download.googleapis.com/maven2&sa=D)) @ com.google.cloud:first-party-dependencies:3.21.0, /workspace/github/sdk-platform-java/java-shared-dependencies/first-party-dependencies/pom.xml, line 45, column 19
 @ 
[ERROR] The build could not read 1 project -> [Help 1]

@mpeddada1 The new release script (wrongly) assumes the pom.xml is valid before publishing Maven Central.

It's unnecessary to use "mvn help:evaluate" pom.xml (This requires installation of all BOMs imported by the shared dependencies BOM) because you can get the same value from versions.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

No branches or pull requests

1 participant