Remove BOM_SKIP_ARTIFACT_IDS - #2338
Conversation
|
kokoro-windows failed: |
| // TODO remove this hack once we get these out of google-cloud-java's BOM | ||
| if (BOM_SKIP_ARTIFACT_IDS.contains(artifact.getArtifactId())) { | ||
| return true; | ||
| } |
There was a problem hiding this comment.
This is the main change.
|
Kokoro-macos passed |
|
"Build with Sonar" is working in the master branch. |
| @echo on | ||
|
|
||
| set JAVA_HOME=c:\program files\java\jdk1.8.0_152 | ||
| set JAVA_HOME=c:\program files\java\jdk1.8.0_211 |
There was a problem hiding this comment.
_152 was not owrking any more.
| String actual = new String(Files.readAllBytes(output)); | ||
| String actual = new String(Files.readAllBytes(output)).replaceAll("\\R", "\n"); | ||
|
|
||
| String expected = | ||
| new String( | ||
| Files.readAllBytes( | ||
| absolutePathOfResource( | ||
| "exclusion-sample-rules/expected-exclusion-output-file.xml")), | ||
| StandardCharsets.UTF_8); | ||
| Files.readAllBytes( | ||
| absolutePathOfResource( | ||
| "exclusion-sample-rules/expected-exclusion-output-file.xml")), | ||
| StandardCharsets.UTF_8) | ||
| .replaceAll("\\R", "\n"); |
There was a problem hiding this comment.
Memo: In the new Windows environment, which changed jdk1.8.0_152 to jdk1.8.0_211, the return character was different. This change ignores the difference.
| assertThat(dependencyTreeParagraph).hasSize(38391); | ||
| assertThat(dependencyTreeParagraph).hasSize(39649); |
There was a problem hiding this comment.
The assertion count changes because now the BOM includes a bit more artifacts.
Maybe it's not working on pull requests. If this fails on master branch after merge, I'll troubleshoot. |
The BOM_SKIP_ARTIFACT_IDS has been hiding the google-cloud-logging-logback artifact from appearing in the release note. https://github.com/googleapis/java-cloud-bom/releases/tag/v26.14.0