pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. https://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.5.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-tools-dist</artifactId>
  25. <version>3.5.0-SNAPSHOT</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. <exclusions>
  38. <exclusion>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.hadoop</groupId>
  46. <artifactId>hadoop-distcp</artifactId>
  47. <scope>compile</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.hadoop</groupId>
  51. <artifactId>hadoop-federation-balance</artifactId>
  52. <scope>compile</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.hadoop</groupId>
  56. <artifactId>hadoop-archives</artifactId>
  57. <scope>compile</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.hadoop</groupId>
  61. <artifactId>hadoop-archive-logs</artifactId>
  62. <scope>compile</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.hadoop</groupId>
  66. <artifactId>hadoop-rumen</artifactId>
  67. <scope>compile</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-datajoin</artifactId>
  72. <scope>compile</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.hadoop</groupId>
  76. <artifactId>hadoop-extras</artifactId>
  77. <scope>compile</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.hadoop</groupId>
  81. <artifactId>hadoop-gridmix</artifactId>
  82. <scope>compile</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.hadoop</groupId>
  86. <artifactId>hadoop-pipes</artifactId>
  87. <scope>compile</scope>
  88. <type>pom</type>
  89. <version>${project.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.hadoop</groupId>
  93. <artifactId>hadoop-aws</artifactId>
  94. <scope>compile</scope>
  95. <version>${project.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.hadoop</groupId>
  99. <artifactId>hadoop-kafka</artifactId>
  100. <scope>compile</scope>
  101. <version>${project.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.hadoop</groupId>
  105. <artifactId>hadoop-azure</artifactId>
  106. <scope>compile</scope>
  107. <version>${project.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.hadoop</groupId>
  111. <artifactId>hadoop-aliyun</artifactId>
  112. <scope>compile</scope>
  113. <version>${project.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.hadoop</groupId>
  117. <artifactId>hadoop-sls</artifactId>
  118. <scope>compile</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.hadoop</groupId>
  122. <artifactId>hadoop-resourceestimator</artifactId>
  123. <version>${project.version}</version>
  124. <scope>compile</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.hadoop</groupId>
  128. <artifactId>hadoop-azure-datalake</artifactId>
  129. <scope>compile</scope>
  130. <version>${project.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.hadoop</groupId>
  134. <artifactId>hadoop-fs2img</artifactId>
  135. <scope>compile</scope>
  136. <version>${project.version}</version>
  137. </dependency>
  138. </dependencies>
  139. <build>
  140. <plugins>
  141. <plugin>
  142. <artifactId>maven-deploy-plugin</artifactId>
  143. <configuration>
  144. <skip>true</skip>
  145. </configuration>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.apache.rat</groupId>
  149. <artifactId>apache-rat-plugin</artifactId>
  150. <configuration>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </build>
  155. <profiles>
  156. <profile>
  157. <id>dist</id>
  158. <activation>
  159. <activeByDefault>false</activeByDefault>
  160. </activation>
  161. <build>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-assembly-plugin</artifactId>
  166. <dependencies>
  167. <dependency>
  168. <groupId>org.apache.hadoop</groupId>
  169. <artifactId>hadoop-assemblies</artifactId>
  170. <version>${project.version}</version>
  171. </dependency>
  172. </dependencies>
  173. <executions>
  174. <execution>
  175. <id>dist</id>
  176. <phase>prepare-package</phase>
  177. <goals>
  178. <goal>single</goal>
  179. </goals>
  180. <configuration>
  181. <appendAssemblyId>false</appendAssemblyId>
  182. <attach>false</attach>
  183. <finalName>${project.artifactId}-${project.version}</finalName>
  184. <descriptorRefs>
  185. <descriptorRef>hadoop-tools</descriptorRef>
  186. </descriptorRefs>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. </plugins>
  192. </build>
  193. </profile>
  194. </profiles>
  195. </project>