pom.xml 4.7 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. <hadoop.version>2.5.0</hadoop.version>
  16. <scala.binary.version>2.10</scala.binary.version>
  17. <scala.macros.version>2.0.1</scala.macros.version>
  18. <scala.version>2.10.3</scala.version>
  19. <scalatra.version>2.2.1</scalatra.version>
  20. <spark.version>1.1.0</spark.version>
  21. <PermGen>64m</PermGen>
  22. <MaxPermGen>512m</MaxPermGen>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.apache.spark</groupId>
  27. <artifactId>spark-repl_2.10</artifactId>
  28. <version>${spark.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.json4s</groupId>
  32. <artifactId>json4s-jackson_2.10</artifactId>
  33. <version>3.2.11</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. </dependencies>
  60. <build>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.scala-tools</groupId>
  64. <artifactId>maven-scala-plugin</artifactId>
  65. <version>2.15.2</version>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>compile</goal>
  70. <goal>testCompile</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-dependency-plugin</artifactId>
  78. <version>2.9</version>
  79. <executions>
  80. <execution>
  81. <id>copy-dependencies</id>
  82. <phase>prepare-package</phase>
  83. <goals>
  84. <goal>copy-dependencies</goal>
  85. </goals>
  86. <configuration>
  87. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  88. <overWriteReleases>false</overWriteReleases>
  89. <overWriteSnapshots>false</overWriteSnapshots>
  90. <overWriteIfNewer>true</overWriteIfNewer>
  91. </configuration>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-jar-plugin</artifactId>
  98. <version>2.5</version>
  99. <configuration>
  100. <archive>
  101. <manifest>
  102. <addClasspath>true</addClasspath>
  103. <classpathPrefix>lib/</classpathPrefix>
  104. <mainClass>com.cloudera.hue.livy.repl.Main</mainClass>
  105. </manifest>
  106. </archive>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. <reporting>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.scala-tools</groupId>
  115. <artifactId>maven-scala-plugin</artifactId>
  116. <configuration>
  117. <scalaVersion>${scala.version}</scalaVersion>
  118. </configuration>
  119. </plugin>
  120. </plugins>
  121. </reporting>
  122. </project>