pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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>2.8.2</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-tools-dist</artifactId>
  26. <version>2.8.2</version>
  27. <description>Apache Hadoop Tools Dist</description>
  28. <name>Apache Hadoop Tools Dist</name>
  29. <packaging>jar</packaging>
  30. <properties>
  31. <hadoop.component>tools</hadoop.component>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.apache.hadoop</groupId>
  36. <artifactId>hadoop-streaming</artifactId>
  37. <scope>compile</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.hadoop</groupId>
  41. <artifactId>hadoop-distcp</artifactId>
  42. <scope>compile</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.hadoop</groupId>
  46. <artifactId>hadoop-archives</artifactId>
  47. <scope>compile</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.hadoop</groupId>
  51. <artifactId>hadoop-archive-logs</artifactId>
  52. <scope>compile</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.hadoop</groupId>
  56. <artifactId>hadoop-rumen</artifactId>
  57. <scope>compile</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.hadoop</groupId>
  61. <artifactId>hadoop-datajoin</artifactId>
  62. <scope>compile</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.hadoop</groupId>
  66. <artifactId>hadoop-extras</artifactId>
  67. <scope>compile</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-gridmix</artifactId>
  72. <scope>compile</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.hadoop</groupId>
  76. <artifactId>hadoop-pipes</artifactId>
  77. <scope>compile</scope>
  78. <type>pom</type>
  79. <version>${project.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.hadoop</groupId>
  83. <artifactId>hadoop-openstack</artifactId>
  84. <scope>compile</scope>
  85. <version>${project.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.hadoop</groupId>
  89. <artifactId>hadoop-aws</artifactId>
  90. <scope>compile</scope>
  91. <version>${project.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.hadoop</groupId>
  95. <artifactId>hadoop-azure</artifactId>
  96. <scope>compile</scope>
  97. <version>${project.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.hadoop</groupId>
  101. <artifactId>hadoop-sls</artifactId>
  102. <scope>compile</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.hadoop</groupId>
  106. <artifactId>hadoop-ant</artifactId>
  107. <version>${project.version}</version>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.hadoop</groupId>
  112. <artifactId>hadoop-azure-datalake</artifactId>
  113. <scope>compile</scope>
  114. <version>${project.version}</version>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <artifactId>maven-deploy-plugin</artifactId>
  121. <configuration>
  122. <skip>true</skip>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.rat</groupId>
  127. <artifactId>apache-rat-plugin</artifactId>
  128. <configuration>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <profiles>
  134. <profile>
  135. <id>dist</id>
  136. <activation>
  137. <activeByDefault>false</activeByDefault>
  138. </activation>
  139. <build>
  140. <plugins>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-assembly-plugin</artifactId>
  144. <dependencies>
  145. <dependency>
  146. <groupId>org.apache.hadoop</groupId>
  147. <artifactId>hadoop-assemblies</artifactId>
  148. <version>${project.version}</version>
  149. </dependency>
  150. </dependencies>
  151. <executions>
  152. <execution>
  153. <id>dist</id>
  154. <phase>prepare-package</phase>
  155. <goals>
  156. <goal>single</goal>
  157. </goals>
  158. <configuration>
  159. <appendAssemblyId>false</appendAssemblyId>
  160. <attach>false</attach>
  161. <finalName>${project.artifactId}-${project.version}</finalName>
  162. <descriptorRefs>
  163. <descriptorRef>hadoop-tools</descriptorRef>
  164. </descriptorRefs>
  165. </configuration>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </profile>
  172. </profiles>
  173. </project>