pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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-s3gateway</artifactId>
  23. <name>Apache Hadoop Ozone S3 Gateway</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. <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. </dependency>
  56. <dependency>
  57. <groupId>com.fasterxml.jackson.dataformat</groupId>
  58. <artifactId>jackson-dataformat-xml</artifactId>
  59. <version>2.9.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>javax.enterprise</groupId>
  63. <artifactId>cdi-api</artifactId>
  64. <version>1.2</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.sun.xml.bind</groupId>
  68. <artifactId>jaxb-impl</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.sun.xml.bind</groupId>
  72. <artifactId>jaxb-core</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>javax.xml.bind</groupId>
  76. <artifactId>jaxb-api</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>javax.activation</groupId>
  80. <artifactId>activation</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.hadoop</groupId>
  84. <artifactId>hadoop-common</artifactId>
  85. <exclusions>
  86. <exclusion>
  87. <groupId>com.sun.jersey</groupId>
  88. <artifactId>jersey-core</artifactId>
  89. </exclusion>
  90. <exclusion>
  91. <groupId>com.sun.jersey</groupId>
  92. <artifactId>jersey-servlet</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>com.sun.jersey</groupId>
  96. <artifactId>jersey-json</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>com.sun.jersey</groupId>
  100. <artifactId>jersey-server</artifactId>
  101. </exclusion>
  102. </exclusions>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.hadoop</groupId>
  106. <artifactId>hadoop-hdfs</artifactId>
  107. <exclusions>
  108. <exclusion>
  109. <groupId>com.sun.jersey</groupId>
  110. <artifactId>jersey-core</artifactId>
  111. </exclusion>
  112. <exclusion>
  113. <groupId>com.sun.jersey</groupId>
  114. <artifactId>jersey-servlet</artifactId>
  115. </exclusion>
  116. <exclusion>
  117. <groupId>com.sun.jersey</groupId>
  118. <artifactId>jersey-json</artifactId>
  119. </exclusion>
  120. <exclusion>
  121. <groupId>com.sun.jersey</groupId>
  122. <artifactId>jersey-server</artifactId>
  123. </exclusion>
  124. </exclusions>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.hadoop</groupId>
  128. <artifactId>hadoop-common</artifactId>
  129. <type>test-jar</type>
  130. <scope>test</scope>
  131. <exclusions>
  132. <exclusion>
  133. <groupId>com.sun.jersey</groupId>
  134. <artifactId>jersey-core</artifactId>
  135. </exclusion>
  136. <exclusion>
  137. <groupId>com.sun.jersey</groupId>
  138. <artifactId>jersey-servlet</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <groupId>com.sun.jersey</groupId>
  142. <artifactId>jersey-json</artifactId>
  143. </exclusion>
  144. <exclusion>
  145. <groupId>com.sun.jersey</groupId>
  146. <artifactId>jersey-server</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.hadoop</groupId>
  152. <artifactId>hadoop-hdfs</artifactId>
  153. <type>test-jar</type>
  154. <scope>test</scope>
  155. <exclusions>
  156. <exclusion>
  157. <groupId>com.sun.jersey</groupId>
  158. <artifactId>jersey-core</artifactId>
  159. </exclusion>
  160. <exclusion>
  161. <groupId>com.sun.jersey</groupId>
  162. <artifactId>jersey-servlet</artifactId>
  163. </exclusion>
  164. <exclusion>
  165. <groupId>com.sun.jersey</groupId>
  166. <artifactId>jersey-json</artifactId>
  167. </exclusion>
  168. <exclusion>
  169. <groupId>com.sun.jersey</groupId>
  170. <artifactId>jersey-server</artifactId>
  171. </exclusion>
  172. </exclusions>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.apache.hadoop</groupId>
  176. <artifactId>hadoop-ozone-client</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>junit</groupId>
  180. <artifactId>junit</artifactId>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.mockito</groupId>
  185. <artifactId>mockito-core</artifactId>
  186. <version>2.15.0</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.google.code.findbugs</groupId>
  191. <artifactId>findbugs</artifactId>
  192. <version>3.0.1</version>
  193. <scope>provided</scope>
  194. </dependency>
  195. </dependencies>
  196. <build>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-dependency-plugin</artifactId>
  201. <executions>
  202. <execution>
  203. <id>copy-common-html</id>
  204. <phase>prepare-package</phase>
  205. <goals>
  206. <goal>unpack</goal>
  207. </goals>
  208. <configuration>
  209. <artifactItems>
  210. <artifactItem>
  211. <groupId>org.apache.hadoop</groupId>
  212. <artifactId>hadoop-hdds-server-framework</artifactId>
  213. <outputDirectory>${project.build.outputDirectory}
  214. </outputDirectory>
  215. <includes>webapps/static/**/*.*</includes>
  216. </artifactItem>
  217. <artifactItem>
  218. <groupId>org.apache.hadoop</groupId>
  219. <artifactId>hadoop-hdds-docs</artifactId>
  220. <outputDirectory>
  221. ${project.build.outputDirectory}/webapps/static
  222. </outputDirectory>
  223. <includes>docs/**/*.*</includes>
  224. </artifactItem>
  225. </artifactItems>
  226. <overWriteSnapshots>true</overWriteSnapshots>
  227. </configuration>
  228. </execution>
  229. </executions>
  230. </plugin>
  231. </plugins>
  232. </build>
  233. </project>