pom.xml 9.2 KB

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