pom.xml 20 KB

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