pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>com.cloudera</groupId>
  20. <artifactId>parent</artifactId>
  21. <version>1.0-SNAPSHOT</version>
  22. </parent>
  23. <groupId>com.cloudera.hue</groupId>
  24. <artifactId>hue-parent</artifactId>
  25. <version>2.4.0-SNAPSHOT</version>
  26. <packaging>pom</packaging>
  27. <name>Hue Maven Parent POM</name>
  28. <licenses>
  29. <license>
  30. <name>Apache 2</name>
  31. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  32. <distribution>repo</distribution>
  33. <comments>A business-friendly OSS license</comments>
  34. </license>
  35. </licenses>
  36. <properties>
  37. <hadoop.version>2.0.0-mr1-cdh4.3.0-SNAPSHOT</hadoop.version>
  38. <hive.version>0.10.0-cdh4.3.0-SNAPSHOT</hive.version>
  39. <slf4j.version>1.6.1</slf4j.version>
  40. <commons-logging.version>1.0.4</commons-logging.version>
  41. <javaVersion>1.6</javaVersion>
  42. <targetJavaVersion>1.6</targetJavaVersion>
  43. </properties>
  44. <organization>
  45. <name>Cloudera</name>
  46. <url>http://www.cloudera.com</url>
  47. </organization>
  48. <scm>
  49. <connection>scm:git:git://github.com/cloudera/hue.git</connection>
  50. <developerConnection>scm:git:git@github.com:cloudera/hue.git</developerConnection>
  51. <url>https://github.com/cloudera/hue</url>
  52. </scm>
  53. <build>
  54. <pluginManagement>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-enforcer-plugin</artifactId>
  59. <version>1.0</version>
  60. </plugin>
  61. </plugins>
  62. </pluginManagement>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-release-plugin</artifactId>
  67. <version>2.2</version>
  68. <configuration>
  69. <tagBase>https://svn.apache.org/repos/asf/maven/components/releases</tagBase>
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-enforcer-plugin</artifactId>
  75. <inherited>false</inherited>
  76. <configuration>
  77. <rules>
  78. <requireMavenVersion>
  79. <version>[2.0.0,)</version>
  80. </requireMavenVersion>
  81. <requireJavaVersion>
  82. <version>[${javaVersion}.0,${javaVersion}.1000]</version>
  83. </requireJavaVersion>
  84. </rules>
  85. </configuration>
  86. <executions>
  87. <execution>
  88. <id>clean</id>
  89. <goals>
  90. <goal>enforce</goal>
  91. </goals>
  92. <phase>pre-clean</phase>
  93. </execution>
  94. <execution>
  95. <id>default</id>
  96. <goals>
  97. <goal>enforce</goal>
  98. </goals>
  99. <phase>validate</phase>
  100. </execution>
  101. <execution>
  102. <id>site</id>
  103. <goals>
  104. <goal>enforce</goal>
  105. </goals>
  106. <phase>pre-site</phase>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. <dependencyManagement>
  113. <dependencies>
  114. <dependency>
  115. <groupId>org.apache.hadoop</groupId>
  116. <artifactId>hadoop-core</artifactId>
  117. <version>${hadoop.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.hadoop</groupId>
  121. <artifactId>hadoop-client</artifactId>
  122. <version>${hadoop.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.hive</groupId>
  126. <artifactId>hive-metastore</artifactId>
  127. <version>${hive.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.hive</groupId>
  131. <artifactId>hive-exec</artifactId>
  132. <version>${hive.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.hive</groupId>
  136. <artifactId>hive-common</artifactId>
  137. <version>${hive.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.slf4j</groupId>
  141. <artifactId>slf4j-api</artifactId>
  142. <version>${slf4j.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.slf4j</groupId>
  146. <artifactId>slf4j-log4j12</artifactId>
  147. <version>${slf4j.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>junit</groupId>
  151. <artifactId>junit</artifactId>
  152. <version>4.8.1</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.hadoop</groupId>
  156. <artifactId>hadoop-test</artifactId>
  157. <version>${hadoop.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-logging</groupId>
  161. <artifactId>commons-logging</artifactId>
  162. <version>${commons-logging.version}</version>
  163. <exclusions>
  164. <exclusion>
  165. <groupId>avalon-framework</groupId>
  166. <artifactId>avalon-framework</artifactId>
  167. </exclusion>
  168. <exclusion>
  169. <groupId>logkit</groupId>
  170. <artifactId>logkit</artifactId>
  171. </exclusion>
  172. <exclusion>
  173. <groupId>javax.servlet</groupId>
  174. <artifactId>servlet-api</artifactId>
  175. </exclusion>
  176. </exclusions>
  177. </dependency>
  178. <dependency>
  179. <groupId>commons-logging</groupId>
  180. <artifactId>commons-logging-api</artifactId>
  181. <version>${commons-logging.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.thrift</groupId>
  185. <artifactId>libthrift</artifactId>
  186. <version>0.9.0</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.apache.thrift</groupId>
  190. <artifactId>libfb303</artifactId>
  191. <version>0.9.0</version>
  192. </dependency>
  193. </dependencies>
  194. </dependencyManagement>
  195. <repositories>
  196. <repository>
  197. <id>cloudera.repos</id>
  198. <url>https://repository.cloudera.com/content/groups/cdh-releases-rcs</url>
  199. <name>Cloudera Public Repositories</name>
  200. <snapshots>
  201. <enabled>false</enabled>
  202. </snapshots>
  203. </repository>
  204. <repository>
  205. <id>cloudera.snapshots.repo</id>
  206. <url>https://repository.cloudera.com/content/repositories/snapshots</url>
  207. <name>Cloudera Snapshots Repository</name>
  208. <snapshots>
  209. <enabled>true</enabled>
  210. </snapshots>
  211. </repository>
  212. </repositories>
  213. </project>