pom.xml 11 KB

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