pom.xml 7.2 KB

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