pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.eclipse.jetty</groupId>
  51. <artifactId>jetty-util</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.eclipse.jetty</groupId>
  56. <artifactId>jetty-server</artifactId>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.eclipse.jetty</groupId>
  61. <artifactId>jetty-servlet</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>javax.servlet</groupId>
  66. <artifactId>javax.servlet-api</artifactId>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.slf4j</groupId>
  71. <artifactId>slf4j-api</artifactId>
  72. <scope>compile</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-codec</groupId>
  76. <artifactId>commons-codec</artifactId>
  77. <scope>compile</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>log4j</groupId>
  81. <artifactId>log4j</artifactId>
  82. <scope>runtime</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.slf4j</groupId>
  86. <artifactId>slf4j-log4j12</artifactId>
  87. <scope>runtime</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.hadoop</groupId>
  91. <artifactId>hadoop-minikdc</artifactId>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.httpcomponents</groupId>
  96. <artifactId>httpclient</artifactId>
  97. <scope>compile</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.nimbusds</groupId>
  101. <artifactId>nimbus-jose-jwt</artifactId>
  102. <scope>compile</scope>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.bouncycastle</groupId>
  106. <artifactId>bcprov-jdk15on</artifactId>
  107. </exclusion>
  108. </exclusions>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.zookeeper</groupId>
  112. <artifactId>zookeeper</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>io.dropwizard.metrics</groupId>
  116. <artifactId>metrics-core</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.xerial.snappy</groupId>
  120. <artifactId>snappy-java</artifactId>
  121. <scope>provided</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.curator</groupId>
  125. <artifactId>curator-framework</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.curator</groupId>
  129. <artifactId>curator-test</artifactId>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.kerby</groupId>
  134. <artifactId>kerb-simplekdc</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.directory.server</groupId>
  138. <artifactId>apacheds-core</artifactId>
  139. <version>${apacheds.version}</version>
  140. <scope>test</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.directory.server</groupId>
  144. <artifactId>apacheds-protocol-ldap</artifactId>
  145. <version>${apacheds.version}</version>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.directory.server</groupId>
  150. <artifactId>apacheds-ldif-partition</artifactId>
  151. <version>${apacheds.version}</version>
  152. <scope>test</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.directory.api</groupId>
  156. <artifactId>api-ldap-codec-core</artifactId>
  157. <version>${ldap-api.version}</version>
  158. <scope>test</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.directory.api</groupId>
  162. <artifactId>api-ldap-model</artifactId>
  163. <version>${ldap-api.version}</version>
  164. <scope>test</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.directory.server</groupId>
  168. <artifactId>apacheds-server-integ</artifactId>
  169. <version>${apacheds.version}</version>
  170. <scope>test</scope>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.directory.server</groupId>
  174. <artifactId>apacheds-core-integ</artifactId>
  175. <version>${apacheds.version}</version>
  176. <scope>test</scope>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.apache.hadoop.thirdparty</groupId>
  180. <artifactId>hadoop-shaded-guava</artifactId>
  181. <scope>compile</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.google.guava</groupId>
  185. <artifactId>guava</artifactId>
  186. <scope>test</scope>
  187. </dependency>
  188. </dependencies>
  189. <build>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-source-plugin</artifactId>
  194. <executions>
  195. <execution>
  196. <phase>prepare-package</phase>
  197. <goals>
  198. <goal>jar</goal>
  199. </goals>
  200. </execution>
  201. </executions>
  202. <configuration>
  203. <attach>true</attach>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-jar-plugin</artifactId>
  209. <executions>
  210. <execution>
  211. <id>prepare-jar</id>
  212. <phase>prepare-package</phase>
  213. <goals>
  214. <goal>jar</goal>
  215. </goals>
  216. </execution>
  217. <execution>
  218. <id>prepare-test-jar</id>
  219. <phase>prepare-package</phase>
  220. <goals>
  221. <goal>test-jar</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. </plugin>
  226. <plugin>
  227. <groupId>com.github.spotbugs</groupId>
  228. <artifactId>spotbugs-maven-plugin</artifactId>
  229. <configuration>
  230. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  231. </configuration>
  232. </plugin>
  233. </plugins>
  234. </build>
  235. <profiles>
  236. <profile>
  237. <id>docs</id>
  238. <activation>
  239. <activeByDefault>false</activeByDefault>
  240. </activation>
  241. <build>
  242. <plugins>
  243. <plugin>
  244. <groupId>org.apache.maven.plugins</groupId>
  245. <artifactId>maven-javadoc-plugin</artifactId>
  246. <executions>
  247. <execution>
  248. <phase>package</phase>
  249. <goals>
  250. <goal>javadoc-no-fork</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. </plugins>
  256. </build>
  257. </profile>
  258. </profiles>
  259. </project>