pom.xml 5.8 KB

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