pom.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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
  16. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project</artifactId>
  21. <version>3.5.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <artifactId>hadoop-auth</artifactId>
  25. <version>3.5.0-SNAPSHOT</version>
  26. <packaging>jar</packaging>
  27. <name>Apache Hadoop Auth</name>
  28. <description>Apache Hadoop Auth - Java HTTP SPNEGO</description>
  29. <properties>
  30. <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <!-- Used, even though 'mvn dependency:analyze' doesn't find it -->
  35. <groupId>org.apache.hadoop</groupId>
  36. <artifactId>hadoop-annotations</artifactId>
  37. <scope>provided</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>junit</groupId>
  41. <artifactId>junit</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.mockito</groupId>
  46. <artifactId>mockito-core</artifactId>
  47. <version>4.11.0</version>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.eclipse.jetty</groupId>
  52. <artifactId>jetty-util</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.eclipse.jetty</groupId>
  57. <artifactId>jetty-server</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.eclipse.jetty</groupId>
  62. <artifactId>jetty-servlet</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>jakarta.servlet</groupId>
  67. <artifactId>jakarta.servlet-api</artifactId>
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>slf4j-api</artifactId>
  73. <scope>compile</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-codec</groupId>
  77. <artifactId>commons-codec</artifactId>
  78. <scope>compile</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>ch.qos.reload4j</groupId>
  82. <artifactId>reload4j</artifactId>
  83. <scope>runtime</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.slf4j</groupId>
  87. <artifactId>slf4j-reload4j</artifactId>
  88. <scope>runtime</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.hadoop</groupId>
  92. <artifactId>hadoop-minikdc</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.nimbusds</groupId>
  102. <artifactId>nimbus-jose-jwt</artifactId>
  103. <scope>compile</scope>
  104. <exclusions>
  105. <exclusion>
  106. <groupId>org.bouncycastle</groupId>
  107. <artifactId>bcprov-jdk18on</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.zookeeper</groupId>
  113. <artifactId>zookeeper</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>io.dropwizard.metrics</groupId>
  117. <artifactId>metrics-core</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.xerial.snappy</groupId>
  121. <artifactId>snappy-java</artifactId>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.curator</groupId>
  126. <artifactId>curator-framework</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.curator</groupId>
  130. <artifactId>curator-test</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.kerby</groupId>
  135. <artifactId>kerb-core</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.kerby</groupId>
  139. <artifactId>kerb-util</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.directory.server</groupId>
  143. <artifactId>apacheds-core</artifactId>
  144. <version>${apacheds.version}</version>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.directory.server</groupId>
  149. <artifactId>apacheds-protocol-ldap</artifactId>
  150. <version>${apacheds.version}</version>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.directory.server</groupId>
  155. <artifactId>apacheds-ldif-partition</artifactId>
  156. <version>${apacheds.version}</version>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.directory.api</groupId>
  161. <artifactId>api-ldap-codec-core</artifactId>
  162. <version>${ldap-api.version}</version>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.directory.api</groupId>
  167. <artifactId>api-ldap-model</artifactId>
  168. <version>${ldap-api.version}</version>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.directory.server</groupId>
  173. <artifactId>apacheds-server-integ</artifactId>
  174. <version>${apacheds.version}</version>
  175. <scope>test</scope>
  176. <exclusions>
  177. <exclusion>
  178. <groupId>log4j</groupId>
  179. <artifactId>log4j</artifactId>
  180. </exclusion>
  181. <exclusion>
  182. <groupId>commons-collections</groupId>
  183. <artifactId>commons-collections</artifactId>
  184. </exclusion>
  185. </exclusions>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.apache.directory.server</groupId>
  189. <artifactId>apacheds-core-integ</artifactId>
  190. <version>${apacheds.version}</version>
  191. <scope>test</scope>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.apache.hadoop.thirdparty</groupId>
  195. <artifactId>hadoop-shaded-guava</artifactId>
  196. <scope>compile</scope>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.google.guava</groupId>
  200. <artifactId>guava</artifactId>
  201. <scope>test</scope>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.assertj</groupId>
  205. <artifactId>assertj-core</artifactId>
  206. <scope>test</scope>
  207. </dependency>
  208. </dependencies>
  209. <build>
  210. <plugins>
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-source-plugin</artifactId>
  214. <executions>
  215. <execution>
  216. <phase>prepare-package</phase>
  217. <goals>
  218. <goal>jar</goal>
  219. </goals>
  220. </execution>
  221. </executions>
  222. <configuration>
  223. <attach>true</attach>
  224. </configuration>
  225. </plugin>
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-jar-plugin</artifactId>
  229. <executions>
  230. <execution>
  231. <id>prepare-jar</id>
  232. <phase>prepare-package</phase>
  233. <goals>
  234. <goal>jar</goal>
  235. </goals>
  236. </execution>
  237. <execution>
  238. <id>prepare-test-jar</id>
  239. <phase>prepare-package</phase>
  240. <goals>
  241. <goal>test-jar</goal>
  242. </goals>
  243. </execution>
  244. </executions>
  245. </plugin>
  246. <plugin>
  247. <groupId>com.github.spotbugs</groupId>
  248. <artifactId>spotbugs-maven-plugin</artifactId>
  249. <configuration>
  250. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  251. </configuration>
  252. </plugin>
  253. </plugins>
  254. </build>
  255. <profiles>
  256. <profile>
  257. <id>docs</id>
  258. <activation>
  259. <activeByDefault>false</activeByDefault>
  260. </activation>
  261. <build>
  262. <plugins>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-javadoc-plugin</artifactId>
  266. <executions>
  267. <execution>
  268. <phase>package</phase>
  269. <goals>
  270. <goal>javadoc-no-fork</goal>
  271. </goals>
  272. </execution>
  273. </executions>
  274. </plugin>
  275. </plugins>
  276. </build>
  277. </profile>
  278. </profiles>
  279. </project>