2011-08-19 22:31:06 +00: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 14:51:05 +00: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 22:31:06 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2017-09-01 18:53:48 +00:00
|
|
|
<version>3.1.0-SNAPSHOT</version>
|
2011-08-31 22:40:03 +00:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
2011-08-19 22:31:06 +00:00
|
|
|
</parent>
|
2011-08-31 22:40:03 +00:00
|
|
|
<artifactId>hadoop-auth-examples</artifactId>
|
2017-09-01 18:53:48 +00:00
|
|
|
<version>3.1.0-SNAPSHOT</version>
|
2011-08-19 22:31:06 +00:00
|
|
|
<packaging>war</packaging>
|
|
|
|
|
2011-08-31 22:40:03 +00:00
|
|
|
<name>Apache Hadoop Auth Examples</name>
|
|
|
|
<description>Apache Hadoop Auth Examples - Java HTTP SPNEGO</description>
|
2011-08-19 22:31:06 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
2016-10-27 23:01:23 +00:00
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2011-08-19 22:31:06 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2011-08-31 22:40:03 +00:00
|
|
|
<artifactId>hadoop-auth</artifactId>
|
2011-08-19 22:31:06 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-08-15 19:10:52 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2011-08-19 22:31:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2012-08-15 19:10:52 +00:00
|
|
|
<scope>runtime</scope>
|
2011-08-19 22:31:06 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2012-08-15 19:10:52 +00:00
|
|
|
<scope>runtime</scope>
|
2011-08-19 22:31:06 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2011-08-31 22:40:03 +00: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 22:31:06 +00: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 22:40:03 +00:00
|
|
|
<mainClass>org.apache.hadoop.security.authentication.examples.WhoClient</mainClass>
|
2011-08-19 22:31:06 +00:00
|
|
|
<arguments>
|
|
|
|
<argument>${url}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|