pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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.1</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <artifactId>hadoop-auth</artifactId>
  25. <version>3.0.1</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>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>org.apache.curator</groupId>
  116. <artifactId>curator-framework</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.curator</groupId>
  120. <artifactId>curator-test</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.kerby</groupId>
  125. <artifactId>kerb-simplekdc</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.directory.server</groupId>
  129. <artifactId>apacheds-core</artifactId>
  130. <version>${apacheds.version}</version>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.directory.server</groupId>
  135. <artifactId>apacheds-protocol-ldap</artifactId>
  136. <version>${apacheds.version}</version>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.directory.server</groupId>
  141. <artifactId>apacheds-ldif-partition</artifactId>
  142. <version>${apacheds.version}</version>
  143. <scope>test</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.directory.api</groupId>
  147. <artifactId>api-ldap-codec-core</artifactId>
  148. <version>${ldap-api.version}</version>
  149. <scope>test</scope>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.directory.api</groupId>
  153. <artifactId>api-ldap-model</artifactId>
  154. <version>${ldap-api.version}</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.directory.server</groupId>
  159. <artifactId>apacheds-server-integ</artifactId>
  160. <version>${apacheds.version}</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.apache.directory.server</groupId>
  165. <artifactId>apacheds-core-integ</artifactId>
  166. <version>${apacheds.version}</version>
  167. <scope>test</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.google.guava</groupId>
  171. <artifactId>guava</artifactId>
  172. <scope>compile</scope>
  173. </dependency>
  174. </dependencies>
  175. <build>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-source-plugin</artifactId>
  180. <executions>
  181. <execution>
  182. <phase>prepare-package</phase>
  183. <goals>
  184. <goal>jar</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. <configuration>
  189. <attach>true</attach>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-jar-plugin</artifactId>
  195. <executions>
  196. <execution>
  197. <id>prepare-jar</id>
  198. <phase>prepare-package</phase>
  199. <goals>
  200. <goal>jar</goal>
  201. </goals>
  202. </execution>
  203. <execution>
  204. <id>prepare-test-jar</id>
  205. <phase>prepare-package</phase>
  206. <goals>
  207. <goal>test-jar</goal>
  208. </goals>
  209. </execution>
  210. </executions>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.codehaus.mojo</groupId>
  214. <artifactId>findbugs-maven-plugin</artifactId>
  215. <configuration>
  216. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  217. </configuration>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. <profiles>
  222. <profile>
  223. <id>docs</id>
  224. <activation>
  225. <activeByDefault>false</activeByDefault>
  226. </activation>
  227. <build>
  228. <plugins>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-javadoc-plugin</artifactId>
  232. <executions>
  233. <execution>
  234. <phase>package</phase>
  235. <goals>
  236. <goal>javadoc</goal>
  237. </goals>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. </profile>
  244. </profiles>
  245. </project>