5
5
<modelVersion >4.0.0</modelVersion >
6
6
7
7
<groupId >com.amazon.deequ</groupId >
8
- <artifactId >deequ${artifact.scala.version} </artifactId >
8
+ <artifactId >deequ${artifact.scala.version}${artifact.spark.version} </artifactId >
9
9
<version >1.1.0-SNAPSHOT</version >
10
10
11
11
<name >deequ</name >
58
58
<maven .compiler.source>1.8</maven .compiler.source>
59
59
<maven .compiler.target>1.8</maven .compiler.target>
60
60
<encoding >UTF-8</encoding >
61
- <scala .major.version>2.11</scala .major.version>
61
+
62
+ <!-- Scala -->
63
+ <scala .major.version>${scala-211.major.version} </scala .major.version>
62
64
<scala .version>${scala.major.version} .10</scala .version>
65
+ <scala-211 .major.version>2.11</scala-211 .major.version>
66
+ <scala-212 .major.version>2.12</scala-212 .major.version>
63
67
<artifact .scala.version></artifact .scala.version>
64
68
<scala-maven-plugin .version>4.4.0</scala-maven-plugin .version>
65
- <!-- Spark -->
66
69
70
+ <!-- Spark -->
67
71
<spark .version>${spark-24.version} </spark .version>
68
72
<spark-22 .version>2.2.2</spark-22 .version>
69
73
<spark-23 .version>2.3.2</spark-23 .version>
70
74
<spark-24 .version>2.4.2</spark-24 .version>
71
75
<spark-30 .version>3.0.0</spark-30 .version>
76
+ <artifact .spark.version></artifact .spark.version>
72
77
</properties >
73
78
74
79
<dependencies >
399
404
</build >
400
405
</profile >
401
406
<profile >
402
- <id >scala-2.12</id >
403
- <properties >
404
- <scala .major.version>2.12</scala .major.version>
405
- <scala .version>${scala.major.version} .10</scala .version>
406
- <artifact .scala.version>_${scala.major.version} </artifact .scala.version>
407
- </properties >
408
- </profile >
409
- <profile >
410
- <id >spark-2.2</id >
407
+ <id >spark-2.2-scala-2.11</id >
411
408
<properties >
412
409
<spark .version>${spark-22.version} </spark .version>
410
+ <scala .major.version>${scala-211.major.version} </scala .major.version>
411
+ <scala .version>${scala.major.version} .10</scala .version>
412
+ <artifact .scala.version>_scala-${scala.major.version} </artifact .scala.version>
413
+ <artifact .spark.version>_spark-${spark.version} </artifact .spark.version>
413
414
</properties >
414
415
</profile >
415
416
<profile >
416
- <id >spark-2.3</id >
417
+ <id >spark-2.3-scala-2.11 </id >
417
418
<properties >
418
419
<spark .version>${spark-23.version} </spark .version>
420
+ <scala .major.version>${scala-211.major.version} </scala .major.version>
421
+ <scala .version>${scala.major.version} .10</scala .version>
422
+ <artifact .scala.version>_scala-${scala.major.version} </artifact .scala.version>
423
+ <artifact .spark.version>_spark-${spark.version} </artifact .spark.version>
419
424
</properties >
420
425
</profile >
421
426
<profile >
422
- <id >spark-2.4</id >
427
+ <id >spark-2.4-scala-2.11 </id >
423
428
<properties >
424
429
<spark .version>${spark-24.version} </spark .version>
430
+ <scala .major.version>${scala-211.major.version} </scala .major.version>
431
+ <scala .version>${scala.major.version} .10</scala .version>
432
+ <artifact .scala.version>_scala-${scala.major.version} </artifact .scala.version>
433
+ <artifact .spark.version>_spark-${spark.version} </artifact .spark.version>
425
434
</properties >
426
435
</profile >
427
436
<profile >
428
- <id >spark-3.0</id >
437
+ <id >spark-3.0-scala-2.12 </id >
429
438
<properties >
430
439
<spark .version>${spark-30.version} </spark .version>
440
+ <scala .major.version>${scala-212.major.version} </scala .major.version>
441
+ <scala .version>${scala.major.version} .10</scala .version>
442
+ <artifact .scala.version>_scala-${scala.major.version} </artifact .scala.version>
443
+ <artifact .spark.version>_spark-${spark.version} </artifact .spark.version>
431
444
</properties >
432
445
</profile >
433
446
</profiles >
434
447
435
- </project >
448
+ </project >
0 commit comments