pom.xml 9.7 KB

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