2013-09-27 20:23:19 +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
|
|
|
|
|
2019-05-28 07:29:44 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2013-09-27 20:23:19 +00: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.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 06:24:59 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2013-09-27 20:23:19 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2013-09-27 20:23:19 +00:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-sls</artifactId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2013-09-27 20:23:19 +00:00
|
|
|
<description>Apache Hadoop Scheduler Load Simulator</description>
|
|
|
|
<name>Apache Hadoop Scheduler Load Simulator</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-client</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minicluster</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-rumen</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-03-01 23:34:54 +00:00
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
2013-09-27 20:23:19 +00:00
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-10-27 23:01:23 +00:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
2013-09-27 20:23:19 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
2016-10-27 23:01:23 +00:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2013-09-27 20:23:19 +00:00
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-10-27 23:01:23 +00:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2013-09-27 20:23:19 +00:00
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-10-06 15:30:26 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
2021-07-29 15:37:40 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-09-27 20:23:19 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2017-04-19 18:08:59 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>html/simulate.html.template</include>
|
|
|
|
<include>html/simulate.info.html.template</include>
|
|
|
|
<include>html/track.html.template</include>
|
|
|
|
<include>html/css/bootstrap-responsive.min.css</include>
|
|
|
|
<include>html/css/bootstrap.min.css</include>
|
|
|
|
<include>html/js/thirdparty/bootstrap.min.js</include>
|
|
|
|
<include>html/js/thirdparty/d3.v3.js</include>
|
|
|
|
<include>html/js/thirdparty/d3-LICENSE</include>
|
|
|
|
<include>html/js/thirdparty/jquery.js</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2013-09-27 20:23:19 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2021-03-11 01:56:07 +00:00
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
2013-09-27 20:23:19 +00:00
|
|
|
<configuration>
|
|
|
|
<xmlOutput>true</xmlOutput>
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
|
|
|
|
<effort>Max</effort>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>src/main/data/2jobs2min-rumen-jh.json</exclude>
|
|
|
|
<exclude>src/main/html/js/thirdparty/jquery.js</exclude>
|
|
|
|
<exclude>src/main/html/js/thirdparty/d3.v3.js</exclude>
|
|
|
|
<exclude>src/main/html/simulate.html.template</exclude>
|
|
|
|
<exclude>src/main/html/simulate.info.html.template</exclude>
|
|
|
|
<exclude>src/main/html/track.html.template</exclude>
|
|
|
|
<exclude>src/test/resources/simulate.html.template</exclude>
|
|
|
|
<exclude>src/test/resources/simulate.info.html.template</exclude>
|
|
|
|
<exclude>src/test/resources/track.html.template</exclude>
|
2017-04-21 04:54:18 +00:00
|
|
|
<exclude>src/test/resources/syn.json</exclude>
|
2018-02-21 01:00:34 +00:00
|
|
|
<exclude>src/test/resources/syn_generic.json</exclude>
|
|
|
|
<exclude>src/test/resources/syn_stream.json</exclude>
|
2017-04-21 04:54:18 +00:00
|
|
|
<exclude>src/test/resources/inputsls.json</exclude>
|
|
|
|
<exclude>src/test/resources/nodes.json</exclude>
|
2018-04-17 20:11:34 +00:00
|
|
|
<exclude>src/test/resources/nodes-with-resources.json</exclude>
|
2017-06-07 00:19:15 +00:00
|
|
|
<exclude>src/test/resources/exit-invariants.txt</exclude>
|
|
|
|
<exclude>src/test/resources/ongoing-invariants.txt</exclude>
|
2019-08-29 06:13:40 +00:00
|
|
|
<exclude>src/test/resources/sls_dag.json</exclude>
|
2013-09-27 20:23:19 +00:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dist</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-assemblies</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>dist</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<attach>false</attach>
|
|
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>hadoop-sls</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-03-02 21:13:36 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>deplist</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>list</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- referenced by a built-in command -->
|
|
|
|
<outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-builtin.txt</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-09-27 20:23:19 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|