|
54 | 54 | <protobufVersion>3.25.5</protobufVersion> |
55 | 55 | <nettyVersion>4.2.7.Final</nettyVersion> |
56 | 56 | <javaVersion>8</javaVersion> |
| 57 | + <maven.compiler.source>${javaVersion}</maven.compiler.source> |
| 58 | + <maven.compiler.target>${javaVersion}</maven.compiler.target> |
57 | 59 | <scalaVersion>2.12</scalaVersion> |
58 | 60 | <scalaLongVersion>2.12.18</scalaLongVersion> |
| 61 | + <scala-xml.version>2.1.0</scala-xml.version> |
59 | 62 | <scalaJava8CompatVersion>1.0.2</scalaJava8CompatVersion> |
60 | 63 | <maven.version>3.9.12</maven.version> |
61 | 64 | <maven.plugin.scala.version>4.9.2</maven.plugin.scala.version> |
|
462 | 465 | <version>${maven.plugin.surefire.version}</version> |
463 | 466 | <!-- Note config is repeated in scalatest config --> |
464 | 467 | <configuration> |
| 468 | + <forkCount>1</forkCount> |
| 469 | + <reuseForks>false</reuseForks> |
465 | 470 | <skipTests>false</skipTests> |
466 | 471 | <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests> |
467 | 472 | <argLine>${extraJavaTestArgs}</argLine> |
|
483 | 488 | <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
484 | 489 | <junitxml>.</junitxml> |
485 | 490 | <filereports>TestSuite.txt</filereports> |
| 491 | + <forkMode>once</forkMode> |
486 | 492 | <argLine>${extraJavaTestArgs}</argLine> |
487 | 493 | <environmentVariables /> |
488 | 494 | <systemProperties> |
|
824 | 830 | </properties> |
825 | 831 | </profile> |
826 | 832 |
|
| 833 | + <profile> |
| 834 | + <id>spark-4.1</id> |
| 835 | + <properties> |
| 836 | + <shimName>spark-4.1</shimName> |
| 837 | + <scalaTestVersion>3.2.9</scalaTestVersion> |
| 838 | + <sparkVersion>4.1.1</sparkVersion> |
| 839 | + <shortSparkVersion>4.1</shortSparkVersion> |
| 840 | + <nettyVersion>4.1.118.Final</nettyVersion> |
| 841 | + </properties> |
| 842 | + <build> |
| 843 | + <plugins> |
| 844 | + <plugin> |
| 845 | + <groupId>org.apache.maven.plugins</groupId> |
| 846 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 847 | + <version>${maven-enforcer-plugin.version}</version> |
| 848 | + <executions> |
| 849 | + <execution> |
| 850 | + <id>spark41-enforce-java-scala-version</id> |
| 851 | + <goals> |
| 852 | + <goal>enforce</goal> |
| 853 | + </goals> |
| 854 | + <configuration> |
| 855 | + <rules> |
| 856 | + <!-- Spark 4.1 requires JDK 17+ and Scala 2.13.x --> |
| 857 | + <requireJavaVersion> |
| 858 | + <version>[17,)</version> |
| 859 | + <message>Spark 4.1 requires JDK 17 or higher. Current: ${java.version}</message> |
| 860 | + </requireJavaVersion> |
| 861 | + <requireProperty> |
| 862 | + <property>scalaLongVersion</property> |
| 863 | + <regex>2\.13\.\d+</regex> |
| 864 | + <regexMessage>Spark 4.1 requires Scala 2.13.x. Current: ${scalaLongVersion}</regexMessage> |
| 865 | + </requireProperty> |
| 866 | + </rules> |
| 867 | + </configuration> |
| 868 | + </execution> |
| 869 | + </executions> |
| 870 | + </plugin> |
| 871 | + </plugins> |
| 872 | + </build> |
| 873 | + </profile> |
| 874 | + |
827 | 875 | <profile> |
828 | 876 | <id>jdk-8</id> |
829 | 877 | <activation> |
|
832 | 880 | <properties> |
833 | 881 | <javaVersion>8</javaVersion> |
834 | 882 | <spotless.plugin.version>2.30.0</spotless.plugin.version> |
835 | | - <semanticdb.version>4.8.8</semanticdb.version> |
| 883 | + <semanticdb.version>4.14.5</semanticdb.version> |
836 | 884 | <scalafmtVersion>3.0.0</scalafmtVersion> |
837 | 885 | </properties> |
838 | 886 | </profile> |
|
845 | 893 | <properties> |
846 | 894 | <javaVersion>11</javaVersion> |
847 | 895 | <spotless.plugin.version>2.30.0</spotless.plugin.version> |
848 | | - <semanticdb.version>4.8.8</semanticdb.version> |
| 896 | + <semanticdb.version>4.14.5</semanticdb.version> |
849 | 897 | <scalafmtVersion>3.0.0</scalafmtVersion> |
850 | 898 | </properties> |
851 | 899 | </profile> |
|
858 | 906 | <properties> |
859 | 907 | <javaVersion>17</javaVersion> |
860 | 908 | <spotless.plugin.version>2.45.0</spotless.plugin.version> |
861 | | - <semanticdb.version>4.9.9</semanticdb.version> |
| 909 | + <semanticdb.version>4.14.5</semanticdb.version> |
862 | 910 | <scalafmtVersion>3.9.9</scalafmtVersion> |
863 | 911 | </properties> |
864 | 912 | </profile> |
|
871 | 919 | <properties> |
872 | 920 | <javaVersion>21</javaVersion> |
873 | 921 | <spotless.plugin.version>2.45.0</spotless.plugin.version> |
874 | | - <semanticdb.version>4.9.9</semanticdb.version> |
| 922 | + <semanticdb.version>4.14.5</semanticdb.version> |
875 | 923 | <scalafmtVersion>3.9.9</scalafmtVersion> |
876 | 924 | </properties> |
877 | 925 | </profile> |
|
918 | 966 | </activation> |
919 | 967 | <properties> |
920 | 968 | <scalaVersion>2.13</scalaVersion> |
921 | | - <scalaLongVersion>2.13.13</scalaLongVersion> |
| 969 | + <scalaLongVersion>2.13.17</scalaLongVersion> |
922 | 970 | </properties> |
923 | 971 | <build> |
924 | 972 | <plugins> |
|
0 commit comments