| <?xml version="1.0"?> |
| <!-- |
| 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. |
| --> |
| <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 |
| https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>hadoop-yarn-server</artifactId> |
| <groupId>org.apache.hadoop</groupId> |
| <version>3.4.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>hadoop-yarn-server-timelineservice-documentstore</artifactId> |
| <name>Apache Hadoop YARN TimelineService DocumentStore</name> |
| |
| <properties> |
| <!-- Needed for generating FindBugs warnings using parent pom --> |
| <yarn.basedir>${project.parent.parent.basedir}</yarn.basedir> |
| <azure.documentdb.version>2.4.5</azure.documentdb.version> |
| <rxjava.version>1.3.8</rxjava.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-server-timelineservice</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>2.8.9</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito2</artifactId> |
| <version>1.7.1</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>1.7.1</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.reactivex</groupId> |
| <artifactId>rxjava</artifactId> |
| <version>${rxjava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.microsoft.azure</groupId> |
| <artifactId>azure-cosmosdb</artifactId> |
| <version>${azure.documentdb.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-handler</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-codec-http</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.reactivex</groupId> |
| <artifactId>rxjava</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-transport</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-handler-proxy</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- Apache RAT --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/test/resources/documents/flowactivity-doc.json</exclude> |
| <exclude>src/test/resources/documents/flowrun-doc.json</exclude> |
| <exclude>src/test/resources/documents/test-timeline-entities-doc.json</exclude> |
| <exclude>src/test/resources/documents/timeline-app-doc.json</exclude> |
| <exclude>src/test/resources/documents/timeline-entities.json</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| <phase>test-compile</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeScope>runtime</includeScope> |
| <excludeGroupIds>org.slf4j,org.apache.hadoop,com.github.stephenc.findbugs</excludeGroupIds> |
| <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |
| |