pom.xml 8.0 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>2.8.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-auth</artifactId>
  26. <version>2.8.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-util</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.mortbay.jetty</groupId>
  62. <artifactId>jetty</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.tomcat.embed</groupId>
  67. <artifactId>tomcat-embed-core</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.tomcat.embed</groupId>
  72. <artifactId>tomcat-embed-logging-juli</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>javax.servlet</groupId>
  77. <artifactId>servlet-api</artifactId>
  78. <scope>provided</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.slf4j</groupId>
  82. <artifactId>slf4j-api</artifactId>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>commons-codec</groupId>
  87. <artifactId>commons-codec</artifactId>
  88. <scope>compile</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>log4j</groupId>
  92. <artifactId>log4j</artifactId>
  93. <scope>runtime</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.slf4j</groupId>
  97. <artifactId>slf4j-log4j12</artifactId>
  98. <scope>runtime</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.hadoop</groupId>
  102. <artifactId>hadoop-minikdc</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.httpcomponents</groupId>
  107. <artifactId>httpclient</artifactId>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.nimbusds</groupId>
  112. <artifactId>nimbus-jose-jwt</artifactId>
  113. <scope>compile</scope>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>org.bouncycastle</groupId>
  117. <artifactId>bcprov-jdk15on</artifactId>
  118. </exclusion>
  119. </exclusions>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.directory.server</groupId>
  123. <artifactId>apacheds-kerberos-codec</artifactId>
  124. <scope>compile</scope>
  125. <exclusions>
  126. <exclusion>
  127. <groupId>org.apache.directory.api</groupId>
  128. <artifactId>api-asn1-ber</artifactId>
  129. </exclusion>
  130. <exclusion>
  131. <groupId>org.apache.directory.api</groupId>
  132. <artifactId>api-i18n</artifactId>
  133. </exclusion>
  134. <exclusion>
  135. <groupId>org.apache.directory.api</groupId>
  136. <artifactId>api-ldap-model</artifactId>
  137. </exclusion>
  138. <exclusion>
  139. <groupId>net.sf.ehcache</groupId>
  140. <artifactId>ehcache-core</artifactId>
  141. </exclusion>
  142. </exclusions>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.zookeeper</groupId>
  146. <artifactId>zookeeper</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.curator</groupId>
  150. <artifactId>curator-framework</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.curator</groupId>
  154. <artifactId>curator-test</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-source-plugin</artifactId>
  163. <executions>
  164. <execution>
  165. <phase>prepare-package</phase>
  166. <goals>
  167. <goal>jar</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. <configuration>
  172. <attach>true</attach>
  173. </configuration>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-jar-plugin</artifactId>
  178. <executions>
  179. <execution>
  180. <id>prepare-jar</id>
  181. <phase>prepare-package</phase>
  182. <goals>
  183. <goal>jar</goal>
  184. </goals>
  185. </execution>
  186. <execution>
  187. <id>prepare-test-jar</id>
  188. <phase>prepare-package</phase>
  189. <goals>
  190. <goal>test-jar</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.codehaus.mojo</groupId>
  197. <artifactId>findbugs-maven-plugin</artifactId>
  198. <configuration>
  199. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  200. </configuration>
  201. </plugin>
  202. </plugins>
  203. </build>
  204. <profiles>
  205. <profile>
  206. <id>docs</id>
  207. <activation>
  208. <activeByDefault>false</activeByDefault>
  209. </activation>
  210. <build>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-site-plugin</artifactId>
  215. <executions>
  216. <execution>
  217. <phase>package</phase>
  218. <goals>
  219. <goal>site</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-project-info-reports-plugin</artifactId>
  227. <executions>
  228. <execution>
  229. <configuration>
  230. <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
  231. </configuration>
  232. <phase>package</phase>
  233. <goals>
  234. <goal>dependencies</goal>
  235. </goals>
  236. </execution>
  237. </executions>
  238. </plugin>
  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>