pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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 https://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.5.0-SNAPSHOT</version>
  21. </parent>
  22. <artifactId>hadoop-ozone-s3gateway</artifactId>
  23. <name>Apache Hadoop Ozone S3 Gateway</name>
  24. <packaging>jar</packaging>
  25. <version>0.5.0-SNAPSHOT</version>
  26. <properties>
  27. <file.encoding>UTF-8</file.encoding>
  28. <downloadSources>true</downloadSources>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.hadoop</groupId>
  33. <artifactId>hadoop-ozone-common</artifactId>
  34. <scope>compile</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.jboss.weld.servlet</groupId>
  38. <artifactId>weld-servlet</artifactId>
  39. <version>2.4.7.Final</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.glassfish.jersey.containers</groupId>
  43. <artifactId>jersey-container-servlet-core</artifactId>
  44. <version>2.27</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.glassfish.jersey.ext.cdi</groupId>
  48. <artifactId>jersey-cdi1x</artifactId>
  49. <version>2.27</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.glassfish.jersey.inject</groupId>
  53. <artifactId>jersey-hk2</artifactId>
  54. <version>2.27</version>
  55. <exclusions>
  56. <exclusion>
  57. <artifactId>hk2-api</artifactId>
  58. <groupId>org.glassfish.hk2</groupId>
  59. </exclusion>
  60. <exclusion>
  61. <artifactId>hk2-utils</artifactId>
  62. <groupId>org.glassfish.hk2</groupId>
  63. </exclusion>
  64. <exclusion>
  65. <artifactId>aopalliance-repackaged</artifactId>
  66. <groupId>org.glassfish.hk2.external</groupId>
  67. </exclusion>
  68. </exclusions>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.glassfish.hk2</groupId>
  72. <artifactId>hk2-api</artifactId>
  73. <version>2.5.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.fasterxml.jackson.dataformat</groupId>
  77. <artifactId>jackson-dataformat-xml</artifactId>
  78. <version>2.9.0</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>javax.enterprise</groupId>
  82. <artifactId>cdi-api</artifactId>
  83. <version>1.2</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.sun.xml.bind</groupId>
  87. <artifactId>jaxb-impl</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.sun.xml.bind</groupId>
  91. <artifactId>jaxb-core</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>javax.xml.bind</groupId>
  95. <artifactId>jaxb-api</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>javax.activation</groupId>
  99. <artifactId>activation</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.hadoop</groupId>
  103. <artifactId>hadoop-common</artifactId>
  104. <exclusions>
  105. <exclusion>
  106. <groupId>com.sun.jersey</groupId>
  107. <artifactId>jersey-core</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>com.sun.jersey</groupId>
  111. <artifactId>jersey-servlet</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>com.sun.jersey</groupId>
  115. <artifactId>jersey-json</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>com.sun.jersey</groupId>
  119. <artifactId>jersey-server</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.hadoop</groupId>
  125. <artifactId>hadoop-hdfs</artifactId>
  126. <exclusions>
  127. <exclusion>
  128. <groupId>com.sun.jersey</groupId>
  129. <artifactId>jersey-core</artifactId>
  130. </exclusion>
  131. <exclusion>
  132. <groupId>com.sun.jersey</groupId>
  133. <artifactId>jersey-servlet</artifactId>
  134. </exclusion>
  135. <exclusion>
  136. <groupId>com.sun.jersey</groupId>
  137. <artifactId>jersey-json</artifactId>
  138. </exclusion>
  139. <exclusion>
  140. <groupId>com.sun.jersey</groupId>
  141. <artifactId>jersey-server</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.hadoop</groupId>
  147. <artifactId>hadoop-common</artifactId>
  148. <type>test-jar</type>
  149. <scope>test</scope>
  150. <exclusions>
  151. <exclusion>
  152. <groupId>com.sun.jersey</groupId>
  153. <artifactId>jersey-core</artifactId>
  154. </exclusion>
  155. <exclusion>
  156. <groupId>com.sun.jersey</groupId>
  157. <artifactId>jersey-servlet</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>com.sun.jersey</groupId>
  161. <artifactId>jersey-json</artifactId>
  162. </exclusion>
  163. <exclusion>
  164. <groupId>com.sun.jersey</groupId>
  165. <artifactId>jersey-server</artifactId>
  166. </exclusion>
  167. </exclusions>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.apache.hadoop</groupId>
  171. <artifactId>hadoop-hdfs</artifactId>
  172. <type>test-jar</type>
  173. <scope>test</scope>
  174. <exclusions>
  175. <exclusion>
  176. <groupId>com.sun.jersey</groupId>
  177. <artifactId>jersey-core</artifactId>
  178. </exclusion>
  179. <exclusion>
  180. <groupId>com.sun.jersey</groupId>
  181. <artifactId>jersey-servlet</artifactId>
  182. </exclusion>
  183. <exclusion>
  184. <groupId>com.sun.jersey</groupId>
  185. <artifactId>jersey-json</artifactId>
  186. </exclusion>
  187. <exclusion>
  188. <groupId>com.sun.jersey</groupId>
  189. <artifactId>jersey-server</artifactId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.apache.hadoop</groupId>
  195. <artifactId>hadoop-ozone-client</artifactId>
  196. </dependency>
  197. <dependency>
  198. <groupId>junit</groupId>
  199. <artifactId>junit</artifactId>
  200. <scope>test</scope>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.mockito</groupId>
  204. <artifactId>mockito-core</artifactId>
  205. <version>2.15.0</version>
  206. <scope>test</scope>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.google.code.findbugs</groupId>
  210. <artifactId>findbugs</artifactId>
  211. <version>3.0.1</version>
  212. <scope>provided</scope>
  213. </dependency>
  214. </dependencies>
  215. <build>
  216. <plugins>
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-dependency-plugin</artifactId>
  220. <executions>
  221. <execution>
  222. <id>copy-common-html</id>
  223. <phase>prepare-package</phase>
  224. <goals>
  225. <goal>unpack</goal>
  226. </goals>
  227. <configuration>
  228. <artifactItems>
  229. <artifactItem>
  230. <groupId>org.apache.hadoop</groupId>
  231. <artifactId>hadoop-hdds-server-framework</artifactId>
  232. <outputDirectory>${project.build.outputDirectory}
  233. </outputDirectory>
  234. <includes>webapps/static/**/*.*</includes>
  235. </artifactItem>
  236. <artifactItem>
  237. <groupId>org.apache.hadoop</groupId>
  238. <artifactId>hadoop-hdds-docs</artifactId>
  239. <outputDirectory>
  240. ${project.build.outputDirectory}/webapps/static
  241. </outputDirectory>
  242. <includes>docs/**/*.*</includes>
  243. </artifactItem>
  244. </artifactItems>
  245. <overWriteSnapshots>true</overWriteSnapshots>
  246. </configuration>
  247. </execution>
  248. </executions>
  249. </plugin>
  250. </plugins>
  251. </build>
  252. </project>