pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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.4.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.4.0-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</include>
  51. <include>org.slf4j:slf4j-api</include>
  52. <include>com.google.protobuf:protobuf-java</include>
  53. <include>com.nimbusds:nimbus-jose-jwt</include>
  54. <include>com.github.stephenc.jcip:jcip-annotations</include>
  55. <include>com.google.code.findbugs:jsr305</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</include>
  62. <include>com.google.auto.value:auto-value-annotations</include>
  63. <include>com.squareup:javapoet</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. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-surefire-plugin</artifactId>
  105. <configuration>
  106. <includes>
  107. <include>ITestOzoneContract*.java</include>
  108. </includes>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. <dependencies>
  114. <dependency>
  115. <groupId>org.apache.hadoop</groupId>
  116. <artifactId>hadoop-common</artifactId>
  117. <scope>provided</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.hadoop</groupId>
  121. <artifactId>hadoop-hdfs</artifactId>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.hadoop</groupId>
  126. <artifactId>hadoop-hdfs-client</artifactId>
  127. <scope>provided</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.hadoop</groupId>
  131. <artifactId>hadoop-hdds-common</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.hadoop</groupId>
  135. <artifactId>hadoop-hdds-server-scm</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.hadoop</groupId>
  140. <artifactId>hadoop-hdds-server-framework</artifactId>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.hadoop</groupId>
  145. <artifactId>hadoop-ozone-ozone-manager</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.hadoop</groupId>
  150. <artifactId>hadoop-hdds-container-service</artifactId>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.hadoop</groupId>
  155. <artifactId>hadoop-hdds-client</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.hadoop</groupId>
  159. <artifactId>hadoop-ozone-common</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.hadoop</groupId>
  163. <artifactId>hadoop-ozone-objectstore-service</artifactId>
  164. <scope>provided</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.hadoop</groupId>
  168. <artifactId>hadoop-common</artifactId>
  169. <scope>test</scope>
  170. <type>test-jar</type>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.hadoop</groupId>
  174. <artifactId>hadoop-ozone-client</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.hadoop</groupId>
  178. <artifactId>hadoop-hdfs</artifactId>
  179. <scope>test</scope>
  180. <type>test-jar</type>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.apache.hadoop</groupId>
  184. <artifactId>hadoop-ozone-integration-test</artifactId>
  185. <scope>test</scope>
  186. <type>test-jar</type>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.mockito</groupId>
  190. <artifactId>mockito-all</artifactId>
  191. <scope>test</scope>
  192. </dependency>
  193. <dependency>
  194. <groupId>junit</groupId>
  195. <artifactId>junit</artifactId>
  196. <scope>test</scope>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.apache.hadoop</groupId>
  200. <artifactId>hadoop-distcp</artifactId>
  201. <scope>test</scope>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.apache.hadoop</groupId>
  205. <artifactId>hadoop-distcp</artifactId>
  206. <scope>test</scope>
  207. <type>test-jar</type>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.hadoop</groupId>
  211. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  212. <scope>test</scope>
  213. </dependency>
  214. </dependencies>
  215. </project>