pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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>3.9.0-SNAPSHOT</version>
  11. </parent>
  12. <artifactId>livy-repl_2.10</artifactId>
  13. <version>0.2.0</version>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.cloudera.hue.livy</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.json4s</groupId>
  96. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>net.sf.py4j</groupId>
  100. <artifactId>py4j</artifactId>
  101. <version>0.8.2.1</version>
  102. <scope>provided</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>net.databinder.dispatch</groupId>
  106. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>net.databinder.dispatch</groupId>
  110. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-jar-plugin</artifactId>
  118. <configuration>
  119. <archive>
  120. <manifest>
  121. <addClasspath>true</addClasspath>
  122. <classpathPrefix>lib/</classpathPrefix>
  123. <mainClass>com.cloudera.hue.livy.repl.Main</mainClass>
  124. </manifest>
  125. </archive>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-surefire-plugin</artifactId>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.scalatest</groupId>
  134. <artifactId>scalatest-maven-plugin</artifactId>
  135. <version>1.0</version>
  136. <configuration>
  137. <systemProperties>
  138. <spark.app.name>Livy</spark.app.name>
  139. <spark.master>local</spark.master>
  140. <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
  141. <spark.ui.enabled>false</spark.ui.enabled>
  142. <settings.usejavacp.value>true</settings.usejavacp.value>
  143. </systemProperties>
  144. </configuration>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. </project>