pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. <parent>
  7. <groupId>com.cloudera.hue.livy</groupId>
  8. <artifactId>livy-main</artifactId>
  9. <relativePath>../pom.xml</relativePath>
  10. <version>0.2.0-SNAPSHOT</version>
  11. </parent>
  12. <artifactId>livy-repl_2.10</artifactId>
  13. <version>0.2.0-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <dependency>
  17. <groupId>${project.groupId}</groupId>
  18. <artifactId>livy-core_${scala.binary.version}</artifactId>
  19. <version>${project.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.fasterxml.jackson.core</groupId>
  23. <artifactId>jackson-core</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.fasterxml.jackson.module</groupId>
  27. <artifactId>jackson-module-scala_${scala.binary.version}</artifactId>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.fasterxml.jackson.core</groupId>
  32. <artifactId>jackson-databind</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>commons-codec</groupId>
  36. <artifactId>commons-codec</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>javax.servlet</groupId>
  40. <artifactId>javax.servlet-api</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.httpcomponents</groupId>
  44. <artifactId>httpclient</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.spark</groupId>
  49. <artifactId>spark-repl_${scala.binary.version}</artifactId>
  50. <version>${spark.version}</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.spark</groupId>
  55. <artifactId>spark-core_${scala.binary.version}</artifactId>
  56. <version>${spark.version}</version>
  57. <scope>provided</scope>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.apache.httpcomponents</groupId>
  61. <artifactId>httpclient</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>org.apache.httpcomponents</groupId>
  65. <artifactId>httpcore</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>com.fasterxml.jackson.core</groupId>
  69. <artifactId>jackson-core</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.eclipse.jetty</groupId>
  75. <artifactId>jetty-server</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.eclipse.jetty</groupId>
  79. <artifactId>jetty-servlet</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.json4s</groupId>
  83. <artifactId>json4s-ast_${scala.binary.version}</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.json4s</groupId>
  87. <artifactId>json4s-core_${scala.binary.version}</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.json4s</groupId>
  91. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.scala-lang</groupId>
  95. <artifactId>scala-compiler</artifactId>
  96. <scope>provided</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.scala-lang</groupId>
  100. <artifactId>scala-library</artifactId>
  101. <scope>provided</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.scala-lang</groupId>
  105. <artifactId>scala-reflect</artifactId>
  106. <scope>provided</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.scalatest</groupId>
  110. <artifactId>scalatest_${scala.binary.version}</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.scalatra</groupId>
  115. <artifactId>scalatra_${scala.binary.version}</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.scalatra</groupId>
  119. <artifactId>scalatra-json_${scala.binary.version}</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.scalatra</groupId>
  123. <artifactId>scalatra-scalatest_${scala.binary.version}</artifactId>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.scalatra</groupId>
  128. <artifactId>scalatra-test_${scala.binary.version}</artifactId>
  129. <scope>test</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.slf4j</groupId>
  133. <artifactId>slf4j-api</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.xerial.snappy</groupId>
  137. <artifactId>snappy-java</artifactId>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>net.sf.py4j</groupId>
  142. <artifactId>py4j</artifactId>
  143. <scope>provided</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>net.databinder.dispatch</groupId>
  147. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  148. </dependency>
  149. </dependencies>
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-jar-plugin</artifactId>
  155. <configuration>
  156. <archive>
  157. <manifest>
  158. <mainClass>com.cloudera.hue.livy.repl.Main</mainClass>
  159. </manifest>
  160. </archive>
  161. </configuration>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-surefire-plugin</artifactId>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.scalatest</groupId>
  169. <artifactId>scalatest-maven-plugin</artifactId>
  170. <version>1.0</version>
  171. <configuration>
  172. <systemProperties>
  173. <spark.app.name>Livy</spark.app.name>
  174. <spark.master>local</spark.master>
  175. <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
  176. <spark.ui.enabled>false</spark.ui.enabled>
  177. <settings.usejavacp.value>true</settings.usejavacp.value>
  178. </systemProperties>
  179. </configuration>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. </project>