pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>com.cloudera.hue</groupId>
  23. <artifactId>hue-parent</artifactId>
  24. <relativePath>../../../maven/pom.xml</relativePath>
  25. <version>3.7.0-SNAPSHOT</version>
  26. </parent>
  27. <groupId>com.cloudera.hue.livy</groupId>
  28. <artifactId>livy-main</artifactId>
  29. <packaging>pom</packaging>
  30. <version>3.7.0-SNAPSHOT</version>
  31. <name>livy-main</name>
  32. <description>livy-main</description>
  33. <licenses>
  34. <license>
  35. <name>The Apache Software License, Version 2.0</name>
  36. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  37. </license>
  38. </licenses>
  39. <organization>
  40. <name>Cloudera Inc</name>
  41. <url>http://www.cloudera.com</url>
  42. </organization>
  43. <properties>
  44. <guava.version>11.0.2</guava.version>
  45. <jetty.version>8.1.14.v20131031</jetty.version>
  46. <json4s.version>3.2.11</json4s.version>
  47. <logback.version>1.1.2</logback.version>
  48. <scala.version>2.10.3</scala.version>
  49. <scala.binary.version>2.10</scala.binary.version>
  50. <scalatra.version>2.2.1</scalatra.version>
  51. <dispatch.version>0.11.2</dispatch.version>
  52. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  53. </properties>
  54. <modules>
  55. <module>livy-core</module>
  56. <module>livy-repl</module>
  57. <module>livy-yarn</module>
  58. <module>livy-server</module>
  59. <module>livy-assembly</module>
  60. </modules>
  61. <dependencyManagement>
  62. <dependencies>
  63. <dependency>
  64. <groupId>ch.qos.logback</groupId>
  65. <artifactId>logback-classic</artifactId>
  66. <version>${logback.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>ch.qos.logback</groupId>
  70. <artifactId>logback-access</artifactId>
  71. <version>${logback.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.eclipse.jetty</groupId>
  75. <artifactId>jetty-server</artifactId>
  76. <version>${jetty.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.eclipse.jetty</groupId>
  80. <artifactId>jetty-webapp</artifactId>
  81. <version>${jetty.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.scalatra</groupId>
  85. <artifactId>scalatra_${scala.binary.version}</artifactId>
  86. <version>${scalatra.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.scalatra</groupId>
  90. <artifactId>scalatra-jetty_${scala.binary.version}</artifactId>
  91. <version>${scalatra.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.scalatra</groupId>
  95. <artifactId>scalatra-scalatest_${scala.binary.version}</artifactId>
  96. <version>${scalatra.version}</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.scalatra</groupId>
  101. <artifactId>scalatra-json_${scala.binary.version}</artifactId>
  102. <version>${scalatra.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.json4s</groupId>
  106. <artifactId>json4s_${scala.binary.version}</artifactId>
  107. <version>${json4s.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.json4s</groupId>
  111. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  112. <version>${json4s.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.hadoop</groupId>
  116. <artifactId>hadoop-common</artifactId>
  117. <version>${hadoop.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.hadoop</groupId>
  121. <artifactId>hadoop-yarn-client</artifactId>
  122. <version>${hadoop.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.hadoop</groupId>
  126. <artifactId>hadoop-yarn-api</artifactId>
  127. <version>${hadoop.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.spark</groupId>
  131. <artifactId>spark-core_${scala.binary.version}</artifactId>
  132. <version>${spark.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.spark</groupId>
  136. <artifactId>spark-yarn_${scala.binary.version}</artifactId>
  137. <version>${spark.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>net.databinder.dispatch</groupId>
  141. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  142. <version>${dispatch.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>net.databinder.dispatch</groupId>
  146. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  147. <version>${dispatch.version}</version>
  148. </dependency>
  149. </dependencies>
  150. </dependencyManagement>
  151. <build>
  152. <pluginManagement>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-enforcer-plugin</artifactId>
  157. <version>1.0</version>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-compiler-plugin</artifactId>
  162. <version>2.5.1</version>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-site-plugin</artifactId>
  167. <version>3.3</version>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-javadoc-plugin</artifactId>
  172. <version>2.8.1</version>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-assembly-plugin</artifactId>
  177. <version>2.2</version>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-antrun-plugin</artifactId>
  182. <version>1.6</version>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.codehaus.mojo</groupId>
  186. <artifactId>build-helper-maven-plugin</artifactId>
  187. <version>1.8</version>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.hadoop</groupId>
  191. <artifactId>hadoop-maven-plugins</artifactId>
  192. <version>${hadoop.version}</version>
  193. </plugin>
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-jar-plugin</artifactId>
  197. <version>2.3.2</version>
  198. </plugin>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-source-plugin</artifactId>
  202. <version>2.1.2</version>
  203. </plugin>
  204. <plugin>
  205. <groupId>com.atlassian.maven.plugins</groupId>
  206. <artifactId>maven-clover2-plugin</artifactId>
  207. <version>3.0.5</version>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.apache.rat</groupId>
  211. <artifactId>apache-rat-plugin</artifactId>
  212. <version>0.8</version>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-deploy-plugin</artifactId>
  217. <version>2.7</version>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.apache.felix</groupId>
  221. <artifactId>maven-bundle-plugin</artifactId>
  222. <version>2.4.0</version>
  223. </plugin>
  224. <plugin>
  225. <groupId>net.alchim31.maven</groupId>
  226. <artifactId>scala-maven-plugin</artifactId>
  227. <version>3.2.0</version>
  228. <executions>
  229. <execution>
  230. <goals>
  231. <goal>compile</goal>
  232. <goal>testCompile</goal>
  233. </goals>
  234. </execution>
  235. </executions>
  236. <configuration>
  237. <scalaVersion>${scala.version}</scalaVersion>
  238. </configuration>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-install-plugin</artifactId>
  243. <version>2.3.1</version>
  244. </plugin>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-shade-plugin</artifactId>
  248. <version>2.2</version>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.apache.maven.plugins</groupId>
  252. <artifactId>maven-surefire-plugin</artifactId>
  253. <version>2.7</version>
  254. <configuration>
  255. <skipTests>true</skipTests>
  256. </configuration>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.scalatest</groupId>
  260. <artifactId>scalatest-maven-plugin</artifactId>
  261. <version>1.0</version>
  262. <configuration>
  263. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  264. <junitxml>.</junitxml>
  265. <filereports>WDF TestSuite.txt</filereports>
  266. </configuration>
  267. <executions>
  268. <execution>
  269. <id>test</id>
  270. <goals>
  271. <goal>test</goal>
  272. </goals>
  273. </execution>
  274. </executions>
  275. </plugin>
  276. </plugins>
  277. </pluginManagement>
  278. <plugins>
  279. <plugin>
  280. <groupId>org.apache.maven.plugins</groupId>
  281. <artifactId>maven-enforcer-plugin</artifactId>
  282. <inherited>false</inherited>
  283. <configuration>
  284. <rules>
  285. <requireMavenVersion>
  286. <version>[3.0.0,)</version>
  287. </requireMavenVersion>
  288. <requireJavaVersion>
  289. <version>[${minJavaVersion}.0,${maxJavaVersion}.1000}]</version>
  290. </requireJavaVersion>
  291. <requireOS>
  292. <family>unix</family>
  293. </requireOS>
  294. </rules>
  295. </configuration>
  296. <executions>
  297. <execution>
  298. <id>clean</id>
  299. <goals>
  300. <goal>enforce</goal>
  301. </goals>
  302. <phase>pre-clean</phase>
  303. </execution>
  304. <execution>
  305. <id>default</id>
  306. <goals>
  307. <goal>enforce</goal>
  308. </goals>
  309. <phase>validate</phase>
  310. </execution>
  311. <execution>
  312. <id>site</id>
  313. <goals>
  314. <goal>enforce</goal>
  315. </goals>
  316. <phase>pre-site</phase>
  317. </execution>
  318. </executions>
  319. </plugin>
  320. <plugin>
  321. <groupId>org.apache.maven.plugins</groupId>
  322. <artifactId>maven-compiler-plugin</artifactId>
  323. <configuration>
  324. <source>${sourceJavaVersion}</source>
  325. <target>${targetJavaVersion}</target>
  326. </configuration>
  327. </plugin>
  328. <plugin>
  329. <groupId>net.alchim31.maven</groupId>
  330. <artifactId>scala-maven-plugin</artifactId>
  331. </plugin>
  332. </plugins>
  333. </build>
  334. </project>