pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project-dist</artifactId>
  21. <version>3.0.1</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-tools-dist</artifactId>
  25. <version>3.0.1</version>
  26. <description>Apache Hadoop Tools Dist</description>
  27. <name>Apache Hadoop Tools Dist</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <hadoop.component>tools</hadoop.component>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.hadoop</groupId>
  35. <artifactId>hadoop-streaming</artifactId>
  36. <scope>compile</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.hadoop</groupId>
  40. <artifactId>hadoop-distcp</artifactId>
  41. <scope>compile</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.hadoop</groupId>
  45. <artifactId>hadoop-archives</artifactId>
  46. <scope>compile</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.hadoop</groupId>
  50. <artifactId>hadoop-archive-logs</artifactId>
  51. <scope>compile</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.hadoop</groupId>
  55. <artifactId>hadoop-rumen</artifactId>
  56. <scope>compile</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.hadoop</groupId>
  60. <artifactId>hadoop-datajoin</artifactId>
  61. <scope>compile</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.hadoop</groupId>
  65. <artifactId>hadoop-extras</artifactId>
  66. <scope>compile</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.hadoop</groupId>
  70. <artifactId>hadoop-gridmix</artifactId>
  71. <scope>compile</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.hadoop</groupId>
  75. <artifactId>hadoop-pipes</artifactId>
  76. <scope>compile</scope>
  77. <type>pom</type>
  78. <version>${project.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.hadoop</groupId>
  82. <artifactId>hadoop-openstack</artifactId>
  83. <scope>compile</scope>
  84. <version>${project.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.hadoop</groupId>
  88. <artifactId>hadoop-aws</artifactId>
  89. <scope>compile</scope>
  90. <version>${project.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.hadoop</groupId>
  94. <artifactId>hadoop-kafka</artifactId>
  95. <scope>compile</scope>
  96. <version>${project.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.hadoop</groupId>
  100. <artifactId>hadoop-azure</artifactId>
  101. <scope>compile</scope>
  102. <version>${project.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.hadoop</groupId>
  106. <artifactId>hadoop-aliyun</artifactId>
  107. <scope>compile</scope>
  108. <version>${project.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.hadoop</groupId>
  112. <artifactId>hadoop-sls</artifactId>
  113. <scope>compile</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.hadoop</groupId>
  117. <artifactId>hadoop-resourceestimator</artifactId>
  118. <version>${project.version}</version>
  119. <scope>compile</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.hadoop</groupId>
  123. <artifactId>hadoop-azure-datalake</artifactId>
  124. <scope>compile</scope>
  125. <version>${project.version}</version>
  126. </dependency>
  127. </dependencies>
  128. <build>
  129. <plugins>
  130. <plugin>
  131. <artifactId>maven-deploy-plugin</artifactId>
  132. <configuration>
  133. <skip>true</skip>
  134. </configuration>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.rat</groupId>
  138. <artifactId>apache-rat-plugin</artifactId>
  139. <configuration>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. <profiles>
  145. <profile>
  146. <id>dist</id>
  147. <activation>
  148. <activeByDefault>false</activeByDefault>
  149. </activation>
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-assembly-plugin</artifactId>
  155. <dependencies>
  156. <dependency>
  157. <groupId>org.apache.hadoop</groupId>
  158. <artifactId>hadoop-assemblies</artifactId>
  159. <version>${project.version}</version>
  160. </dependency>
  161. </dependencies>
  162. <executions>
  163. <execution>
  164. <id>dist</id>
  165. <phase>prepare-package</phase>
  166. <goals>
  167. <goal>single</goal>
  168. </goals>
  169. <configuration>
  170. <appendAssemblyId>false</appendAssemblyId>
  171. <attach>false</attach>
  172. <finalName>${project.artifactId}-${project.version}</finalName>
  173. <descriptorRefs>
  174. <descriptorRef>hadoop-tools</descriptorRef>
  175. </descriptorRefs>
  176. </configuration>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </profile>
  183. </profiles>
  184. </project>