pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  14. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  15. <modelVersion>4.0.0</modelVersion>
  16. <parent>
  17. <groupId>org.apache.hadoop</groupId>
  18. <artifactId>hadoop-project</artifactId>
  19. <version>3.4.0-SNAPSHOT</version>
  20. <relativePath>../../hadoop-project</relativePath>
  21. </parent>
  22. <artifactId>hadoop-cloud-storage</artifactId>
  23. <version>3.4.0-SNAPSHOT</version>
  24. <packaging>jar</packaging>
  25. <description>Apache Hadoop Cloud Storage</description>
  26. <name>Apache Hadoop Cloud Storage</name>
  27. <properties>
  28. <hadoop.component>cloud-storage</hadoop.component>
  29. </properties>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-enforcer-plugin</artifactId>
  35. <dependencies>
  36. <dependency>
  37. <groupId>de.skuzzle.enforcer</groupId>
  38. <artifactId>restrict-imports-enforcer-rule</artifactId>
  39. <version>${restrict-imports.enforcer.version}</version>
  40. </dependency>
  41. </dependencies>
  42. <executions>
  43. <execution>
  44. <id>banned-illegal-imports</id>
  45. <phase>process-sources</phase>
  46. <goals>
  47. <goal>enforce</goal>
  48. </goals>
  49. <configuration>
  50. <rules>
  51. <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
  52. <includeTestCode>true</includeTestCode>
  53. <reason>Use hadoop-common provided Lists rather than Guava provided Lists</reason>
  54. <bannedImports>
  55. <bannedImport>org.apache.hadoop.thirdparty.com.google.common.collect.Lists</bannedImport>
  56. <bannedImport>com.google.common.collect.Lists</bannedImport>
  57. </bannedImports>
  58. </restrictImports>
  59. </rules>
  60. </configuration>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. <dependencies>
  67. <dependency>
  68. <groupId>org.apache.hadoop</groupId>
  69. <artifactId>hadoop-annotations</artifactId>
  70. <scope>compile</scope>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>jdk.tools</groupId>
  74. <artifactId>jdk.tools</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.hadoop</groupId>
  80. <artifactId>hadoop-common</artifactId>
  81. <scope>provided</scope>
  82. <exclusions>
  83. <exclusion>
  84. <groupId>javax.servlet</groupId>
  85. <artifactId>servlet-api</artifactId>
  86. </exclusion>
  87. <exclusion>
  88. <groupId>commons-logging</groupId>
  89. <artifactId>commons-logging-api</artifactId>
  90. </exclusion>
  91. <exclusion>
  92. <groupId>jetty</groupId>
  93. <artifactId>org.mortbay.jetty</artifactId>
  94. </exclusion>
  95. <exclusion>
  96. <groupId>org.mortbay.jetty</groupId>
  97. <artifactId>jetty</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.mortbay.jetty</groupId>
  101. <artifactId>servlet-api-2.5</artifactId>
  102. </exclusion>
  103. <exclusion>
  104. <groupId>com.sun.jersey</groupId>
  105. <artifactId>jersey-core</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>com.sun.jersey</groupId>
  109. <artifactId>jersey-json</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>com.sun.jersey</groupId>
  113. <artifactId>jersey-server</artifactId>
  114. </exclusion>
  115. <exclusion>
  116. <groupId>org.eclipse.jdt</groupId>
  117. <artifactId>core</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>org.apache.avro</groupId>
  121. <artifactId>avro-ipc</artifactId>
  122. </exclusion>
  123. <exclusion>
  124. <groupId>net.sf.kosmosfs</groupId>
  125. <artifactId>kfs</artifactId>
  126. </exclusion>
  127. <exclusion>
  128. <groupId>com.jcraft</groupId>
  129. <artifactId>jsch</artifactId>
  130. </exclusion>
  131. <exclusion>
  132. <groupId>org.apache.zookeeper</groupId>
  133. <artifactId>zookeeper</artifactId>
  134. </exclusion>
  135. </exclusions>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.hadoop</groupId>
  139. <artifactId>hadoop-aliyun</artifactId>
  140. <scope>compile</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.hadoop</groupId>
  144. <artifactId>hadoop-aws</artifactId>
  145. <scope>compile</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.hadoop</groupId>
  149. <artifactId>hadoop-azure</artifactId>
  150. <scope>compile</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.hadoop</groupId>
  154. <artifactId>hadoop-azure-datalake</artifactId>
  155. <scope>compile</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.hadoop</groupId>
  159. <artifactId>hadoop-openstack</artifactId>
  160. <scope>compile</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.hadoop</groupId>
  164. <artifactId>hadoop-cos</artifactId>
  165. <scope>compile</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.hadoop</groupId>
  169. <artifactId>hadoop-huaweicloud</artifactId>
  170. <scope>compile</scope>
  171. </dependency>
  172. </dependencies>
  173. </project>