pom.xml 9.7 KB

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