-
Notifications
You must be signed in to change notification settings - Fork 77
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
Remove BOM_SKIP_ARTIFACT_IDS #2338
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main change.
Kokoro-macos passed |
"Build with Sonar" is working in the master branch. |
@@ -1,6 +1,6 @@ | |||
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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