Skip to content

Commit bd0a60b

Browse files
authored
chore: match Maven plugin versions with Spark 3.5 (#1668)
1 parent 89da212 commit bd0a60b

File tree

4 files changed

+41
-23
lines changed

4 files changed

+41
-23
lines changed

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ under the License.
8080
<plugin>
8181
<groupId>io.github.git-commit-id</groupId>
8282
<artifactId>git-commit-id-maven-plugin</artifactId>
83-
<version>4.9.9</version>
83+
<version>${git-commit-id-maven-plugin.version}</version>
8484
<executions>
8585
<execution>
8686
<id>get-the-git-infos</id>

fuzz-testing/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ under the License.
6868
<plugin>
6969
<groupId>org.apache.maven.plugins</groupId>
7070
<artifactId>maven-compiler-plugin</artifactId>
71-
<version>3.1</version>
71+
<version>${maven-compiler-plugin.version}</version>
7272
<configuration>
7373
<source>${java.version}</source>
7474
<target>${java.version}</target>
@@ -77,7 +77,7 @@ under the License.
7777
<plugin>
7878
<groupId>net.alchim31.maven</groupId>
7979
<artifactId>scala-maven-plugin</artifactId>
80-
<version>4.7.2</version>
80+
<version>${scala.plugin.version}</version>
8181
<executions>
8282
<execution>
8383
<goals>
@@ -89,7 +89,7 @@ under the License.
8989
</plugin>
9090
<plugin>
9191
<artifactId>maven-assembly-plugin</artifactId>
92-
<version>3.3.0</version>
92+
<version>${maven-assembly-plugin.version}</version>
9393
<configuration>
9494
<descriptorRefs>
9595
<descriptorRef>jar-with-dependencies</descriptorRef>

pom.xml

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,27 @@ under the License.
4747
<java.version>11</java.version>
4848
<maven.compiler.source>${java.version}</maven.compiler.source>
4949
<maven.compiler.target>${java.version}</maven.compiler.target>
50+
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
51+
<maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
52+
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
53+
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
54+
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
55+
<maven-enforcer-plugin.version>3.3.0</maven-enforcer-plugin.version>
56+
<maven-failsafe-plugin.version>3.1.0</maven-failsafe-plugin.version>
57+
<asm.version>9.1</asm.version>
58+
<build-helper-maven-plugin.version>3.4.0</build-helper-maven-plugin.version>
59+
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
60+
<scalastyle-maven-plugin.version>1.0.0</scalastyle-maven-plugin.version>
61+
<git-commit-id-maven-plugin.version>4.9.9</git-commit-id-maven-plugin.version>
62+
<exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
63+
<protoc-jar-maven-plugin.version>3.11.4</protoc-jar-maven-plugin.version>
64+
<scalafix-maven-plugin.version>0.1.7_0.10.4</scalafix-maven-plugin.version>
65+
<extra-enforcer-rules.version>1.7.0</extra-enforcer-rules.version>
66+
<scalafmt.version>3.6.1</scalafmt.version>
67+
<apache-rat-plugin.version>0.16</apache-rat-plugin.version>
5068
<scala.version>2.12.18</scala.version>
5169
<scala.binary.version>2.12</scala.binary.version>
52-
<scala.plugin.version>4.7.2</scala.plugin.version>
70+
<scala.plugin.version>4.8.0</scala.plugin.version>
5371
<scalatest.version>3.2.16</scalatest.version>
5472
<scalatest-maven-plugin.version>2.2.0</scalatest-maven-plugin.version>
5573
<spark.version>3.5.5</spark.version>
@@ -396,7 +414,7 @@ under the License.
396414
<dependency>
397415
<groupId>org.scalatestplus</groupId>
398416
<artifactId>junit-4-13_${scala.binary.version}</artifactId>
399-
<version>3.2.14.0</version>
417+
<version>3.2.16.0</version>
400418
<scope>test</scope>
401419
</dependency>
402420

@@ -691,7 +709,7 @@ under the License.
691709
<plugin>
692710
<groupId>io.github.evis</groupId>
693711
<artifactId>scalafix-maven-plugin_${scala.binary.version}</artifactId>
694-
<version>0.1.7_0.10.4</version>
712+
<version>${scalafix-maven-plugin.version}</version>
695713
</plugin>
696714
</plugins>
697715
</pluginManagement>
@@ -784,24 +802,24 @@ under the License.
784802
<plugin>
785803
<groupId>org.apache.maven.plugins</groupId>
786804
<artifactId>maven-shade-plugin</artifactId>
787-
<version>3.2.4</version>
805+
<version>${maven-shade-plugin.version}</version>
788806
<dependencies>
789807
<dependency>
790808
<groupId>org.ow2.asm</groupId>
791809
<artifactId>asm</artifactId>
792-
<version>9.1</version>
810+
<version>${asm.version}</version>
793811
</dependency>
794812
<dependency>
795813
<groupId>org.ow2.asm</groupId>
796814
<artifactId>asm-commons</artifactId>
797-
<version>9.1</version>
815+
<version>${asm.version}</version>
798816
</dependency>
799817
</dependencies>
800818
</plugin>
801819
<plugin>
802820
<groupId>org.apache.maven.plugins</groupId>
803821
<artifactId>maven-surefire-plugin</artifactId>
804-
<version>3.1.0</version>
822+
<version>${maven-surefire-plugin.version}</version>
805823
<configuration>
806824
<systemPropertyVariables>
807825
<log4j.configurationFile>file:src/test/resources/log4j2.properties</log4j.configurationFile>
@@ -812,7 +830,7 @@ under the License.
812830
<plugin>
813831
<groupId>org.apache.maven.plugins</groupId>
814832
<artifactId>maven-source-plugin</artifactId>
815-
<version>3.1.0</version>
833+
<version>${maven-source-plugin.version}</version>
816834
<configuration>
817835
<attach>true</attach>
818836
</configuration>
@@ -829,7 +847,7 @@ under the License.
829847
<plugin>
830848
<groupId>org.apache.maven.plugins</groupId>
831849
<artifactId>maven-compiler-plugin</artifactId>
832-
<version>3.10.1</version>
850+
<version>${maven-compiler-plugin.version}</version>
833851
<configuration>
834852
<source>${java.version}</source>
835853
<target>${java.version}</target>
@@ -840,7 +858,7 @@ under the License.
840858
<plugin>
841859
<groupId>org.apache.maven.plugins</groupId>
842860
<artifactId>maven-failsafe-plugin</artifactId>
843-
<version>3.1.0</version>
861+
<version>${maven-failsafe-plugin.version}</version>
844862
</plugin>
845863
<plugin>
846864
<groupId>com.diffplug.spotless</groupId>
@@ -861,7 +879,7 @@ under the License.
861879
<scala>
862880
<toggleOffOn />
863881
<scalafmt>
864-
<version>3.6.1</version>
882+
<version>${scalafmt.version}</version>
865883
<file>${maven.multiModuleProjectDirectory}/scalafmt.conf</file>
866884
</scalafmt>
867885
<licenseHeader>
@@ -873,7 +891,7 @@ under the License.
873891
<plugin>
874892
<groupId>org.codehaus.mojo</groupId>
875893
<artifactId>flatten-maven-plugin</artifactId>
876-
<version>1.3.0</version>
894+
<version>${flatten-maven-plugin.version}</version>
877895
</plugin>
878896
<plugin>
879897
<groupId>org.jacoco</groupId>
@@ -883,15 +901,15 @@ under the License.
883901
<plugin>
884902
<groupId>org.codehaus.mojo</groupId>
885903
<artifactId>build-helper-maven-plugin</artifactId>
886-
<version>3.2.0</version>
904+
<version>${build-helper-maven-plugin.version}</version>
887905
</plugin>
888906
</plugins>
889907
</pluginManagement>
890908
<plugins>
891909
<plugin>
892910
<groupId>org.scalastyle</groupId>
893911
<artifactId>scalastyle-maven-plugin</artifactId>
894-
<version>1.0.0</version>
912+
<version>${scalastyle-maven-plugin.version}</version>
895913
<configuration>
896914
<verbose>false</verbose>
897915
<failOnViolation>true</failOnViolation>
@@ -947,7 +965,7 @@ under the License.
947965
<plugin>
948966
<groupId>org.apache.rat</groupId>
949967
<artifactId>apache-rat-plugin</artifactId>
950-
<version>0.16</version>
968+
<version>${apache-rat-plugin.version}</version>
951969
<executions>
952970
<execution>
953971
<phase>verify</phase>
@@ -1001,7 +1019,7 @@ under the License.
10011019
<plugin>
10021020
<groupId>org.apache.maven.plugins</groupId>
10031021
<artifactId>maven-enforcer-plugin</artifactId>
1004-
<version>3.1.0</version>
1022+
<version>${maven-enforcer-plugin.version}</version>
10051023
<executions>
10061024
<execution>
10071025
<id>no-duplicate-declared-dependencies</id>
@@ -1064,7 +1082,7 @@ under the License.
10641082
<dependency>
10651083
<groupId>org.codehaus.mojo</groupId>
10661084
<artifactId>extra-enforcer-rules</artifactId>
1067-
<version>1.6.1</version>
1085+
<version>${extra-enforcer-rules.version}</version>
10681086
</dependency>
10691087
</dependencies>
10701088
</plugin>

spark/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ under the License.
172172
<plugin>
173173
<groupId>com.github.os72</groupId>
174174
<artifactId>protoc-jar-maven-plugin</artifactId>
175-
<version>3.11.4</version>
175+
<version>${protoc-jar-maven-plugin.version}</version>
176176
<executions>
177177
<execution>
178178
<phase>generate-sources</phase>
@@ -307,7 +307,7 @@ under the License.
307307
<plugin>
308308
<groupId>org.codehaus.mojo</groupId>
309309
<artifactId>exec-maven-plugin</artifactId>
310-
<version>3.2.0</version>
310+
<version>${exec-maven-plugin.version}</version>
311311
<executions>
312312
<execution>
313313
<id>generate-user-guide-reference-docs</id>

0 commit comments

Comments
 (0)