pom.xml 20 KB

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