pom.xml 10 KB

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