| <?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> |
| <groupId>org.apache.rya</groupId> |
| <artifactId>rya.periodic.notification.parent</artifactId> |
| <version>4.1.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>rya.periodic.notification.twill.yarn</artifactId> |
| |
| <name>Apache Rya Periodic Notification Service on Twill on YARN </name> |
| <description>Twill Application for executing the Apache Rya Periodic Notification Service on YARN</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.beust</groupId> |
| <artifactId>jcommander</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>13.0.1</version> <!-- Override Rya's DependencyManagement. The Twill runtime requires 11.0 < guava < 14.0 (Service.listener) (AbstractExecutionThreadService.getServiceName) --> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.twill</groupId> |
| <artifactId>twill-yarn</artifactId> |
| <version>0.12.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rya</groupId> |
| <artifactId>rya.periodic.notification.twill</artifactId> |
| <version>4.1.0-SNAPSHOT</version> |
| <classifier>twill-app</classifier> |
| <scope>provided</scope> <!-- prevent these dependencies from showing up on the classpath --> |
| </dependency> |
| |
| <!-- Add Accumulo as a runtime dependency --> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-core</artifactId> |
| <scope>runtime</scope> |
| <exclusions> |
| <!-- exclude logging implementations --> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-binary-distribution</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| <descriptors> |
| <descriptor>src/main/assembly/binary-release.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |