-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-42382][BUILD] Upgrade cyclonedx-maven-plugin
to 2.7.5
#40065
Conversation
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.
Is there a way to see the reported error in Spark GitHub Action jobs, @LuciferYang ?
I make another one build with maven 3.8.7 + cyclonedx-maven-plugin 2.7.4 https://github.com/LuciferYang/spark/actions/runs/4205904014/jobs/7298678641 |
I mean in our GitHub Action repo. We are using CycloneDX 2.7.3, aren't we?
|
Yes, we use CycloneDX 2.7.3. So I should not explain that 2.7.4 has such issue in the pr description, because it does not affect Spark now, am I right? |
Please let me explain my intention more:
I think We should see similar errors here: https://github.com/LuciferYang/spark/actions/runs/4206035140/jobs/7299042843 later
So If I want to upgrade Spark to use maven 3.9.0, I must upgrade cyclonedx-maven-plugin to 2.7.5, I should upgrade them in one or two pr? |
I'm trying to assess the issue. So, those combination issue is not the AS-IS Apache Spark issue in both master/branch-3.4, right? FYI, Cyclone plugin 2.7.4 issue is a known one. When I started SBOM works, 2.7.4 was the lastest but was unusable across multiple ASF projects. That was the main reason I chose 2.7.3 instead of the latest at that time. I'm not quite sure if 2.7.5 is stable enough. Anyway, we can apply this PR on |
Yeah, Spark 3.4.0 does not need this pr. |
If you don't mind, please allow me one or two days. I'll check this during weekend~ Thank you for your patience always. |
@dongjoon-hyun found a new issue related to 2.7.5: CycloneDX/cyclonedx-maven-plugin#284 |
Got it. Thank you for informing. |
I think we should wait for 2.7.6 or higher to test usability, then we can reuse this jira. I will close this pr first, thanks @dongjoon-hyun |
+1 for your decision, @LuciferYang . Thank you for letting me know before I started my work~ :) |
I'm hitting this when trying to build hadoop having updated maven via homebrew so as to get spark to work. joy. |
This PR is superseded by #40726 . |
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)
What changes were proposed in this pull request?
This pr aims upgrade
cyclonedx-maven-plugin
from 2.7.3 to 2.7.5Why are the changes needed?
The release notes as follows:
On the other hand, we can upgrade to use maven 3.9.0 to build Spark after upgrading
cyclonedx-maven-plugin
to 2.7.5, otherwise, the build error described in SPARK-42380 will occur.Does this PR introduce any user-facing change?
No
How was this patch tested?
cyclonedx.xml
file can be generated normally.