pom.xml 6.6 KB

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