pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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</artifactId>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <PermGen>64m</PermGen>
  16. <MaxPermGen>512m</MaxPermGen>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.apache.spark</groupId>
  21. <artifactId>spark-repl_2.10</artifactId>
  22. <version>${spark.version}</version>
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.eclipse.jetty</groupId>
  26. <artifactId>jetty-server</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.json4s</groupId>
  32. <artifactId>json4s-jackson_2.10</artifactId>
  33. <version>${json4s.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.scalatra</groupId>
  37. <artifactId>scalatra_2.10</artifactId>
  38. <version>${scalatra.version}</version>
  39. <scope>compile</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.scalatra</groupId>
  43. <artifactId>scalatra-json_2.10</artifactId>
  44. <version>${scalatra.version}</version>
  45. <scope>compile</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.hadoop</groupId>
  49. <artifactId>hadoop-yarn-client</artifactId>
  50. <version>${hadoop.version}</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.hadoop</groupId>
  55. <artifactId>hadoop-yarn-api</artifactId>
  56. <version>${hadoop.version}</version>
  57. <scope>provided</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.cloudera.hue.livy</groupId>
  61. <artifactId>livy-core</artifactId>
  62. <version>${project.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>ch.qos.logback</groupId>
  66. <artifactId>logback-access</artifactId>
  67. <version>${logback.version}</version>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.scala-tools</groupId>
  74. <artifactId>maven-scala-plugin</artifactId>
  75. <version>2.15.2</version>
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>compile</goal>
  80. <goal>testCompile</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-dependency-plugin</artifactId>
  88. <version>2.9</version>
  89. <executions>
  90. <execution>
  91. <id>copy-dependencies</id>
  92. <phase>prepare-package</phase>
  93. <goals>
  94. <goal>copy-dependencies</goal>
  95. </goals>
  96. <configuration>
  97. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  98. <overWriteReleases>false</overWriteReleases>
  99. <overWriteSnapshots>false</overWriteSnapshots>
  100. <overWriteIfNewer>true</overWriteIfNewer>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-jar-plugin</artifactId>
  108. <version>2.5</version>
  109. <configuration>
  110. <archive>
  111. <manifest>
  112. <addClasspath>true</addClasspath>
  113. <classpathPrefix>lib/</classpathPrefix>
  114. <mainClass>com.cloudera.hue.livy.repl.Main</mainClass>
  115. </manifest>
  116. </archive>
  117. </configuration>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. <reporting>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.scala-tools</groupId>
  125. <artifactId>maven-scala-plugin</artifactId>
  126. <configuration>
  127. <scalaVersion>${scala.version}</scalaVersion>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </reporting>
  132. </project>