| <?xml version="1.0"?> |
| <!-- |
| 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
| 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> |
| |
| <artifactId>reef-examples-spark</artifactId> |
| <name>REEF Spark Examples</name> |
| |
| <parent> |
| <groupId>org.apache.reef</groupId> |
| <artifactId>reef-project</artifactId> |
| <version>0.17.0-SNAPSHOT</version> |
| <relativePath>../../..</relativePath> |
| </parent> |
| |
| <properties> |
| <rootPath>${basedir}/../../..</rootPath> |
| <!-- Findbugs does not support Scala code --> |
| <findbugs.skip>true</findbugs.skip> |
| </properties> |
| |
| <dependencies> |
| <!-- REEF --> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-runtime-local</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-runtime-yarn</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-io</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- End of REEF --> |
| <!-- Spark --> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_2.11</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- End of Spark --> |
| <dependency> |
| <groupId>com.jsuereth</groupId> |
| <artifactId>scala-arm_2.11</artifactId> |
| <version>2.0</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/main/scala</sourceDirectory> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <outputFile> |
| ${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar |
| </outputFile> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>yarn-default.xml</exclude> |
| <exclude>yarn-version-info.properties</exclude> |
| <exclude>core-default.xml</exclude> |
| <exclude>LICENSE</exclude> |
| <exclude>META-INF/*</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |