pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  16. <modelVersion>4.0.0</modelVersion>
  17. <parent>
  18. <groupId>org.apache.hadoop</groupId>
  19. <artifactId>hadoop-ozone</artifactId>
  20. <version>0.2.1-SNAPSHOT</version>
  21. </parent>
  22. <artifactId>hadoop-ozone-filesystem</artifactId>
  23. <name>Apache Hadoop Ozone FileSystem</name>
  24. <packaging>jar</packaging>
  25. <version>0.2.1-SNAPSHOT</version>
  26. <properties>
  27. <file.encoding>UTF-8</file.encoding>
  28. <downloadSources>true</downloadSources>
  29. </properties>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-jar-plugin</artifactId>
  35. <executions>
  36. <execution>
  37. <goals>
  38. <goal>test-jar</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-shade-plugin</artifactId>
  46. <version>3.1.1</version>
  47. <configuration>
  48. <artifactSet>
  49. <includes>
  50. <include>com.google.guava:guava:jar</include>
  51. <include>org.slf4j:slf4j-api:jar</include>
  52. <include>com.google.protobuf:protobuf-java</include>
  53. <include>com.nimbusds:nimbus-jose-jwt:jar</include>
  54. <include>com.github.stephenc.jcip:jcip-annotations</include>
  55. <include>com.google.code.findbugs:jsr305:jar</include>
  56. <include>org.apache.hadoop:hadoop-ozone-client</include>
  57. <include>org.apache.hadoop:hadoop-hdds-client</include>
  58. <include>org.apache.hadoop:hadoop-hdds-common</include>
  59. <include>org.fusesource.leveldbjni:leveldbjni-all</include>
  60. <include>org.apache.ratis:ratis-server</include>
  61. <include>org.apache.ratis:ratis-proto-shaded:jar</include>
  62. <include>com.google.auto.value:auto-value-annotations</include>
  63. <include>com.squareup:javapoet:jar</include>
  64. <include>org.jctools:jctools-core</include>
  65. <include>org.apache.ratis:ratis-common</include>
  66. <include>org.apache.ratis:ratis-client</include>
  67. <include>org.apache.ratis:ratis-netty</include>
  68. <include>org.apache.ratis:ratis-grpc</include>
  69. <include>org.rocksdb:rocksdbjni</include>
  70. <include>org.apache.hadoop:hadoop-ozone-common</include>
  71. </includes>
  72. </artifactSet>
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <phase>package</phase>
  77. <goals>
  78. <goal>shade</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-dependency-plugin</artifactId>
  86. <executions>
  87. <execution>
  88. <id>deplist</id>
  89. <phase>compile</phase>
  90. <goals>
  91. <goal>list</goal>
  92. </goals>
  93. <configuration>
  94. <!-- build a shellprofile -->
  95. <outputFile>
  96. ${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-optional.txt
  97. </outputFile>
  98. </configuration>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. <dependencies>
  105. <dependency>
  106. <groupId>org.apache.hadoop</groupId>
  107. <artifactId>hadoop-common</artifactId>
  108. <scope>provided</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.hadoop</groupId>
  112. <artifactId>hadoop-hdfs</artifactId>
  113. <scope>provided</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.hadoop</groupId>
  117. <artifactId>hadoop-hdfs-client</artifactId>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.hadoop</groupId>
  122. <artifactId>hadoop-hdds-common</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.hadoop</groupId>
  126. <artifactId>hadoop-hdds-server-scm</artifactId>
  127. <scope>test</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.hadoop</groupId>
  131. <artifactId>hadoop-hdds-server-framework</artifactId>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.hadoop</groupId>
  136. <artifactId>hadoop-ozone-ozone-manager</artifactId>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.hadoop</groupId>
  141. <artifactId>hadoop-hdds-container-service</artifactId>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.hadoop</groupId>
  146. <artifactId>hadoop-hdds-client</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.hadoop</groupId>
  150. <artifactId>hadoop-ozone-common</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.hadoop</groupId>
  154. <artifactId>hadoop-ozone-objectstore-service</artifactId>
  155. <scope>provided</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.hadoop</groupId>
  159. <artifactId>hadoop-common</artifactId>
  160. <scope>test</scope>
  161. <type>test-jar</type>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.apache.hadoop</groupId>
  165. <artifactId>hadoop-ozone-client</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.hadoop</groupId>
  169. <artifactId>hadoop-hdfs</artifactId>
  170. <scope>test</scope>
  171. <type>test-jar</type>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.hadoop</groupId>
  175. <artifactId>hadoop-ozone-integration-test</artifactId>
  176. <scope>test</scope>
  177. <type>test-jar</type>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.mockito</groupId>
  181. <artifactId>mockito-all</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>junit</groupId>
  186. <artifactId>junit</artifactId>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.apache.hadoop</groupId>
  191. <artifactId>hadoop-distcp</artifactId>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.apache.hadoop</groupId>
  196. <artifactId>hadoop-distcp</artifactId>
  197. <scope>test</scope>
  198. <type>test-jar</type>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.hadoop</groupId>
  202. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  203. <scope>test</scope>
  204. </dependency>
  205. </dependencies>
  206. </project>