pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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. https://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.10.2-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-auth</artifactId>
  26. <version>2.10.2-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>ch.qos.reload4j</groupId>
  87. <artifactId>reload4j</artifactId>
  88. <scope>runtime</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.slf4j</groupId>
  92. <artifactId>slf4j-reload4j</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. <dependency>
  153. <groupId>org.apache.directory.server</groupId>
  154. <artifactId>apacheds-server-integ</artifactId>
  155. <version>${apacheds.version}</version>
  156. <scope>test</scope>
  157. <exclusions>
  158. <exclusion>
  159. <groupId>org.apache.directory.api</groupId>
  160. <artifactId>api-ldap-schema-data</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>log4j</groupId>
  164. <artifactId>log4j</artifactId>
  165. </exclusion>
  166. </exclusions>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.apache.directory.server</groupId>
  170. <artifactId>apacheds-core-integ</artifactId>
  171. <version>${apacheds.version}</version>
  172. <scope>test</scope>
  173. <exclusions>
  174. <exclusion>
  175. <groupId>org.apache.directory.api</groupId>
  176. <artifactId>api-ldap-schema-data</artifactId>
  177. </exclusion>
  178. </exclusions>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.google.guava</groupId>
  182. <artifactId>guava</artifactId>
  183. <scope>compile</scope>
  184. </dependency>
  185. </dependencies>
  186. <build>
  187. <plugins>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-source-plugin</artifactId>
  191. <executions>
  192. <execution>
  193. <phase>prepare-package</phase>
  194. <goals>
  195. <goal>jar</goal>
  196. </goals>
  197. </execution>
  198. </executions>
  199. <configuration>
  200. <attach>true</attach>
  201. </configuration>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-jar-plugin</artifactId>
  206. <executions>
  207. <execution>
  208. <id>prepare-jar</id>
  209. <phase>prepare-package</phase>
  210. <goals>
  211. <goal>jar</goal>
  212. </goals>
  213. </execution>
  214. <execution>
  215. <id>prepare-test-jar</id>
  216. <phase>prepare-package</phase>
  217. <goals>
  218. <goal>test-jar</goal>
  219. </goals>
  220. </execution>
  221. </executions>
  222. </plugin>
  223. <plugin>
  224. <groupId>com.github.spotbugs</groupId>
  225. <artifactId>spotbugs-maven-plugin</artifactId>
  226. <configuration>
  227. <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
  228. </configuration>
  229. </plugin>
  230. </plugins>
  231. </build>
  232. <profiles>
  233. <profile>
  234. <id>docs</id>
  235. <activation>
  236. <activeByDefault>false</activeByDefault>
  237. </activation>
  238. <build>
  239. <plugins>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-site-plugin</artifactId>
  243. <executions>
  244. <execution>
  245. <phase>package</phase>
  246. <goals>
  247. <goal>site</goal>
  248. </goals>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-project-info-reports-plugin</artifactId>
  255. <executions>
  256. <execution>
  257. <configuration>
  258. <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
  259. </configuration>
  260. <phase>package</phase>
  261. <goals>
  262. <goal>dependencies</goal>
  263. </goals>
  264. </execution>
  265. </executions>
  266. </plugin>
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-javadoc-plugin</artifactId>
  270. <executions>
  271. <execution>
  272. <phase>package</phase>
  273. <goals>
  274. <goal>javadoc</goal>
  275. </goals>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. </plugins>
  280. </build>
  281. </profile>
  282. </profiles>
  283. </project>