pom.xml 10 KB

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