pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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.5.0</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-auth</artifactId>
  26. <version>2.5.0</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>javax.servlet</groupId>
  67. <artifactId>servlet-api</artifactId>
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>slf4j-api</artifactId>
  73. <scope>compile</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-codec</groupId>
  77. <artifactId>commons-codec</artifactId>
  78. <scope>compile</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>log4j</groupId>
  82. <artifactId>log4j</artifactId>
  83. <scope>runtime</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.slf4j</groupId>
  87. <artifactId>slf4j-log4j12</artifactId>
  88. <scope>runtime</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.hadoop</groupId>
  92. <artifactId>hadoop-minikdc</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.directory.server</groupId>
  102. <artifactId>apacheds-kerberos-codec</artifactId>
  103. <scope>compile</scope>
  104. <exclusions>
  105. <exclusion>
  106. <groupId>org.apache.directory.api</groupId>
  107. <artifactId>api-asn1-ber</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>org.apache.directory.api</groupId>
  111. <artifactId>api-i18n</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>org.apache.directory.api</groupId>
  115. <artifactId>api-ldap-model</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>net.sf.ehcache</groupId>
  119. <artifactId>ehcache-core</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. </dependencies>
  124. <build>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-source-plugin</artifactId>
  129. <executions>
  130. <execution>
  131. <phase>prepare-package</phase>
  132. <goals>
  133. <goal>jar</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. <configuration>
  138. <attach>true</attach>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-jar-plugin</artifactId>
  144. <executions>
  145. <execution>
  146. <goals>
  147. <goal>test-jar</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. <profiles>
  155. <profile>
  156. <id>docs</id>
  157. <activation>
  158. <activeByDefault>false</activeByDefault>
  159. </activation>
  160. <build>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-site-plugin</artifactId>
  165. <executions>
  166. <execution>
  167. <phase>package</phase>
  168. <goals>
  169. <goal>site</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-project-info-reports-plugin</artifactId>
  177. <executions>
  178. <execution>
  179. <configuration>
  180. <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
  181. </configuration>
  182. <phase>package</phase>
  183. <goals>
  184. <goal>dependencies</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-javadoc-plugin</artifactId>
  192. <executions>
  193. <execution>
  194. <phase>package</phase>
  195. <goals>
  196. <goal>javadoc</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. </profile>
  204. </profiles>
  205. </project>