|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + you may not use this file except in compliance with the License. |
| 5 | + You may obtain a copy of the License at |
| 6 | +
|
| 7 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +
|
| 9 | + Unless required by applicable law or agreed to in writing, software |
| 10 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + See the License for the specific language governing permissions and |
| 13 | + limitations under the License. See accompanying LICENSE file. |
| 14 | +--> |
| 15 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 16 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 17 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 18 | + <modelVersion>4.0.0</modelVersion> |
| 19 | + <parent> |
| 20 | + <groupId>org.apache.hadoop</groupId> |
| 21 | + <artifactId>hadoop-project</artifactId> |
| 22 | + <version>2.3.0-SNAPSHOT</version> |
| 23 | + <relativePath>../../hadoop-project</relativePath> |
| 24 | + </parent> |
| 25 | + <groupId>org.apache.hadoop</groupId> |
| 26 | + <artifactId>hadoop-sls</artifactId> |
| 27 | + <version>2.3.0-SNAPSHOT</version> |
| 28 | + <description>Apache Hadoop Scheduler Load Simulator</description> |
| 29 | + <name>Apache Hadoop Scheduler Load Simulator</name> |
| 30 | + <packaging>jar</packaging> |
| 31 | + |
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>junit</groupId> |
| 35 | + <artifactId>junit</artifactId> |
| 36 | + <scope>test</scope> |
| 37 | + </dependency> |
| 38 | + <dependency> |
| 39 | + <groupId>org.apache.hadoop</groupId> |
| 40 | + <artifactId>hadoop-client</artifactId> |
| 41 | + <scope>provided</scope> |
| 42 | + </dependency> |
| 43 | + <dependency> |
| 44 | + <groupId>org.apache.hadoop</groupId> |
| 45 | + <artifactId>hadoop-minicluster</artifactId> |
| 46 | + <scope>provided</scope> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.apache.hadoop</groupId> |
| 50 | + <artifactId>hadoop-rumen</artifactId> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>com.codahale.metrics</groupId> |
| 54 | + <artifactId>metrics-core</artifactId> |
| 55 | + <scope>compile</scope> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.mortbay.jetty</groupId> |
| 59 | + <artifactId>jetty</artifactId> |
| 60 | + <scope>provided</scope> |
| 61 | + <exclusions> |
| 62 | + <exclusion> |
| 63 | + <groupId>org.mortbay.jetty</groupId> |
| 64 | + <artifactId>servlet-api</artifactId> |
| 65 | + </exclusion> |
| 66 | + </exclusions> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.mortbay.jetty</groupId> |
| 70 | + <artifactId>jetty-util</artifactId> |
| 71 | + <scope>provided</scope> |
| 72 | + </dependency> |
| 73 | + </dependencies> |
| 74 | + |
| 75 | + <build> |
| 76 | + <plugins> |
| 77 | + <plugin> |
| 78 | + <groupId>org.apache.maven.plugins</groupId> |
| 79 | + <artifactId>maven-source-plugin</artifactId> |
| 80 | + <configuration> |
| 81 | + <attach>true</attach> |
| 82 | + </configuration> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <goals> |
| 86 | + <goal>jar</goal> |
| 87 | + </goals> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.codehaus.mojo</groupId> |
| 93 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 94 | + <configuration> |
| 95 | + <findbugsXmlOutput>true</findbugsXmlOutput> |
| 96 | + <xmlOutput>true</xmlOutput> |
| 97 | + <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile> |
| 98 | + <effort>Max</effort> |
| 99 | + </configuration> |
| 100 | + </plugin> |
| 101 | + <plugin> |
| 102 | + <groupId>org.apache.rat</groupId> |
| 103 | + <artifactId>apache-rat-plugin</artifactId> |
| 104 | + <configuration> |
| 105 | + <excludes> |
| 106 | + <exclude>src/main/data/2jobs2min-rumen-jh.json</exclude> |
| 107 | + <exclude>src/main/html/js/thirdparty/jquery.js</exclude> |
| 108 | + <exclude>src/main/html/js/thirdparty/d3-LICENSE</exclude> |
| 109 | + <exclude>src/main/html/js/thirdparty/d3.v3.js</exclude> |
| 110 | + <exclude>src/main/html/simulate.html.template</exclude> |
| 111 | + <exclude>src/main/html/simulate.info.html.template</exclude> |
| 112 | + <exclude>src/main/html/track.html.template</exclude> |
| 113 | + <exclude>src/test/resources/simulate.html.template</exclude> |
| 114 | + <exclude>src/test/resources/simulate.info.html.template</exclude> |
| 115 | + <exclude>src/test/resources/track.html.template</exclude> |
| 116 | + </excludes> |
| 117 | + </configuration> |
| 118 | + </plugin> |
| 119 | + </plugins> |
| 120 | + </build> |
| 121 | + |
| 122 | + <profiles> |
| 123 | + <profile> |
| 124 | + <id>docs</id> |
| 125 | + <activation> |
| 126 | + <activeByDefault>false</activeByDefault> |
| 127 | + </activation> |
| 128 | + <build> |
| 129 | + <plugins> |
| 130 | + <plugin> |
| 131 | + <groupId>org.apache.maven.plugins</groupId> |
| 132 | + <artifactId>maven-site-plugin</artifactId> |
| 133 | + <executions> |
| 134 | + <execution> |
| 135 | + <phase>package</phase> |
| 136 | + <goals> |
| 137 | + <goal>site</goal> |
| 138 | + </goals> |
| 139 | + </execution> |
| 140 | + </executions> |
| 141 | + </plugin> |
| 142 | + </plugins> |
| 143 | + </build> |
| 144 | + </profile> |
| 145 | + <profile> |
| 146 | + <id>dist</id> |
| 147 | + <activation> |
| 148 | + <activeByDefault>false</activeByDefault> |
| 149 | + </activation> |
| 150 | + <build> |
| 151 | + <plugins> |
| 152 | + <plugin> |
| 153 | + <groupId>org.apache.maven.plugins</groupId> |
| 154 | + <artifactId>maven-assembly-plugin</artifactId> |
| 155 | + <dependencies> |
| 156 | + <dependency> |
| 157 | + <groupId>org.apache.hadoop</groupId> |
| 158 | + <artifactId>hadoop-assemblies</artifactId> |
| 159 | + <version>${project.version}</version> |
| 160 | + </dependency> |
| 161 | + </dependencies> |
| 162 | + <executions> |
| 163 | + <execution> |
| 164 | + <id>dist</id> |
| 165 | + <phase>prepare-package</phase> |
| 166 | + <goals> |
| 167 | + <goal>single</goal> |
| 168 | + </goals> |
| 169 | + <configuration> |
| 170 | + <appendAssemblyId>false</appendAssemblyId> |
| 171 | + <attach>false</attach> |
| 172 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 173 | + <descriptorRefs> |
| 174 | + <descriptorRef>hadoop-sls</descriptorRef> |
| 175 | + </descriptorRefs> |
| 176 | + </configuration> |
| 177 | + </execution> |
| 178 | + </executions> |
| 179 | + </plugin> |
| 180 | + </plugins> |
| 181 | + </build> |
| 182 | + </profile> |
| 183 | + </profiles> |
| 184 | +</project> |
0 commit comments