pom.xml 6.4 KB

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