pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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.9.0-SNAPSHOT</version>
  26. </parent>
  27. <groupId>com.cloudera.hue.livy</groupId>
  28. <artifactId>livy-main</artifactId>
  29. <version>0.2.0-SNAPSHOT</version>
  30. <packaging>pom</packaging>
  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. <commons-codec.version>1.9</commons-codec.version>
  45. <dispatch.version>0.11.2</dispatch.version>
  46. <guava.version>11.0.2</guava.version>
  47. <httpclient.version>4.5</httpclient.version>
  48. <httpcore.version>4.4.1</httpcore.version>
  49. <jetty.version>9.2.10.v20150310</jetty.version>
  50. <json4s.version>3.2.5</json4s.version>
  51. <logback.version>1.1.2</logback.version>
  52. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  53. <py4j.version>0.8.2.1</py4j.version>
  54. <scala.binary.version>2.10</scala.binary.version>
  55. <scala.compat.version>2.10</scala.compat.version>
  56. <scala.version>2.10.4</scala.version>
  57. <scalatra.version>2.3.0</scalatra.version>
  58. </properties>
  59. <modules>
  60. <module>livy-core</module>
  61. <module>livy-repl</module>
  62. <module>livy-yarn</module>
  63. <module>livy-server</module>
  64. <module>livy-assembly</module>
  65. </modules>
  66. <dependencyManagement>
  67. <dependencies>
  68. <dependency>
  69. <groupId>ch.qos.logback</groupId>
  70. <artifactId>logback-access</artifactId>
  71. <version>${logback.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>ch.qos.logback</groupId>
  75. <artifactId>logback-classic</artifactId>
  76. <version>${logback.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.core</groupId>
  80. <artifactId>jackson-core</artifactId>
  81. <version>${jackson.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.fasterxml.jackson.core</groupId>
  85. <artifactId>jackson-databind</artifactId>
  86. <version>${jackson.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-codec</groupId>
  90. <artifactId>commons-codec</artifactId>
  91. <version>${commons-codec.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>javax.servlet</groupId>
  95. <artifactId>javax.servlet-api</artifactId>
  96. <version>${javax.servlet-api.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.hadoop</groupId>
  100. <artifactId>hadoop-common</artifactId>
  101. <version>${hadoop.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.hadoop</groupId>
  105. <artifactId>hadoop-client</artifactId>
  106. <version>${hadoop.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.hadoop</groupId>
  110. <artifactId>hadoop-yarn-api</artifactId>
  111. <version>${hadoop.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.hadoop</groupId>
  115. <artifactId>hadoop-yarn-client</artifactId>
  116. <version>${hadoop.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.hadoop</groupId>
  120. <artifactId>hadoop-yarn-common</artifactId>
  121. <version>${hadoop.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.httpcomponents</groupId>
  125. <artifactId>httpcore</artifactId>
  126. <version>${httpcore.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.httpcomponents</groupId>
  130. <artifactId>httpclient</artifactId>
  131. <version>${httpclient.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.spark</groupId>
  135. <artifactId>spark-core_${scala.binary.version}</artifactId>
  136. <version>${spark.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.spark</groupId>
  140. <artifactId>spark-yarn_${scala.binary.version}</artifactId>
  141. <version>${spark.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.eclipse.jetty</groupId>
  145. <artifactId>jetty-http</artifactId>
  146. <version>${jetty.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.eclipse.jetty</groupId>
  150. <artifactId>jetty-continuation</artifactId>
  151. <version>${jetty.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.eclipse.jetty</groupId>
  155. <artifactId>jetty-servlet</artifactId>
  156. <version>${jetty.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.eclipse.jetty</groupId>
  160. <artifactId>jetty-server</artifactId>
  161. <version>${jetty.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.eclipse.jetty</groupId>
  165. <artifactId>jetty-util</artifactId>
  166. <version>${jetty.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.eclipse.jetty</groupId>
  170. <artifactId>jetty-plus</artifactId>
  171. <version>${jetty.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.eclipse.jetty</groupId>
  175. <artifactId>jetty-security</artifactId>
  176. <version>${jetty.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.json4s</groupId>
  180. <artifactId>json4s_${scala.binary.version}</artifactId>
  181. <version>${json4s.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.json4s</groupId>
  185. <artifactId>json4s-ast_${scala.binary.version}</artifactId>
  186. <version>${json4s.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.json4s</groupId>
  190. <artifactId>json4s-core_${scala.binary.version}</artifactId>
  191. <version>${json4s.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.json4s</groupId>
  195. <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
  196. <version>${json4s.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.scala-lang</groupId>
  200. <artifactId>scala-library</artifactId>
  201. <version>${scala.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.scalatest</groupId>
  205. <artifactId>scalatest_${scala.binary.version}</artifactId>
  206. <version>${scalatest.version}</version>
  207. <scope>test</scope>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.scalatra</groupId>
  211. <artifactId>scalatra_${scala.binary.version}</artifactId>
  212. <version>${scalatra.version}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.scalatra</groupId>
  216. <artifactId>scalatra-jetty_${scala.binary.version}</artifactId>
  217. <version>${scalatra.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.scalatra</groupId>
  221. <artifactId>scalatra-scalatest_${scala.binary.version}</artifactId>
  222. <version>${scalatra.version}</version>
  223. <scope>test</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.scalatra</groupId>
  227. <artifactId>scalatra-json_${scala.binary.version}</artifactId>
  228. <version>${scalatra.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.xerial.snappy</groupId>
  232. <artifactId>snappy-java</artifactId>
  233. <version>${snappy-java.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>net.databinder.dispatch</groupId>
  237. <artifactId>dispatch-core_${scala.binary.version}</artifactId>
  238. <version>${dispatch.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>net.databinder.dispatch</groupId>
  242. <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
  243. <version>${dispatch.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>net.sf.py4j</groupId>
  247. <artifactId>py4j</artifactId>
  248. <version>${py4j.version}</version>
  249. </dependency>
  250. </dependencies>
  251. </dependencyManagement>
  252. <build>
  253. <pluginManagement>
  254. <plugins>
  255. <plugin>
  256. <groupId>org.apache.maven.plugins</groupId>
  257. <artifactId>maven-enforcer-plugin</artifactId>
  258. <version>1.0</version>
  259. </plugin>
  260. <plugin>
  261. <groupId>org.apache.maven.plugins</groupId>
  262. <artifactId>maven-compiler-plugin</artifactId>
  263. <version>2.5.1</version>
  264. </plugin>
  265. <plugin>
  266. <groupId>org.apache.maven.plugins</groupId>
  267. <artifactId>maven-site-plugin</artifactId>
  268. <version>3.3</version>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.apache.maven.plugins</groupId>
  272. <artifactId>maven-javadoc-plugin</artifactId>
  273. <version>2.8.1</version>
  274. </plugin>
  275. <plugin>
  276. <groupId>org.apache.maven.plugins</groupId>
  277. <artifactId>maven-assembly-plugin</artifactId>
  278. <version>2.2</version>
  279. </plugin>
  280. <plugin>
  281. <groupId>org.apache.maven.plugins</groupId>
  282. <artifactId>maven-antrun-plugin</artifactId>
  283. <version>1.6</version>
  284. </plugin>
  285. <plugin>
  286. <groupId>org.codehaus.mojo</groupId>
  287. <artifactId>build-helper-maven-plugin</artifactId>
  288. <version>1.8</version>
  289. </plugin>
  290. <plugin>
  291. <groupId>org.apache.hadoop</groupId>
  292. <artifactId>hadoop-maven-plugins</artifactId>
  293. <version>${hadoop.version}</version>
  294. </plugin>
  295. <plugin>
  296. <groupId>org.apache.maven.plugins</groupId>
  297. <artifactId>maven-jar-plugin</artifactId>
  298. <version>2.3.2</version>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-source-plugin</artifactId>
  303. <version>2.1.2</version>
  304. </plugin>
  305. <plugin>
  306. <groupId>com.atlassian.maven.plugins</groupId>
  307. <artifactId>maven-clover2-plugin</artifactId>
  308. <version>3.0.5</version>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.apache.rat</groupId>
  312. <artifactId>apache-rat-plugin</artifactId>
  313. <version>0.8</version>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-deploy-plugin</artifactId>
  318. <version>2.8.2</version>
  319. </plugin>
  320. <plugin>
  321. <groupId>org.apache.felix</groupId>
  322. <artifactId>maven-bundle-plugin</artifactId>
  323. <version>2.4.0</version>
  324. </plugin>
  325. <plugin>
  326. <groupId>net.alchim31.maven</groupId>
  327. <artifactId>scala-maven-plugin</artifactId>
  328. <version>3.2.2</version>
  329. <executions>
  330. <execution>
  331. <goals>
  332. <goal>compile</goal>
  333. <goal>testCompile</goal>
  334. </goals>
  335. </execution>
  336. </executions>
  337. <configuration>
  338. <scalaVersion>${scala.version}</scalaVersion>
  339. <args>
  340. <arg>-deprecation</arg>
  341. <arg>-feature</arg>
  342. </args>
  343. </configuration>
  344. </plugin>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-install-plugin</artifactId>
  348. <version>2.5.2</version>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-shade-plugin</artifactId>
  353. <version>2.4.2</version>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-surefire-plugin</artifactId>
  358. <version>2.7</version>
  359. <configuration>
  360. <skipTests>true</skipTests>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.scalatest</groupId>
  365. <artifactId>scalatest-maven-plugin</artifactId>
  366. <version>1.0</version>
  367. <configuration>
  368. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  369. <junitxml>.</junitxml>
  370. <filereports>WDF TestSuite.txt</filereports>
  371. </configuration>
  372. <executions>
  373. <execution>
  374. <id>test</id>
  375. <goals>
  376. <goal>test</goal>
  377. </goals>
  378. </execution>
  379. </executions>
  380. </plugin>
  381. </plugins>
  382. </pluginManagement>
  383. <plugins>
  384. <plugin>
  385. <groupId>org.apache.maven.plugins</groupId>
  386. <artifactId>maven-compiler-plugin</artifactId>
  387. <configuration>
  388. <source>${sourceJavaVersion}</source>
  389. <target>${targetJavaVersion}</target>
  390. </configuration>
  391. </plugin>
  392. <plugin>
  393. <groupId>org.apache.maven.plugins</groupId>
  394. <artifactId>maven-enforcer-plugin</artifactId>
  395. <inherited>false</inherited>
  396. <configuration>
  397. <rules>
  398. <requireMavenVersion>
  399. <version>[3.0.0,)</version>
  400. </requireMavenVersion>
  401. <requireJavaVersion>
  402. <version>[${minJavaVersion}.0,${maxJavaVersion}.1000}]</version>
  403. </requireJavaVersion>
  404. <requireOS>
  405. <family>unix</family>
  406. </requireOS>
  407. </rules>
  408. </configuration>
  409. <executions>
  410. <execution>
  411. <id>clean</id>
  412. <goals>
  413. <goal>enforce</goal>
  414. </goals>
  415. <phase>pre-clean</phase>
  416. </execution>
  417. <execution>
  418. <id>default</id>
  419. <goals>
  420. <goal>enforce</goal>
  421. </goals>
  422. <phase>validate</phase>
  423. </execution>
  424. <execution>
  425. <id>site</id>
  426. <goals>
  427. <goal>enforce</goal>
  428. </goals>
  429. <phase>pre-site</phase>
  430. </execution>
  431. </executions>
  432. </plugin>
  433. <plugin>
  434. <groupId>net.alchim31.maven</groupId>
  435. <artifactId>scala-maven-plugin</artifactId>
  436. </plugin>
  437. </plugins>
  438. </build>
  439. <reporting>
  440. <plugins>
  441. <plugin>
  442. <groupId>net.alchim31.maven</groupId>
  443. <artifactId>scala-maven-plugin</artifactId>
  444. </plugin>
  445. </plugins>
  446. </reporting>
  447. </project>