pom.xml 4.6 KB

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