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
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
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:58:13 -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
|
|
|
|
http://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>
|
2014-11-09 22:21:11 -05:00
|
|
|
<version>2.6.1-SNAPSHOT</version>
|
2011-08-31 18:47:51 -04:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
2011-08-19 18:31:06 -04:00
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2011-08-31 18:47:51 -04:00
|
|
|
<artifactId>hadoop-auth-examples</artifactId>
|
2014-11-09 22:21:11 -05:00
|
|
|
<version>2.6.1-SNAPSHOT</version>
|
2011-08-19 18:31:06 -04:00
|
|
|
<packaging>war</packaging>
|
|
|
|
|
2011-08-31 18:47:51 -04:00
|
|
|
<name>Apache Hadoop Auth Examples</name>
|
|
|
|
<description>Apache Hadoop Auth Examples - Java HTTP SPNEGO</description>
|
2011-08-19 18:31:06 -04:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2011-08-31 18:47:51 -04:00
|
|
|
<artifactId>hadoop-auth</artifactId>
|
2011-08-19 18:31:06 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-08-15 15:28:51 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2011-08-19 18:31:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2012-08-15 15:28:51 -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:28:51 -04:00
|
|
|
<scope>runtime</scope>
|
2011-08-19 18:31:06 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2011-08-31 18:47:51 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<warName>hadoop-auth-examples</warName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-08-19 18:31:06 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2011-08-31 18:47:51 -04:00
|
|
|
<mainClass>org.apache.hadoop.security.authentication.examples.WhoClient</mainClass>
|
2011-08-19 18:31:06 -04:00
|
|
|
<arguments>
|
|
|
|
<argument>${url}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|