pom.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-auth</artifactId>
  26. <version>3.0.0-SNAPSHOT</version>
  27. <packaging>jar</packaging>
  28. <name>Apache Hadoop Auth</name>
  29. <description>Apache Hadoop Auth - Java HTTP SPNEGO</description>
  30. <properties>
  31. <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <!-- Used, even though 'mvn dependency:analyze' doesn't find it -->
  36. <groupId>org.apache.hadoop</groupId>
  37. <artifactId>hadoop-annotations</artifactId>
  38. <scope>provided</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>junit</groupId>
  42. <artifactId>junit</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mockito</groupId>
  47. <artifactId>mockito-all</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mortbay.jetty</groupId>
  52. <artifactId>jetty-util</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.mortbay.jetty</groupId>
  57. <artifactId>jetty</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.tomcat.embed</groupId>
  62. <artifactId>tomcat-embed-core</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.tomcat.embed</groupId>
  67. <artifactId>tomcat-embed-logging-juli</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>javax.servlet</groupId>
  72. <artifactId>servlet-api</artifactId>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.slf4j</groupId>
  77. <artifactId>slf4j-api</artifactId>
  78. <scope>compile</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-codec</groupId>
  82. <artifactId>commons-codec</artifactId>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>log4j</groupId>
  87. <artifactId>log4j</artifactId>
  88. <scope>runtime</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.slf4j</groupId>
  92. <artifactId>slf4j-log4j12</artifactId>
  93. <scope>runtime</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.hadoop</groupId>
  97. <artifactId>hadoop-minikdc</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.httpcomponents</groupId>
  102. <artifactId>httpclient</artifactId>
  103. <scope>compile</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.nimbusds</groupId>
  107. <artifactId>nimbus-jose-jwt</artifactId>
  108. <scope>compile</scope>
  109. <exclusions>
  110. <exclusion>
  111. <groupId>org.bouncycastle</groupId>
  112. <artifactId>bcprov-jdk15on</artifactId>
  113. </exclusion>
  114. </exclusions>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.directory.server</groupId>
  118. <artifactId>apacheds-kerberos-codec</artifactId>
  119. <scope>compile</scope>
  120. <exclusions>
  121. <exclusion>
  122. <groupId>org.apache.directory.api</groupId>
  123. <artifactId>api-asn1-ber</artifactId>
  124. </exclusion>
  125. <exclusion>
  126. <groupId>org.apache.directory.api</groupId>
  127. <artifactId>api-i18n</artifactId>
  128. </exclusion>
  129. <exclusion>
  130. <groupId>org.apache.directory.api</groupId>
  131. <artifactId>api-ldap-model</artifactId>
  132. </exclusion>
  133. <exclusion>
  134. <groupId>net.sf.ehcache</groupId>
  135. <artifactId>ehcache-core</artifactId>
  136. </exclusion>
  137. </exclusions>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.zookeeper</groupId>
  141. <artifactId>zookeeper</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.curator</groupId>
  145. <artifactId>curator-framework</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.curator</groupId>
  149. <artifactId>curator-test</artifactId>
  150. <scope>test</scope>
  151. </dependency>
  152. </dependencies>
  153. <build>
  154. <plugins>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-source-plugin</artifactId>
  158. <executions>
  159. <execution>
  160. <phase>prepare-package</phase>
  161. <goals>
  162. <goal>jar</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. <configuration>
  167. <attach>true</attach>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-jar-plugin</artifactId>
  173. <executions>
  174. <execution>
  175. <id>prepare-jar</id>
  176. <phase>prepare-package</phase>
  177. <goals>
  178. <goal>jar</goal>
  179. </goals>
  180. </execution>
  181. <execution>
  182. <id>prepare-test-jar</id>
  183. <phase>prepare-package</phase>
  184. <goals>
  185. <goal>test-jar</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.codehaus.mojo</groupId>
  192. <artifactId>findbugs-maven-plugin</artifactId>
  193. <configuration>
  194. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. <profiles>
  200. <profile>
  201. <id>docs</id>
  202. <activation>
  203. <activeByDefault>false</activeByDefault>
  204. </activation>
  205. <build>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-site-plugin</artifactId>
  210. <executions>
  211. <execution>
  212. <phase>package</phase>
  213. <goals>
  214. <goal>site</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-project-info-reports-plugin</artifactId>
  222. <executions>
  223. <execution>
  224. <configuration>
  225. <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
  226. </configuration>
  227. <phase>package</phase>
  228. <goals>
  229. <goal>dependencies</goal>
  230. </goals>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-javadoc-plugin</artifactId>
  237. <executions>
  238. <execution>
  239. <phase>package</phase>
  240. <goals>
  241. <goal>javadoc</goal>
  242. </goals>
  243. </execution>
  244. </executions>
  245. </plugin>
  246. </plugins>
  247. </build>
  248. </profile>
  249. </profiles>
  250. </project>