pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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. <name>livy-main</name>
  31. <description>livy-main</description>
  32. <licenses>
  33. <license>
  34. <name>The Apache Software License, Version 2.0</name>
  35. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  36. </license>
  37. </licenses>
  38. <organization>
  39. <name>Cloudera Inc</name>
  40. <url>http://www.cloudera.com</url>
  41. </organization>
  42. <properties>
  43. <guava.version>11.0.2</guava.version>
  44. <jetty.version>8.1.14.v20131031</jetty.version>
  45. <json4s.version>3.2.11</json4s.version>
  46. <logback.version>1.1.2</logback.version>
  47. <scala.version>2.10.3</scala.version>
  48. <scala.binary.version>2.10</scala.binary.version>
  49. <scalatra.version>2.2.1</scalatra.version>
  50. <dispatch.version>0.11.2</dispatch.version>
  51. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  52. </properties>
  53. <modules>
  54. <module>livy-core</module>
  55. <module>livy-repl</module>
  56. <module>livy-yarn</module>
  57. <module>livy-server</module>
  58. <module>livy-assembly</module>
  59. </modules>
  60. <dependencyManagement>
  61. <dependencies>
  62. <dependency>
  63. <groupId>ch.qos.logback</groupId>
  64. <artifactId>logback-classic</artifactId>
  65. <version>${logback.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>ch.qos.logback</groupId>
  69. <artifactId>logback-access</artifactId>
  70. <version>${logback.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.eclipse.jetty</groupId>
  74. <artifactId>jetty-server</artifactId>
  75. <version>${jetty.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.eclipse.jetty</groupId>
  79. <artifactId>jetty-webapp</artifactId>
  80. <version>${jetty.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.scalatra</groupId>
  84. <artifactId>scalatra_${scala.binary.version}</artifactId>
  85. <version>${scalatra.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.scalatra</groupId>
  89. <artifactId>scalatra-jetty_${scala.binary.version}</artifactId>
  90. <version>${scalatra.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.scalatra</groupId>
  94. <artifactId>scalatra-scalatest_${scala.binary.version}</artifactId>
  95. <version>${scalatra.version}</version>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.scalatra</groupId>
  100. <artifactId>scalatra-json_${scala.binary.version}</artifactId>
  101. <version>${scalatra.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.json4s</groupId>
  105. <artifactId>json4s_${scala.binary.version}</artifactId>
  106. <version>${json4s.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.json4s</groupId>
  110. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  111. <version>${json4s.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.hadoop</groupId>
  115. <artifactId>hadoop-common</artifactId>
  116. <version>${hadoop.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.hadoop</groupId>
  120. <artifactId>hadoop-yarn-client</artifactId>
  121. <version>${hadoop.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.hadoop</groupId>
  125. <artifactId>hadoop-yarn-api</artifactId>
  126. <version>${hadoop.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.spark</groupId>
  130. <artifactId>spark-core_${scala.binary.version}</artifactId>
  131. <version>${spark.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.spark</groupId>
  135. <artifactId>spark-yarn_${scala.binary.version}</artifactId>
  136. <version>${spark.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>net.databinder.dispatch</groupId>
  140. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  141. <version>${dispatch.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>net.databinder.dispatch</groupId>
  145. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  146. <version>${dispatch.version}</version>
  147. </dependency>
  148. </dependencies>
  149. </dependencyManagement>
  150. <build>
  151. <pluginManagement>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-enforcer-plugin</artifactId>
  156. <version>1.0</version>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-compiler-plugin</artifactId>
  161. <version>2.5.1</version>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-site-plugin</artifactId>
  166. <version>3.3</version>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-javadoc-plugin</artifactId>
  171. <version>2.8.1</version>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-assembly-plugin</artifactId>
  176. <version>2.2</version>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-antrun-plugin</artifactId>
  181. <version>1.6</version>
  182. </plugin>
  183. <plugin>
  184. <groupId>org.codehaus.mojo</groupId>
  185. <artifactId>build-helper-maven-plugin</artifactId>
  186. <version>1.8</version>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.hadoop</groupId>
  190. <artifactId>hadoop-maven-plugins</artifactId>
  191. <version>${hadoop.version}</version>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-jar-plugin</artifactId>
  196. <version>2.3.2</version>
  197. </plugin>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-source-plugin</artifactId>
  201. <version>2.1.2</version>
  202. </plugin>
  203. <plugin>
  204. <groupId>com.atlassian.maven.plugins</groupId>
  205. <artifactId>maven-clover2-plugin</artifactId>
  206. <version>3.0.5</version>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.rat</groupId>
  210. <artifactId>apache-rat-plugin</artifactId>
  211. <version>0.8</version>
  212. </plugin>
  213. <plugin>
  214. <groupId>org.apache.maven.plugins</groupId>
  215. <artifactId>maven-deploy-plugin</artifactId>
  216. <version>2.7</version>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.apache.felix</groupId>
  220. <artifactId>maven-bundle-plugin</artifactId>
  221. <version>2.4.0</version>
  222. </plugin>
  223. <plugin>
  224. <groupId>net.alchim31.maven</groupId>
  225. <artifactId>scala-maven-plugin</artifactId>
  226. <version>3.2.0</version>
  227. <executions>
  228. <execution>
  229. <goals>
  230. <goal>compile</goal>
  231. <goal>testCompile</goal>
  232. </goals>
  233. </execution>
  234. </executions>
  235. <configuration>
  236. <scalaVersion>${scala.version}</scalaVersion>
  237. </configuration>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-install-plugin</artifactId>
  242. <version>2.3.1</version>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-shade-plugin</artifactId>
  247. <version>2.2</version>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-surefire-plugin</artifactId>
  252. <version>2.7</version>
  253. <configuration>
  254. <skipTests>true</skipTests>
  255. </configuration>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.scalatest</groupId>
  259. <artifactId>scalatest-maven-plugin</artifactId>
  260. <version>1.0</version>
  261. <configuration>
  262. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  263. <junitxml>.</junitxml>
  264. <filereports>WDF TestSuite.txt</filereports>
  265. </configuration>
  266. <executions>
  267. <execution>
  268. <id>test</id>
  269. <goals>
  270. <goal>test</goal>
  271. </goals>
  272. </execution>
  273. </executions>
  274. </plugin>
  275. </plugins>
  276. </pluginManagement>
  277. <plugins>
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-enforcer-plugin</artifactId>
  281. <inherited>false</inherited>
  282. <configuration>
  283. <rules>
  284. <requireMavenVersion>
  285. <version>[3.0.0,)</version>
  286. </requireMavenVersion>
  287. <requireJavaVersion>
  288. <version>[${minJavaVersion}.0,${maxJavaVersion}.1000}]</version>
  289. </requireJavaVersion>
  290. <requireOS>
  291. <family>unix</family>
  292. </requireOS>
  293. </rules>
  294. </configuration>
  295. <executions>
  296. <execution>
  297. <id>clean</id>
  298. <goals>
  299. <goal>enforce</goal>
  300. </goals>
  301. <phase>pre-clean</phase>
  302. </execution>
  303. <execution>
  304. <id>default</id>
  305. <goals>
  306. <goal>enforce</goal>
  307. </goals>
  308. <phase>validate</phase>
  309. </execution>
  310. <execution>
  311. <id>site</id>
  312. <goals>
  313. <goal>enforce</goal>
  314. </goals>
  315. <phase>pre-site</phase>
  316. </execution>
  317. </executions>
  318. </plugin>
  319. <plugin>
  320. <groupId>org.apache.maven.plugins</groupId>
  321. <artifactId>maven-compiler-plugin</artifactId>
  322. <configuration>
  323. <source>${sourceJavaVersion}</source>
  324. <target>${targetJavaVersion}</target>
  325. </configuration>
  326. </plugin>
  327. <plugin>
  328. <groupId>net.alchim31.maven</groupId>
  329. <artifactId>scala-maven-plugin</artifactId>
  330. </plugin>
  331. </plugins>
  332. </build>
  333. </project>