| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>drill-root</artifactId> |
| <groupId>org.apache.drill</groupId> |
| <version>1.18.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>drill-yarn</artifactId> |
| <packaging>jar</packaging> |
| <name>Drill-on-YARN</name> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <drillScriptDir>${project.basedir}/../distribution/src/resources</drillScriptDir> |
| <logback.configurationFile>doy-test-logback.xml</logback.configurationFile> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <!-- See http://stackoverflow.com/questions/31173467/maven-cannot-find-git-dotgitdirectory --> |
| <!-- |
| <plugin> |
| <groupId>pl.project13.maven</groupId> |
| <artifactId>git-commit-id-plugin</artifactId> |
| <version>2.1.9</version> |
| <executions> |
| <execution> |
| <id>for-jars</id> |
| <inherited>true</inherited> |
| <goals> |
| <goal>revision</goal> |
| </goals> |
| <configuration> |
| <dotGitDirectory>${project.basedir}/../.git</dotGitDirectory> |
| <generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| --> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <!-- For YARN client. --> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-api</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- Included as a reference because this seems to be the only |
| way to pick up profile-specific jars. --> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-client</artifactId> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>slf4j-log4j12</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- For ZK monitoring --> |
| <dependency> |
| <groupId>org.apache.drill.exec</groupId> |
| <artifactId>drill-java-exec</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.drill</groupId> |
| <artifactId>drill-protocol</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-framework</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-x-discovery</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| </dependency> |
| |
| <!-- For configuration --> |
| <dependency> |
| <groupId>com.typesafe</groupId> |
| <artifactId>config</artifactId> |
| </dependency> |
| |
| <!-- Testing --> |
| <dependency> |
| <groupId>org.apache.drill</groupId> |
| <artifactId>drill-common</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |