Skip to content

[SPARK-42670][BUILD] Upgrade maven-surefire-plugin to 3.0.0-M9 & eliminate build warnings#40278

Closed
panbingkun wants to merge 1 commit into
apache:masterfrom
panbingkun:SPARK-42670
Closed

[SPARK-42670][BUILD] Upgrade maven-surefire-plugin to 3.0.0-M9 & eliminate build warnings#40278
panbingkun wants to merge 1 commit into
apache:masterfrom
panbingkun:SPARK-42670

Conversation

@panbingkun
Copy link
Copy Markdown
Contributor

@panbingkun panbingkun commented Mar 4, 2023

What changes were proposed in this pull request?

The pr aims to upgrade maven-surefire-plugin from 3.0.0-M8 to 3.0.0-M9 & eliminate build warnings.

Why are the changes needed?

apache/maven-surefire@surefire-3.0.0-M8...surefire-3.0.0-M9
system-properties

image

image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual check & Pass GA.

@github-actions github-actions Bot added the BUILD label Mar 4, 2023
Comment thread pom.xml
<SPARK_BEELINE_OPTS>-DmyKey=yourValue</SPARK_BEELINE_OPTS>
</environmentVariables>
<systemProperties>
<systemPropertyVariables>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are you using maven 3.9.0? There should be no this warning log in 3.8.7.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes,
image

image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we don't need to make this change for the time being. Apache Spark has not promised to use maven 3.9.0 for build and test

Copy link
Copy Markdown
Contributor

@LuciferYang LuciferYang Mar 5, 2023

Choose a reason for hiding this comment

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

And I think we should do this change after finish SPARK-42380 if there is no this warning log with maven 3.8.7

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does it hurt to make this change now? still works in Maven 3.8 and just prepares for 3.9?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In fact, I think it can work well in maven 3.8.
BecausesystemProperties has been marked as Deprecated long ago.

@srowen
Copy link
Copy Markdown
Member

srowen commented Mar 11, 2023

Merged to master

@srowen srowen closed this in bdcf68a Mar 11, 2023
Sign up for free to 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.

3 participants