226 lines
7.3 KiB
XML
226 lines
7.3 KiB
XML
|
<!--
|
||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||
|
contributor license agreements. See the NOTICE file distributed with
|
||
|
this work for additional information regarding copyright ownership.
|
||
|
The ASF licenses this file to You 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.
|
||
|
-->
|
||
|
<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/maven-v4_0_0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>org.apache.hadoop</groupId>
|
||
|
<artifactId>hadoop-yarn-applications</artifactId>
|
||
|
<version>3.0.0-alpha2-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<groupId>org.apache.hadoop</groupId>
|
||
|
<artifactId>hadoop-yarn-services-api</artifactId>
|
||
|
<name>Apache Hadoop YARN Services API</name>
|
||
|
<version>3.0.0-alpha2-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
<description>Hadoop YARN REST APIs for services</description>
|
||
|
|
||
|
<properties>
|
||
|
<test.failIfNoTests>false</test.failIfNoTests>
|
||
|
<powermock.version>1.6.5</powermock.version>
|
||
|
</properties>
|
||
|
|
||
|
<build>
|
||
|
|
||
|
<!-- resources are filtered for dynamic updates. This gets build info in-->
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>src/main/scripts/</directory>
|
||
|
<filtering>true</filtering>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
|
||
|
<plugins>
|
||
|
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<version>${maven-jar-plugin.version}</version>
|
||
|
<!-- The configuration of the plugin -->
|
||
|
<configuration>
|
||
|
<!-- Configuration of the archiver -->
|
||
|
<archive>
|
||
|
<manifestEntries>
|
||
|
<mode>development</mode>
|
||
|
<url>${project.url}</url>
|
||
|
</manifestEntries>
|
||
|
<!-- Manifest specific configuration -->
|
||
|
<manifest>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
<excludes>
|
||
|
<exclude>**/run_rest_service.sh</exclude>
|
||
|
</excludes>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>test-jar</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>${maven-surefire-plugin.version}</version>
|
||
|
<configuration>
|
||
|
<reuseForks>${test.reuseForks}</reuseForks>
|
||
|
<forkMode>${test.forkMode}</forkMode>
|
||
|
<forkCount>1</forkCount>
|
||
|
<forkedProcessTimeoutInSeconds>${test.forkedProcessTimeoutInSeconds}
|
||
|
</forkedProcessTimeoutInSeconds>
|
||
|
<threadCount>1</threadCount>
|
||
|
<argLine>${test.argLine}</argLine>
|
||
|
<failIfNoTests>${test.failIfNoTests}</failIfNoTests>
|
||
|
<redirectTestOutputToFile>${build.redirect.test.output.to.file}</redirectTestOutputToFile>
|
||
|
<environmentVariables>
|
||
|
<PATH>${test.env.path}</PATH>
|
||
|
</environmentVariables>
|
||
|
<systemPropertyVariables>
|
||
|
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
|
||
|
<java.awt.headless>true</java.awt.headless>
|
||
|
</systemPropertyVariables>
|
||
|
<includes>
|
||
|
<include>**/Test*.java</include>
|
||
|
</includes>
|
||
|
<excludes>
|
||
|
<exclude>**/Test*$*.java</exclude>
|
||
|
</excludes>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-site-plugin</artifactId>
|
||
|
<version>${maven-site-plugin.version}</version>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.maven.doxia</groupId>
|
||
|
<artifactId>doxia-module-markdown</artifactId>
|
||
|
<version>${maven-doxia-module-markdown.version}</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<reporting>
|
||
|
</reporting>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.hadoop</groupId>
|
||
|
<artifactId>hadoop-yarn-slider-core</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.hadoop</groupId>
|
||
|
<artifactId>hadoop-common</artifactId>
|
||
|
<type>test-jar</type>
|
||
|
<scope>test</scope>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.swagger</groupId>
|
||
|
<artifactId>swagger-annotations</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
<artifactId>jackson-core</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
<artifactId>jackson-annotations</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
<artifactId>jackson-databind</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
||
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
||
|
<artifactId>jackson-jaxrs-base</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.mockito</groupId>
|
||
|
<artifactId>mockito-all</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.powermock</groupId>
|
||
|
<artifactId>powermock-module-junit4</artifactId>
|
||
|
<version>${powermock.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.powermock</groupId>
|
||
|
<artifactId>powermock-api-easymock</artifactId>
|
||
|
<version>${powermock.version}</version>
|
||
|
<scope>test</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.easymock</groupId>
|
||
|
<artifactId>easymock</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<profiles>
|
||
|
|
||
|
<profile>
|
||
|
<id>rat</id>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.rat</groupId>
|
||
|
<artifactId>apache-rat-plugin</artifactId>
|
||
|
<version>${apache-rat-plugin.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>check-licenses</id>
|
||
|
<goals>
|
||
|
<goal>check</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<configuration>
|
||
|
<excludes>
|
||
|
<exclude>**/*.json</exclude>
|
||
|
<exclude>**/THIRD-PARTY.properties</exclude>
|
||
|
</excludes>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
|
||
|
</profiles>
|
||
|
|
||
|
</project>
|