Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.myCompany.scala</groupId>
  4. <artifactId>sparkExample</artifactId>
  5. <version>1.0-SNAPSHOT</version>
  6. <inceptionYear>2008</inceptionYear>
  7.  
  8.  
  9. <properties>
  10. <scala.version>2.12.8</scala.version>
  11. <spark.version>2.4.2</spark.version>
  12. </properties>
  13.  
  14.  
  15.  
  16. <repositories>
  17. <repository>
  18. <id>scala-tools.org</id>
  19. <name>Scala-Tools Maven2 Repository</name>
  20. <url>http://scala-tools.org/repo-releases</url>
  21. </repository>
  22. </repositories>
  23.  
  24.  
  25.  
  26. <pluginRepositories>
  27. <pluginRepository>
  28. <id>scala-tools.org</id>
  29. <name>Scala-Tools Maven2 Repository</name>
  30. <url>http://scala-tools.org/repo-releases</url>
  31. </pluginRepository>
  32. </pluginRepositories>
  33.  
  34.  
  35.  
  36. <dependencies>
  37.  
  38. <dependency>
  39. <groupId>io.delta</groupId>
  40. <artifactId>delta-core_2.12</artifactId>
  41. <version>0.4.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.spark</groupId>
  45. <artifactId>spark-core_2.12</artifactId>
  46. <version>${spark.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.spark</groupId>
  50. <artifactId>spark-sql_2.12</artifactId>
  51. <version>${spark.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.spark</groupId>
  55. <artifactId>spark-mllib_2.12</artifactId>
  56. <version>${spark.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.scala-lang</groupId>
  60. <artifactId>scala-library</artifactId>
  61. <version>${scala.version}</version>
  62. </dependency>
  63. </dependencies>
  64.  
  65.  
  66.  
  67. <build>
  68. <sourceDirectory>src/main/scala</sourceDirectory>
  69. <plugins>
  70.  
  71. <plugin>
  72. <groupId>org.scala-tools</groupId>
  73. <artifactId>maven-scala-plugin</artifactId>
  74. <executions>
  75. <execution>
  76. <goals>
  77. <goal>compile</goal>
  78. <goal>testCompile</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. <configuration>
  83. <scalaVersion>${scala.version}</scalaVersion>
  84. <args>
  85. <arg>-target:jvm-1.5</arg>
  86. </args>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90. </build>
  91.  
  92.  
  93. <reporting>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.scala-tools</groupId>
  97. <artifactId>maven-scala-plugin</artifactId>
  98. <configuration>
  99. <scalaVersion>${scala.version}</scalaVersion>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. </reporting>
  104. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement