pom.xml 20 KB

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