pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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. <version>3.7.0-SNAPSHOT</version>
  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. <javaVersion>1.7</javaVersion>
  45. <hadoop.version>2.5.0</hadoop.version>
  46. <guava.version>11.0.2</guava.version>
  47. <jetty.version>8.1.16.v20140903</jetty.version>
  48. <json4s.version>3.2.11</json4s.version>
  49. <logback.version>1.1.2</logback.version>
  50. <scala.binary.version>2.10.3</scala.binary.version>
  51. <scala.macros.version>2.0.1</scala.macros.version>
  52. <scala.version>2.10.3</scala.version>
  53. <scalatra.version>2.2.1</scalatra.version>
  54. <spark.version>1.1.0</spark.version>
  55. <dispatch.version>0.11.2</dispatch.version>
  56. </properties>
  57. <modules>
  58. <module>livy-core</module>
  59. <module>livy-repl</module>
  60. <module>livy-server</module>
  61. <module>livy-yarn</module>
  62. </modules>
  63. <repositories>
  64. <repository>
  65. <id>cdh.repo</id>
  66. <url>https://repository.cloudera.com/content/groups/cloudera-repos</url>
  67. <name>Cloudera Repositories</name>
  68. <snapshots>
  69. <enabled>false</enabled>
  70. </snapshots>
  71. </repository>
  72. <repository>
  73. <id>cdh.snapshots.repo</id>
  74. <url>https://repository.cloudera.com/content/repositories/snapshots</url>
  75. <name>Cloudera Snapshots Repository</name>
  76. <snapshots>
  77. <enabled>true</enabled>
  78. </snapshots>
  79. <releases>
  80. <enabled>false</enabled>
  81. </releases>
  82. </repository>
  83. <repository>
  84. <id>Codehaus repository</id>
  85. <url>http://repository.codehaus.org/</url>
  86. <snapshots>
  87. <enabled>false</enabled>
  88. </snapshots>
  89. </repository>
  90. </repositories>
  91. <build>
  92. <pluginManagement>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-enforcer-plugin</artifactId>
  97. <version>1.0</version>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>2.5.1</version>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-site-plugin</artifactId>
  107. <version>3.3</version>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-javadoc-plugin</artifactId>
  112. <version>2.8.1</version>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-assembly-plugin</artifactId>
  117. <version>2.2</version>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-antrun-plugin</artifactId>
  122. <version>1.6</version>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.codehaus.mojo</groupId>
  126. <artifactId>build-helper-maven-plugin</artifactId>
  127. <version>1.8</version>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.hadoop</groupId>
  131. <artifactId>hadoop-maven-plugins</artifactId>
  132. <version>${hadoop.version}</version>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-jar-plugin</artifactId>
  137. <version>2.3.2</version>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-source-plugin</artifactId>
  142. <version>2.1.2</version>
  143. </plugin>
  144. <plugin>
  145. <groupId>com.atlassian.maven.plugins</groupId>
  146. <artifactId>maven-clover2-plugin</artifactId>
  147. <version>3.0.5</version>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.rat</groupId>
  151. <artifactId>apache-rat-plugin</artifactId>
  152. <version>0.8</version>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-deploy-plugin</artifactId>
  157. <version>2.7</version>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.felix</groupId>
  161. <artifactId>maven-bundle-plugin</artifactId>
  162. <version>2.4.0</version>
  163. </plugin>
  164. <!-- disable surefire -->
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-surefire-plugin</artifactId>
  168. <version>2.7</version>
  169. <configuration>
  170. <skipTests>true</skipTests>
  171. </configuration>
  172. </plugin>
  173. <!-- enable scalatest -->
  174. <plugin>
  175. <groupId>org.scalatest</groupId>
  176. <artifactId>scalatest-maven-plugin</artifactId>
  177. <version>1.0</version>
  178. <configuration>
  179. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  180. <junitxml>.</junitxml>
  181. <filereports>WDF TestSuite.txt</filereports>
  182. </configuration>
  183. <executions>
  184. <execution>
  185. <id>test</id>
  186. <goals>
  187. <goal>test</goal>
  188. </goals>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. </plugins>
  193. </pluginManagement>
  194. <plugins>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-enforcer-plugin</artifactId>
  198. <inherited>false</inherited>
  199. <configuration>
  200. <rules>
  201. <requireMavenVersion>
  202. <version>[3.0.0,)</version>
  203. </requireMavenVersion>
  204. <requireJavaVersion>
  205. <version>[${javaVersion}.0,${javaVersion}.1000}]</version>
  206. </requireJavaVersion>
  207. <requireOS>
  208. <family>unix</family>
  209. </requireOS>
  210. </rules>
  211. </configuration>
  212. <executions>
  213. <execution>
  214. <id>clean</id>
  215. <goals>
  216. <goal>enforce</goal>
  217. </goals>
  218. <phase>pre-clean</phase>
  219. </execution>
  220. <execution>
  221. <id>default</id>
  222. <goals>
  223. <goal>enforce</goal>
  224. </goals>
  225. <phase>validate</phase>
  226. </execution>
  227. <execution>
  228. <id>site</id>
  229. <goals>
  230. <goal>enforce</goal>
  231. </goals>
  232. <phase>pre-site</phase>
  233. </execution>
  234. </executions>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-compiler-plugin</artifactId>
  239. <configuration>
  240. <source>1.6</source>
  241. <target>1.6</target>
  242. </configuration>
  243. </plugin>
  244. <!--
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-jar-plugin</artifactId>
  248. <configuration>
  249. <archive>
  250. <manifest>
  251. <mainClass>com.cloudera.livy.LivyMain</mainClass>
  252. </manifest>
  253. </archive>
  254. </configuration>
  255. <executions>
  256. <execution>
  257. <id>test-package</id>
  258. <phase>package</phase>
  259. <goals>
  260. <goal>test-jar</goal>
  261. </goals>
  262. </execution>
  263. </executions>
  264. </plugin>
  265. -->
  266. <!--
  267. <plugin>
  268. <artifactId>maven-assembly-plugin</artifactId>
  269. <version>2.4</version>
  270. <executions>
  271. <execution>
  272. <id>make-bundles</id>
  273. <goals>
  274. <goal>single</goal>
  275. </goals>
  276. <phase>package</phase>
  277. <configuration>
  278. <descriptors>
  279. <descriptor>livy-yarn/src/main/assembly/dist.xml</descriptor>
  280. </descriptors>
  281. </configuration>
  282. </execution>
  283. </executions>
  284. </plugin>
  285. -->
  286. </plugins>
  287. </build>
  288. </project>