Skip to content

[SPARK-42382][BUILD] Upgrade cyclonedx-maven-plugin to 2.7.6 - #40726

Closed
dongjoon-hyun wants to merge 2 commits into
apache:masterfrom
dongjoon-hyun:SPARK-42382
Closed

[SPARK-42382][BUILD] Upgrade cyclonedx-maven-plugin to 2.7.6#40726
dongjoon-hyun wants to merge 2 commits into
apache:masterfrom
dongjoon-hyun:SPARK-42382

Conversation

@dongjoon-hyun

@dongjoon-hyundongjoon-hyun commented Apr 10, 2023

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This pr aims upgrade cyclonedx-maven-plugin to 2.7.6 for Apache Spark 3.5.0.

Why are the changes needed?

The release notes as follows:

Does this PR introduce any user-facing change?

No

How was this patch tested?

  • Pass GitHub Actions.
  • Manual check the cyclonedx.xml file can be generated normally.

@dongjoon-hyundongjoon-hyun left a comment

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @LuciferYang .
Since you've been investigating this so far, I made a PR with your main-authorship.

@dongjoon-hyun

Copy link
Copy Markdown
MemberAuthor

R failure on AppVeyor is irrelevant to this PR.

@dongjoon-hyun

Copy link
Copy Markdown
MemberAuthor

Could you review this PR, @viirya ? I verified manually.

$ ls -alt
total 67688
-rw-r--r--@ 1 dongjoon staff 1955 Apr 10 15:27 maven-metadata-local.xml
-rw-r--r--@ 1 dongjoon staff 492 Apr 10 15:27 _remote.repositories
-rw-r--r--@ 1 dongjoon staff 4451845 Apr 10 15:27 spark-core_2.12-3.5.0-SNAPSHOT-javadoc.jar
-rw-r--r--@ 1 dongjoon staff 362584 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT-cyclonedx.json
-rw-r--r--@ 1 dongjoon staff 312338 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT-cyclonedx.xml
-rw-r--r--@ 1 dongjoon staff 1423015 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT-test-sources.jar
-rw-r--r--@ 1 dongjoon staff 2919170 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT-sources.jar
-rw-r--r--@ 1 dongjoon staff 8078262 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT-tests.jar
-rw-r--r--@ 1 dongjoon staff 14038165 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT.jar
-rw-r--r--@ 1 dongjoon staff 44355 Apr 10 15:26 spark-core_2.12-3.5.0-SNAPSHOT.pom
drwxr-xr-x@ 4 dongjoon staff 128 Apr 10 14:56 ..
drwxr-xr-x@ 12 dongjoon staff 384 Apr 10 14:56 .
$ head spark-core_2.12-3.5.0-SNAPSHOT-cyclonedx.xml
<?xml version="1.0" encoding="UTF-8"?>
<bom serialNumber="urn:uuid:14185927-0ca0-4589-92aa-268c9c81873d" version="1" xmlns="http://cyclonedx.org/schema/bom/1.4">
<metadata>
<timestamp>2023-04-10T22:26:52Z</timestamp>
<tools>
<tool>
<vendor>OWASP Foundation</vendor>
<name>CycloneDX Maven plugin makeBom compile+provided+runtime+system</name>
<version>2.7.6</version>
<hashes>

@HyukjinKwon

Copy link
Copy Markdown
Member

Merged to master.

@HyukjinKwon

Copy link
Copy Markdown
Member

Hm, for some reasons, it shows @LuciferYang as a primary author. I manually changed it to @dongjoon-hyun.

@dongjoon-hyun

Copy link
Copy Markdown
MemberAuthor

Oh, it was intentional #40726 (review), but thank you!

Thank you, @HyukjinKwon and @viirya !

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-42382 branch April 10, 2023 23:57
@LuciferYang

Copy link
Copy Markdown
Contributor

late LGTM ~ Thanks @dongjoon-hyun and all ~

@steveloughran

Copy link
Copy Markdown
Contributor

this working OK on the latest maven releases that homebrew is pushing out?

@dongjoon-hyun

Copy link
Copy Markdown
MemberAuthor

To @steveloughran , this is done independently from Maven.
I verified in Apache ORC and Spark community only for now.

Fokko pushed a commit to apache/parquet-java that referenced this pull request Apr 13, 2023
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)
a0x8o added a commit to a0x8o/parquet-mr that referenced this pull request Apr 13, 2023
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)
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
### What changes were proposed in this pull request?
This pr aims upgrade `cyclonedx-maven-plugin` to 2.7.6 for Apache Spark 3.5.0.
### Why are the changes needed?
The release notes as follows:
- https://github.com/CycloneDX/cyclonedx-maven-plugin/releases/tag/cyclonedx-maven-plugin-2.7.4
- 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.6
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
- Pass GitHub Actions.
- Manual check the `cyclonedx.xml` file can be generated normally.
Closesapache#40726 from dongjoon-hyun/SPARK-42382.
Lead-authored-by: Dongjoon Hyun <dongjoon@apache.org>
Co-authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@dongjoon-hyun@HyukjinKwon@LuciferYang@steveloughran@viirya