2011-08-19 18:31:06 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
2019-05-28 03:29:44 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-08-19 18:31:06 -04:00
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License. See accompanying LICENSE file.
|
|
|
|
-->
|
2012-05-28 10:51:05 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
2019-05-27 02:24:59 -04:00
|
|
|
https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-08-19 18:31:06 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2020-03-29 13:54:25 -04:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2011-08-24 20:20:52 -04:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
2011-08-19 18:31:06 -04:00
|
|
|
</parent>
|
2011-08-31 18:40:03 -04:00
|
|
|
<artifactId>hadoop-auth</artifactId>
|
2020-03-29 13:54:25 -04:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2011-08-19 18:31:06 -04:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2011-08-31 18:40:03 -04:00
|
|
|
<name>Apache Hadoop Auth</name>
|
|
|
|
<description>Apache Hadoop Auth - Java HTTP SPNEGO</description>
|
2011-08-19 18:31:06 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2012-08-15 15:10:52 -04:00
|
|
|
<!-- Used, even though 'mvn dependency:analyze' doesn't find it -->
|
2011-08-19 18:31:06 -04:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2019-01-29 21:29:09 -05:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2011-08-19 18:31:06 -04:00
|
|
|
<scope>test</scope>
|
2013-11-18 17:11:11 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-10-27 19:01:23 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2013-11-18 17:11:11 -05:00
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
<scope>test</scope>
|
2011-08-19 18:31:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-10-27 19:01:23 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
2011-08-19 18:31:06 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
2016-10-27 19:01:23 -04:00
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2011-08-19 18:31:06 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2012-08-15 15:10:52 -04:00
|
|
|
<scope>runtime</scope>
|
2011-08-19 18:31:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2012-08-15 15:10:52 -04:00
|
|
|
<scope>runtime</scope>
|
2011-08-19 18:31:06 -04:00
|
|
|
</dependency>
|
2013-08-19 19:02:24 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minikdc</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-01-06 13:11:38 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2015-04-07 11:09:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nimbusds</groupId>
|
|
|
|
<artifactId>nimbus-jose-jwt</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
</exclusion>
|
2018-02-26 16:56:53 -05:00
|
|
|
<!-- HACK. Transitive dependency for nimbus-jose-jwt. Needed for
|
|
|
|
packaging. Please re-check this version when updating
|
|
|
|
nimbus-jose-jwt. Please read HADOOP-14903 for more details.
|
|
|
|
-->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>net.minidev</groupId>
|
|
|
|
<artifactId>json-smart</artifactId>
|
|
|
|
</exclusion>
|
2015-04-07 11:09:41 -04:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2018-02-26 16:56:53 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.minidev</groupId>
|
|
|
|
<artifactId>json-smart</artifactId>
|
|
|
|
</dependency>
|
2014-09-15 20:05:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
</dependency>
|
2021-08-03 01:44:00 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.xerial.snappy</groupId>
|
|
|
|
<artifactId>snappy-java</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-09-15 20:05:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-framework</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-05-28 02:23:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kerby</groupId>
|
|
|
|
<artifactId>kerb-simplekdc</artifactId>
|
|
|
|
</dependency>
|
2016-10-18 21:32:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.server</groupId>
|
|
|
|
<artifactId>apacheds-core</artifactId>
|
|
|
|
<version>${apacheds.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.server</groupId>
|
|
|
|
<artifactId>apacheds-protocol-ldap</artifactId>
|
|
|
|
<version>${apacheds.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.server</groupId>
|
|
|
|
<artifactId>apacheds-ldif-partition</artifactId>
|
|
|
|
<version>${apacheds.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.api</groupId>
|
|
|
|
<artifactId>api-ldap-codec-core</artifactId>
|
|
|
|
<version>${ldap-api.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.api</groupId>
|
|
|
|
<artifactId>api-ldap-model</artifactId>
|
|
|
|
<version>${ldap-api.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.server</groupId>
|
|
|
|
<artifactId>apacheds-server-integ</artifactId>
|
|
|
|
<version>${apacheds.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.directory.server</groupId>
|
|
|
|
<artifactId>apacheds-core-integ</artifactId>
|
|
|
|
<version>${apacheds.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-10-17 02:31:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop.thirdparty</groupId>
|
|
|
|
<artifactId>hadoop-shaded-guava</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2017-06-12 12:42:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
2020-10-17 02:31:18 -04:00
|
|
|
<scope>test</scope>
|
2017-06-12 12:42:16 -04:00
|
|
|
</dependency>
|
2021-04-07 00:55:01 -04:00
|
|
|
</dependencies>
|
2011-08-19 18:31:06 -04:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-07-15 19:00:17 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2014-08-08 00:58:58 -04:00
|
|
|
<id>prepare-jar</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-test-jar</id>
|
|
|
|
<phase>prepare-package</phase>
|
2014-07-15 19:00:17 -04:00
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-08-05 17:21:03 -04:00
|
|
|
<plugin>
|
2021-03-10 20:56:07 -05:00
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
2014-08-05 17:21:03 -04:00
|
|
|
<configuration>
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-06 22:23:35 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.skuzzle.enforcer</groupId>
|
|
|
|
<artifactId>restrict-imports-enforcer-rule</artifactId>
|
|
|
|
<version>${restrict-imports.enforcer.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>banned-illegal-imports</id>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
<reason>Use hadoop-common provided VisibleForTesting rather than the one provided by Guava</reason>
|
|
|
|
<bannedImports>
|
|
|
|
<bannedImport>org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
|
|
|
|
<bannedImport>com.google.common.annotations.VisibleForTesting</bannedImport>
|
|
|
|
</bannedImports>
|
|
|
|
</restrictImports>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-08-19 18:31:06 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>docs</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
2020-11-25 21:31:37 -05:00
|
|
|
<goal>javadoc-no-fork</goal>
|
2011-08-19 18:31:06 -04:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|