Skip to content

Commit c36916f

Browse files
committed
[SPARK-51225][BUILD] Upgrade several Maven plugins to the latest versions
### What changes were proposed in this pull request? This PR aims to upgrade several maven plugins to the latest versions for Apache Spark 4.1.0. ### Why are the changes needed? To bring the latest bug fixes and prepare for Apache Maven 4.0.0. - `versions-maven-plugin` from 2.16.2 to 2.18.0 - `build-helper-maven-plugin` from 3.5.0 to 3.6.0 - `cyclonedx-maven-plugin` from 2.8.0 to 2.9.1 - `exec-maven-plugin` from 3.2.0 to 3.5.0 - `maven-enforcer-plugin` from 3.4.1 to 3.5.0 - `maven-surefire-plugin` from 3.2.5 to 3.5.2 - `maven-clean-plugin` from 3.3.2 to 3.4.0 - `maven-javadoc-plugin` from 3.6.3 to 3.11.2 - `maven-shade-plugin` from 3.5.2 to 3.6.0 - `maven-dependency-plugin` from 3.6.1 to 3.8.1 - `maven-checkstyle-plugin` from 3.3.1 to 3.6.0 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#49966 from dongjoon-hyun/SPARK-51225. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent b2cbdaa commit c36916f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pom.xml

+11-11
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<java.version>17</java.version>
118118
<maven.compiler.release>${java.version}</maven.compiler.release>
119119
<maven.version>3.9.9</maven.version>
120-
<exec-maven-plugin.version>3.2.0</exec-maven-plugin.version>
120+
<exec-maven-plugin.version>3.5.0</exec-maven-plugin.version>
121121
<sbt.project.name>spark</sbt.project.name>
122122
<asm.version>9.7.1</asm.version>
123123
<slf4j.version>2.0.16</slf4j.version>
@@ -174,7 +174,7 @@
174174
<scalatest-maven-plugin.version>2.2.0</scalatest-maven-plugin.version>
175175
<scala-maven-plugin.version>4.9.2</scala-maven-plugin.version>
176176
<maven.scaladoc.skip>false</maven.scaladoc.skip>
177-
<versions-maven-plugin.version>2.16.2</versions-maven-plugin.version>
177+
<versions-maven-plugin.version>2.18.0</versions-maven-plugin.version>
178178
<!-- for now, not running scalafmt as part of default verify pipeline -->
179179
<scalafmt.skip>true</scalafmt.skip>
180180
<scalafmt.validateOnly>true</scalafmt.validateOnly>
@@ -2591,7 +2591,7 @@
25912591
<plugin>
25922592
<groupId>org.apache.maven.plugins</groupId>
25932593
<artifactId>maven-enforcer-plugin</artifactId>
2594-
<version>3.4.1</version>
2594+
<version>3.5.0</version>
25952595
<executions>
25962596
<execution>
25972597
<id>enforce-versions</id>
@@ -2652,7 +2652,7 @@
26522652
<plugin>
26532653
<groupId>org.codehaus.mojo</groupId>
26542654
<artifactId>build-helper-maven-plugin</artifactId>
2655-
<version>3.5.0</version>
2655+
<version>3.6.0</version>
26562656
<executions>
26572657
<execution>
26582658
<id>module-timestamp-property</id>
@@ -2788,7 +2788,7 @@
27882788
<plugin>
27892789
<groupId>org.apache.maven.plugins</groupId>
27902790
<artifactId>maven-surefire-plugin</artifactId>
2791-
<version>3.2.5</version>
2791+
<version>3.5.2</version>
27922792
<!-- Note config is repeated in scalatest config -->
27932793
<configuration>
27942794
<includes>
@@ -2924,7 +2924,7 @@
29242924
<plugin>
29252925
<groupId>org.apache.maven.plugins</groupId>
29262926
<artifactId>maven-clean-plugin</artifactId>
2927-
<version>3.3.2</version>
2927+
<version>3.4.0</version>
29282928
<configuration>
29292929
<filesets>
29302930
<fileset>
@@ -2951,7 +2951,7 @@
29512951
<plugin>
29522952
<groupId>org.apache.maven.plugins</groupId>
29532953
<artifactId>maven-javadoc-plugin</artifactId>
2954-
<version>3.6.3</version>
2954+
<version>3.11.2</version>
29552955
<configuration>
29562956
<additionalJOptions>
29572957
<additionalJOption>-Xdoclint:all</additionalJOption>
@@ -3007,7 +3007,7 @@
30073007
<plugin>
30083008
<groupId>org.apache.maven.plugins</groupId>
30093009
<artifactId>maven-shade-plugin</artifactId>
3010-
<version>3.5.2</version>
3010+
<version>3.6.0</version>
30113011
<dependencies>
30123012
<dependency>
30133013
<groupId>org.ow2.asm</groupId>
@@ -3037,7 +3037,7 @@
30373037
<plugin>
30383038
<groupId>org.apache.maven.plugins</groupId>
30393039
<artifactId>maven-dependency-plugin</artifactId>
3040-
<version>3.6.1</version>
3040+
<version>3.8.1</version>
30413041
<executions>
30423042
<execution>
30433043
<id>default-cli</id>
@@ -3178,7 +3178,7 @@
31783178
<plugin>
31793179
<groupId>org.apache.maven.plugins</groupId>
31803180
<artifactId>maven-checkstyle-plugin</artifactId>
3181-
<version>3.3.1</version>
3181+
<version>3.6.0</version>
31823182
<configuration>
31833183
<failOnViolation>false</failOnViolation>
31843184
<includeTestSourceDirectory>true</includeTestSourceDirectory>
@@ -3296,7 +3296,7 @@
32963296
<plugin>
32973297
<groupId>org.cyclonedx</groupId>
32983298
<artifactId>cyclonedx-maven-plugin</artifactId>
3299-
<version>2.8.0</version>
3299+
<version>2.9.1</version>
33003300
<executions>
33013301
<execution>
33023302
<phase>package</phase>

0 commit comments

Comments
 (0)