pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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.sparker</groupId>
  8. <artifactId>sparker-main</artifactId>
  9. <relativePath>../pom.xml</relativePath>
  10. <version>3.7.0-SNAPSHOT</version>
  11. </parent>
  12. <artifactId>sparker-repl</artifactId>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <scala.version>2.10.4</scala.version>
  16. <scala.binary.version>2.10</scala.binary.version>
  17. <scala.macros.version>2.0.1</scala.macros.version>
  18. <spark.version>1.1.0-cdh5.2.0-SNAPSHOT</spark.version>
  19. <PermGen>64m</PermGen>
  20. <MaxPermGen>512m</MaxPermGen>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.apache.spark</groupId>
  25. <artifactId>spark-repl_2.10</artifactId>
  26. <version>${spark.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.json4s</groupId>
  30. <artifactId>json4s-core_2.10</artifactId>
  31. <version>3.2.11</version>
  32. </dependency>
  33. </dependencies>
  34. <build>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.scala-tools</groupId>
  38. <artifactId>maven-scala-plugin</artifactId>
  39. <executions>
  40. <execution>
  41. <goals>
  42. <goal>compile</goal>
  43. <goal>testCompile</goal>
  44. </goals>
  45. </execution>
  46. <!--
  47. <execution>
  48. <id>scala-compile-first</id>
  49. <phase>process-resources</phase>
  50. <goals>
  51. <goal>compile</goal>
  52. </goals>
  53. </execution>
  54. <execution>
  55. <id>scala-test-compile-first</id>
  56. <phase>process-test-resources</phase>
  57. <goals>
  58. <goal>testCompile</goal>
  59. </goals>
  60. </execution>
  61. <execution>
  62. <id>attach-scaladocs</id>
  63. <phase>verify</phase>
  64. <goals>
  65. <goal>doc-jar</goal>
  66. </goals>
  67. </execution>
  68. -->
  69. </executions>
  70. <configuration>
  71. <!--
  72. <scalaVersion>${scala.version}</scalaVersion>
  73. <recompileMode>incremental</recompileMode>
  74. <useZincServer>true</useZincServer>
  75. <args>
  76. <arg>-unchecked</arg>
  77. <arg>-deprecation</arg>
  78. <arg>-feature</arg>
  79. <arg>-language:postfixOps</arg>
  80. </args>
  81. <jvmArgs>
  82. <jvmArg>-Xms1024m</jvmArg>
  83. <jvmArg>-Xmx1024m</jvmArg>
  84. <jvmArg>-XX:PermSize=${PermGen}</jvmArg>
  85. <jvmArg>-XX:MaxPermSize=${MaxPermGen}</jvmArg>
  86. </jvmArgs>
  87. <javacArgs>
  88. <javacArg>-source</javacArg>
  89. <javacArg>${java.version}</javacArg>
  90. <javacArg>-target</javacArg>
  91. <javacArg>${java.version}</javacArg>
  92. </javacArgs>
  93. -->
  94. <!-- The following plugin is required to use quasiquotes in Scala 2.10 and is used
  95. by Spark SQL for code generation. -->
  96. <compilerPlugins>
  97. <compilerPlugin>
  98. <groupId>org.scalamacros</groupId>
  99. <artifactId>paradise_${scala.version}</artifactId>
  100. <version>${scala.macros.version}</version>
  101. </compilerPlugin>
  102. </compilerPlugins>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-dependency-plugin</artifactId>
  108. <executions>
  109. <execution>
  110. <id>copy-dependencies</id>
  111. <phase>prepare-package</phase>
  112. <goals>
  113. <goal>copy-dependencies</goal>
  114. </goals>
  115. <configuration>
  116. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  117. <overWriteReleases>false</overWriteReleases>
  118. <overWriteSnapshots>false</overWriteSnapshots>
  119. <overWriteIfNewer>true</overWriteIfNewer>
  120. </configuration>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-jar-plugin</artifactId>
  127. <configuration>
  128. <archive>
  129. <manifest>
  130. <addClasspath>true</addClasspath>
  131. <classpathPrefix>lib/</classpathPrefix>
  132. <mainClass>com.cloudera.hue.sparker.repl.Main</mainClass>
  133. </manifest>
  134. </archive>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <reporting>
  140. <plugins>
  141. <plugin>
  142. <groupId>org.scala-tools</groupId>
  143. <artifactId>maven-scala-plugin</artifactId>
  144. <configuration>
  145. <scalaVersion>${scala.version}</scalaVersion>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </reporting>
  150. </project>