pom.xml 10 KB

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