-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Java][CI] Failed to generate SBOM by CycloneDX #35086
Comments
@dongjoon-hyun Could you take a look at this because you introduce this feature by #15267? |
Hi, @kou . Did you change Apache Maven version or CycloneDX plugin version? There was a reported issue for that combinations. In Apache Spark community, we used a fixed Maven version to avoid Apache Maven project regression. https://github.com/apache/spark/blob/2931993e059f5d3741fc09438b7da88ccd8d4446/pom.xml#L116
|
@dongjoon-hyun Thanks for taking a look at this! Sorry. I'm not familiar with Java but it seems that we didn't change Apache Maven version nor CycloneDX plugin version explicitly. You pinned CycloneDX plugin version in #15267. So CycloneDX plugin version may not be changed. But it seems that we don't pin Apache Maven's version explicitly. So Apache Maven version may be changed.
Could you share the URL of the report? |
It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error.
BTW, from Spark community, we found that cyclonedx plugin 2.7.5 has some issues, but cyclones plugin 2.7.6 works fine. I verified the reported Arrow build issue locally with the following command and verified that new latest plugin fixes it, @kou .
Let me make a PR. |
Here is the PR. |
Thanks for the information! |
No problem at all. Thank you always. 👍🏻 |
It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error.
### Rationale for this change CyctloneDX Maven plugin 2.7.3 doesn't work with recent Apache Maven. ### What changes are included in this PR? It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #35086 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
This PR aims to upgrade `cyclonedx-maven-plugin` from `2.7.3` to `2.7.6` to bring the latest bug fixes. - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.6 - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.5 - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.4 Historically, there was some issue reports on the previous versions with the latest Maven. - apache/spark#40065 - apache/arrow#35086 Now, 2.7.6 is verified in Apache Spark, ORC, Arrow community as of today. - [ORC-1407: Upgrade cyclonedx-maven-plugin to 2.7.6](apache/orc#1463) - [SPARK-42382: Upgrade cyclonedx-maven-plugin to 2.7.6](apache/spark#40726) - [GH-35086: Upgrade CycloneDX Maven plugin version](apache/arrow#35092)
This PR aims to upgrade `cyclonedx-maven-plugin` from `2.7.3` to `2.7.6` to bring the latest bug fixes. - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.6 - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.5 - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.4 Historically, there was some issue reports on the previous versions with the latest Maven. - apache/spark#40065 - apache/arrow#35086 Now, 2.7.6 is verified in Apache Spark, ORC, Arrow community as of today. - [ORC-1407: Upgrade cyclonedx-maven-plugin to 2.7.6](apache/orc#1463) - [SPARK-42382: Upgrade cyclonedx-maven-plugin to 2.7.6](apache/spark#40726) - [GH-35086: Upgrade CycloneDX Maven plugin version](apache/arrow#35092)
This PR aims to upgrade `cyclonedx-maven-plugin` from `2.7.3` to `2.7.6` to bring the latest bug fixes. - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.6 - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.5 - https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.4 Historically, there was some issue reports on the previous versions with the latest Maven. - apache/spark#40065 - apache/arrow#35086 Now, 2.7.6 is verified in Apache Spark, ORC, Arrow community as of today. - [ORC-1407: Upgrade cyclonedx-maven-plugin to 2.7.6](apache/orc#1463) - [SPARK-42382: Upgrade cyclonedx-maven-plugin to 2.7.6](apache/spark#40726) - [GH-35086: Upgrade CycloneDX Maven plugin version](apache/arrow#35092)
### Rationale for this change CyctloneDX Maven plugin 2.7.3 doesn't work with recent Apache Maven. ### What changes are included in this PR? It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #35086 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…ache#35092) ### Rationale for this change CyctloneDX Maven plugin 2.7.3 doesn't work with recent Apache Maven. ### What changes are included in this PR? It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#35086 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…ache#35092) ### Rationale for this change CyctloneDX Maven plugin 2.7.3 doesn't work with recent Apache Maven. ### What changes are included in this PR? It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#35086 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…ache#35092) ### Rationale for this change CyctloneDX Maven plugin 2.7.3 doesn't work with recent Apache Maven. ### What changes are included in this PR? It may fix the "UTF-8 BOM plus xml decl of ISO-8859-1 is incompatible" error. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#35086 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Describe the bug, including details regarding any error messages, version, and platform.
https://github.com/ursacomputing/crossbow/actions/runs/4675892709/jobs/8296102801#step:6:17292
Component(s)
Continuous Integration, Java
The text was updated successfully, but these errors were encountered: