pom.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. http://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.0.0</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <artifactId>hadoop-auth</artifactId>
  25. <version>3.0.0</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-all</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>org.apache.tomcat.embed</groupId>
  66. <artifactId>tomcat-embed-core</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.tomcat.embed</groupId>
  71. <artifactId>tomcat-embed-logging-juli</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>javax.servlet</groupId>
  76. <artifactId>javax.servlet-api</artifactId>
  77. <scope>provided</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-api</artifactId>
  82. <scope>compile</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-codec</groupId>
  86. <artifactId>commons-codec</artifactId>
  87. <scope>compile</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>log4j</groupId>
  91. <artifactId>log4j</artifactId>
  92. <scope>runtime</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.slf4j</groupId>
  96. <artifactId>slf4j-log4j12</artifactId>
  97. <scope>runtime</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.hadoop</groupId>
  101. <artifactId>hadoop-minikdc</artifactId>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.httpcomponents</groupId>
  106. <artifactId>httpclient</artifactId>
  107. <scope>compile</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.nimbusds</groupId>
  111. <artifactId>nimbus-jose-jwt</artifactId>
  112. <scope>compile</scope>
  113. <exclusions>
  114. <exclusion>
  115. <groupId>org.bouncycastle</groupId>
  116. <artifactId>bcprov-jdk15on</artifactId>
  117. </exclusion>
  118. </exclusions>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.zookeeper</groupId>
  122. <artifactId>zookeeper</artifactId>
  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-simplekdc</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.directory.server</groupId>
  139. <artifactId>apacheds-core</artifactId>
  140. <version>${apacheds.version}</version>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.directory.server</groupId>
  145. <artifactId>apacheds-protocol-ldap</artifactId>
  146. <version>${apacheds.version}</version>
  147. <scope>test</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.directory.server</groupId>
  151. <artifactId>apacheds-ldif-partition</artifactId>
  152. <version>${apacheds.version}</version>
  153. <scope>test</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.directory.api</groupId>
  157. <artifactId>api-ldap-codec-core</artifactId>
  158. <version>${ldap-api.version}</version>
  159. <scope>test</scope>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.directory.api</groupId>
  163. <artifactId>api-ldap-model</artifactId>
  164. <version>${ldap-api.version}</version>
  165. <scope>test</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.directory.server</groupId>
  169. <artifactId>apacheds-server-integ</artifactId>
  170. <version>${apacheds.version}</version>
  171. <scope>test</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.directory.server</groupId>
  175. <artifactId>apacheds-core-integ</artifactId>
  176. <version>${apacheds.version}</version>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.google.guava</groupId>
  181. <artifactId>guava</artifactId>
  182. <scope>compile</scope>
  183. </dependency>
  184. </dependencies>
  185. <build>
  186. <plugins>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-source-plugin</artifactId>
  190. <executions>
  191. <execution>
  192. <phase>prepare-package</phase>
  193. <goals>
  194. <goal>jar</goal>
  195. </goals>
  196. </execution>
  197. </executions>
  198. <configuration>
  199. <attach>true</attach>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-jar-plugin</artifactId>
  205. <executions>
  206. <execution>
  207. <id>prepare-jar</id>
  208. <phase>prepare-package</phase>
  209. <goals>
  210. <goal>jar</goal>
  211. </goals>
  212. </execution>
  213. <execution>
  214. <id>prepare-test-jar</id>
  215. <phase>prepare-package</phase>
  216. <goals>
  217. <goal>test-jar</goal>
  218. </goals>
  219. </execution>
  220. </executions>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.codehaus.mojo</groupId>
  224. <artifactId>findbugs-maven-plugin</artifactId>
  225. <configuration>
  226. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  227. </configuration>
  228. </plugin>
  229. </plugins>
  230. </build>
  231. <profiles>
  232. <profile>
  233. <id>docs</id>
  234. <activation>
  235. <activeByDefault>false</activeByDefault>
  236. </activation>
  237. <build>
  238. <plugins>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-javadoc-plugin</artifactId>
  242. <executions>
  243. <execution>
  244. <phase>package</phase>
  245. <goals>
  246. <goal>javadoc</goal>
  247. </goals>
  248. </execution>
  249. </executions>
  250. </plugin>
  251. </plugins>
  252. </build>
  253. </profile>
  254. </profiles>
  255. </project>