pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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-yarn_${scala.binary.version}</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.fasterxml.jackson.core</groupId>
  43. <artifactId>jackson-core</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.fasterxml.jackson.core</groupId>
  47. <artifactId>jackson-databind</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>io.dropwizard.metrics</groupId>
  51. <artifactId>metrics-core</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.dropwizard.metrics</groupId>
  55. <artifactId>metrics-healthchecks</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>javax.servlet</groupId>
  59. <artifactId>javax.servlet-api</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.hadoop</groupId>
  63. <artifactId>hadoop-common</artifactId>
  64. <scope>provided</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.hadoop</groupId>
  68. <artifactId>hadoop-client</artifactId>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.httpcomponents</groupId>
  73. <artifactId>httpclient</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.eclipse.jetty</groupId>
  78. <artifactId>jetty-server</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.eclipse.jetty</groupId>
  82. <artifactId>jetty-servlet</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.json4s</groupId>
  86. <artifactId>json4s-ast_${scala.binary.version}</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.json4s</groupId>
  90. <artifactId>json4s-core_${scala.binary.version}</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.json4s</groupId>
  94. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.scala-lang</groupId>
  98. <artifactId>scala-library</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.scalatest</groupId>
  102. <artifactId>scalatest_${scala.binary.version}</artifactId>
  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-metrics_${scala.binary.version}</artifactId>
  115. <version>2.4.0.M3</version>
  116. <exclusions>
  117. <exclusion>
  118. <groupId>com.typesafe.akka</groupId>
  119. <artifactId>akka-actor_${scala.binary.version}</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.scalatra</groupId>
  125. <artifactId>scalatra-scalatest_${scala.binary.version}</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.scalatra</groupId>
  130. <artifactId>scalatra-test_${scala.binary.version}</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.slf4j</groupId>
  135. <artifactId>slf4j-api</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>net.databinder.dispatch</groupId>
  139. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>net.databinder.dispatch</groupId>
  143. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  144. </dependency>
  145. </dependencies>
  146. <build>
  147. <plugins>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-jar-plugin</artifactId>
  151. <configuration>
  152. <archive>
  153. <manifest>
  154. <mainClass>com.cloudera.hue.livy.server.Main</mainClass>
  155. </manifest>
  156. </archive>
  157. </configuration>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-surefire-plugin</artifactId>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.scalatest</groupId>
  165. <artifactId>scalatest-maven-plugin</artifactId>
  166. <version>1.0</version>
  167. <configuration>
  168. <systemProperties>
  169. <spark.master>local</spark.master>
  170. <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
  171. <spark.ui.enabled>false</spark.ui.enabled>
  172. <settings.usejavacp.value>true</settings.usejavacp.value>
  173. <livy.repl.jar>../livy-repl/target/livy-repl_${scala.binary.version}-${project.version}.jar</livy.repl.jar>
  174. </systemProperties>
  175. </configuration>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </project>