Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>data-ingestion</groupId>
  8. <artifactId>data-ingestion</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. <build>
  11. <plugins>
  12. <!-- This plugin compiles Scala files -->
  13.  
  14. <plugin>
  15. <groupId>net.alchim31.maven</groupId>
  16. <artifactId>scala-maven-plugin</artifactId>
  17. <executions>
  18. <execution>
  19. <id>scala-compile-first</id>
  20. <phase>process-resources</phase>
  21. <goals>
  22. <goal>add-source</goal>
  23. <goal>compile</goal>
  24. </goals>
  25. </execution>
  26. <execution>
  27. <id>scala-test-compile</id>
  28. <phase>process-test-resources</phase>
  29. <goals>
  30. <goal>testCompile</goal>
  31. </goals>
  32. </execution>
  33. </executions>
  34. </plugin>
  35.  
  36.  
  37. <plugin>
  38. <artifactId>maven-assembly-plugin</artifactId>
  39. <version>2.5.3</version>
  40. <configuration>
  41. <descriptorRefs>
  42. <descriptorRef>jar-with-dependencies</descriptorRef>
  43. </descriptorRefs>
  44. <archive>
  45. <manifest>
  46. <mainClass>Main</mainClass>
  47. </manifest>
  48. </archive>
  49. </configuration>
  50. <executions>
  51. <execution>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>single</goal>
  55. </goals>
  56. </execution>
  57. </executions>
  58. </plugin>
  59.  
  60.  
  61. <!-- This plugin compiles Java files -->
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <configuration>
  66. <source>8</source>
  67. <target>8</target>
  68. </configuration>
  69. </plugin>
  70. </plugins>
  71. </build>
  72.  
  73. <dependencies>
  74. <dependency>
  75. <groupId>org.scala-lang</groupId>
  76. <artifactId>scala-library</artifactId>
  77. <version>2.12.10</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.hadoop</groupId>
  81. <artifactId>hadoop-hdfs</artifactId>
  82. <version>2.6.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.hadoop</groupId>
  86. <artifactId>hadoop-common</artifactId>
  87. <version>2.6.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.spark</groupId>
  91. <artifactId>spark-core_2.12</artifactId>
  92. <version>2.4.3</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.hbase</groupId>
  96. <artifactId>hbase-client</artifactId>
  97. <version>2.0.2</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.hbase</groupId>
  101. <artifactId>hbase</artifactId>
  102. <version>2.0.2</version>
  103. <type>pom</type>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.hbase</groupId>
  107. <artifactId>hbase-common</artifactId>
  108. <version>2.0.2</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.spark</groupId>
  112. <artifactId>spark-sql_2.12</artifactId>
  113. <version>2.4.3</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.databricks</groupId>
  117. <artifactId>spark-xml_2.12</artifactId>
  118. <version>0.7.0</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.google.openlocationcode</groupId>
  122. <artifactId>openlocationcode</artifactId>
  123. <version>1.0.4</version>
  124. </dependency>
  125.  
  126. <dependency>
  127. <groupId>org.apache.hbase.connectors.spark</groupId>
  128. <artifactId>hbase-spark</artifactId>
  129. <version>1.0.0</version>
  130. </dependency>
  131.  
  132. </dependencies>
  133.  
  134. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement