diff --git a/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java b/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java index 8560c0d5de4c..bebc300f80f3 100644 --- a/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java +++ b/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java @@ -111,6 +111,15 @@ private static String calculateDependenciesSection(Bom bom) { continue; } + // Skipping grpc-android as it is not used by Google Cloud Client Libraries for Java. Checking + // for availability of + // this unused artifact on Maven Central has caused BOM validation check to fail in the past. + // See + // https://github.com/googleapis/sdk-platform-java/pull/1989#issuecomment-1724039670 + if ("grpc-android".equals(managedDependency.getArtifactId())) { + continue; + } + builder.append(" \n"); builder .append(" ")