pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.7.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. </dependency>
  25. <dependency>
  26. <groupId>org.apache.spark</groupId>
  27. <artifactId>spark-assembly_${scala.binary.version}</artifactId>
  28. <version>${spark.version}</version>
  29. <scope>test</scope>
  30. <exclusions>
  31. <exclusion>
  32. <groupId>org.apache.httpcomponents</groupId>
  33. <artifactId>httpclient</artifactId>
  34. </exclusion>
  35. <exclusion>
  36. <groupId>org.apache.httpcomponents</groupId>
  37. <artifactId>httpcore</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.spark</groupId>
  43. <artifactId>spark-core_${scala.binary.version}</artifactId>
  44. <version>${spark.version}</version>
  45. <scope>provided</scope>
  46. <exclusions>
  47. <exclusion>
  48. <groupId>org.apache.httpcomponents</groupId>
  49. <artifactId>httpclient</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>org.apache.httpcomponents</groupId>
  53. <artifactId>httpcore</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.spark</groupId>
  59. <artifactId>spark-repl_${scala.binary.version}</artifactId>
  60. <version>${spark.version}</version>
  61. <scope>provided</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.json4s</groupId>
  65. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>net.sf.py4j</groupId>
  69. <artifactId>py4j</artifactId>
  70. <version>0.8.2.1</version>
  71. <scope>provided</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>net.databinder.dispatch</groupId>
  75. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>net.databinder.dispatch</groupId>
  79. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-jar-plugin</artifactId>
  87. <configuration>
  88. <archive>
  89. <manifest>
  90. <addClasspath>true</addClasspath>
  91. <classpathPrefix>lib/</classpathPrefix>
  92. <mainClass>com.cloudera.hue.livy.repl.Main</mainClass>
  93. </manifest>
  94. </archive>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-surefire-plugin</artifactId>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.scalatest</groupId>
  103. <artifactId>scalatest-maven-plugin</artifactId>
  104. <version>1.0</version>
  105. <configuration>
  106. <systemProperties>
  107. <spark.master>local</spark.master>
  108. <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
  109. <spark.ui.enabled>false</spark.ui.enabled>
  110. <settings.usejavacp.value>true</settings.usejavacp.value>
  111. </systemProperties>
  112. </configuration>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>