pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>com.cloudera.hue.livy</groupId>
  23. <artifactId>livy-main</artifactId>
  24. <relativePath>../pom.xml</relativePath>
  25. <version>0.2.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>livy-server_2.10</artifactId>
  28. <version>0.2.0-SNAPSHOT</version>
  29. <packaging>jar</packaging>
  30. <dependencies>
  31. <dependency>
  32. <groupId>${project.groupId}</groupId>
  33. <artifactId>livy-core_${scala.binary.version}</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>${project.groupId}</groupId>
  38. <artifactId>livy-core_${scala.binary.version}</artifactId>
  39. <version>${project.version}</version>
  40. <type>test-jar</type>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>${project.groupId}</groupId>
  45. <artifactId>livy-yarn_${scala.binary.version}</artifactId>
  46. <version>${project.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.fasterxml.jackson.core</groupId>
  50. <artifactId>jackson-core</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.fasterxml.jackson.core</groupId>
  54. <artifactId>jackson-databind</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.dropwizard.metrics</groupId>
  58. <artifactId>metrics-core</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.dropwizard.metrics</groupId>
  62. <artifactId>metrics-healthchecks</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>javax.servlet</groupId>
  66. <artifactId>javax.servlet-api</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.hadoop</groupId>
  70. <artifactId>hadoop-common</artifactId>
  71. <scope>provided</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.hadoop</groupId>
  75. <artifactId>hadoop-client</artifactId>
  76. <scope>provided</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.httpcomponents</groupId>
  80. <artifactId>httpclient</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.eclipse.jetty</groupId>
  85. <artifactId>jetty-server</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.eclipse.jetty</groupId>
  89. <artifactId>jetty-servlet</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.json4s</groupId>
  93. <artifactId>json4s-ast_${scala.binary.version}</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.json4s</groupId>
  97. <artifactId>json4s-core_${scala.binary.version}</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.json4s</groupId>
  101. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.scala-lang</groupId>
  105. <artifactId>scala-library</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.scalatest</groupId>
  109. <artifactId>scalatest_${scala.binary.version}</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.scalatra</groupId>
  113. <artifactId>scalatra_${scala.binary.version}</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.scalatra</groupId>
  117. <artifactId>scalatra-json_${scala.binary.version}</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.scalatra</groupId>
  121. <artifactId>scalatra-metrics_${scala.binary.version}</artifactId>
  122. <version>2.4.0.M3</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>com.typesafe.akka</groupId>
  126. <artifactId>akka-actor_${scala.binary.version}</artifactId>
  127. </exclusion>
  128. </exclusions>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.scalatra</groupId>
  132. <artifactId>scalatra-scalatest_${scala.binary.version}</artifactId>
  133. <scope>test</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.scalatra</groupId>
  137. <artifactId>scalatra-test_${scala.binary.version}</artifactId>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.slf4j</groupId>
  142. <artifactId>slf4j-api</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>net.databinder.dispatch</groupId>
  146. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>net.databinder.dispatch</groupId>
  150. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  151. </dependency>
  152. </dependencies>
  153. <build>
  154. <plugins>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-jar-plugin</artifactId>
  158. <configuration>
  159. <archive>
  160. <manifest>
  161. <mainClass>com.cloudera.hue.livy.server.Main</mainClass>
  162. </manifest>
  163. </archive>
  164. </configuration>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-surefire-plugin</artifactId>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.scalatest</groupId>
  172. <artifactId>scalatest-maven-plugin</artifactId>
  173. <version>1.0</version>
  174. <configuration>
  175. <systemProperties>
  176. <spark.master>local</spark.master>
  177. <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
  178. <spark.ui.enabled>false</spark.ui.enabled>
  179. <settings.usejavacp.value>true</settings.usejavacp.value>
  180. <livy.repl.jar>../livy-repl/target/livy-repl_${scala.binary.version}-${project.version}.jar</livy.repl.jar>
  181. </systemProperties>
  182. </configuration>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>