| <?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.apex</groupId> |
| <artifactId>apex</artifactId> |
| <version>4.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>apex-dist</artifactId> |
| <name>Apache Apex Binaries Distribution Package</name> |
| |
| <properties> |
| <apex.version>${project.version}</apex.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <configuration> |
| <skipSource>true</skipSource> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-jar</id> |
| <phase>none</phase> |
| <configuration> |
| <finalName>unwanted</finalName> |
| <classifier>unwanted</classifier> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-jar</id> |
| <phase>none</phase> |
| <configuration> |
| <finalName>unwanted</finalName> |
| <classifier>unwanted</classifier> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <id>copy-dependencies</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| <includeScope>runtime</includeScope> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.googlecode.maven-download-plugin</groupId> |
| <artifactId>download-maven-plugin</artifactId> |
| <version>1.3.0</version> |
| <executions> |
| <execution> |
| <id>wget-jline</id> |
| <phase>package</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>https://raw.githubusercontent.com/jline/jline2/jline-2.11/LICENSE.txt</url> |
| <outputDirectory>${project.build.directory}/licenses</outputDirectory> |
| <outputFileName>jline-LICENSE.txt</outputFileName> |
| </configuration> |
| </execution> |
| <execution> |
| <phase>package</phase> |
| <id>wget-kryo</id> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>https://raw.githubusercontent.com/EsotericSoftware/kryo/kryo-2.24.0/license.txt</url> |
| <outputDirectory>${project.build.directory}/licenses</outputDirectory> |
| <outputFileName>kryo-LICENSE.txt</outputFileName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>wget-mbassador</id> |
| <phase>package</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>https://raw.githubusercontent.com/bennidi/mbassador/mbassador-1.1.9/LICENSE</url> |
| <outputDirectory>${project.build.directory}/licenses</outputDirectory> |
| <outputFileName>mbassador-LICENSE.txt</outputFileName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>wget-minlog</id> |
| <phase>package</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>https://raw.githubusercontent.com/EsotericSoftware/minlog/1.2/license.txt</url> |
| <outputDirectory>${project.build.directory}/licenses</outputDirectory> |
| <outputFileName>minlog-LICENSE.txt</outputFileName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>wget-jersey</id> |
| <phase>package</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>https://raw.githubusercontent.com/jersey/jersey/master/LICENSE.txt</url> |
| <outputDirectory>${project.build.directory}/licenses</outputDirectory> |
| <outputFileName>jersey-LICENSE.txt</outputFileName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <finalName>apache-apex-${project.version}</finalName> |
| <descriptors> |
| <descriptor>src/assemble/bin-release.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.apex</groupId> |
| <artifactId>apex-engine</artifactId> |
| <version>${apex.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <!-- exclude to get it marked provided with hadoop-common --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-client</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </project> |