| <?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.phoenix</groupId> |
| <artifactId>phoenix-connectors</artifactId> |
| <version>6.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <properties> |
| <phoenix.version>${phoenix-five.version}</phoenix.version> |
| <hbase.version>${hbase-two.version}</hbase.version> |
| <hadoop.version>${hadoop-three.version}</hadoop.version> |
| <jdk.version>1.8</jdk.version> |
| </properties> |
| |
| <artifactId>phoenix5-connectors-assembly</artifactId> |
| <packaging>pom</packaging> |
| <name>Phoenix 5 Connectors Distribution Assembly</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-flume</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-hive</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-hive-shaded</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-kafka</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-pig</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-pig-shaded</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark-shaded</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix5-spark3-shaded</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>exec-maven-plugin</artifactId> |
| <groupId>org.codehaus.mojo</groupId> |
| <executions> |
| <execution> |
| <id>flume without version</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>ln</executable> |
| <workingDirectory>${project.basedir}/../phoenix-flume-base/phoenix5-flume/target</workingDirectory> |
| <arguments> |
| <argument>-fnsv</argument> |
| <argument> |
| phoenix5-flume-${project.version}-shaded.jar |
| </argument> |
| <argument> |
| phoenix5-flume-shaded.jar |
| </argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>hive without version</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>ln</executable> |
| <workingDirectory>${project.basedir}/../phoenix-hive-base/phoenix5-hive-shaded/target</workingDirectory> |
| <arguments> |
| <argument>-fnsv</argument> |
| <argument> |
| phoenix5-hive-shaded-${project.version}.jar |
| </argument> |
| <argument> |
| phoenix5-hive-shaded.jar |
| </argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>pig without version</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>ln</executable> |
| <workingDirectory>${project.basedir}/../phoenix-pig-base/phoenix5-pig-shaded/target</workingDirectory> |
| <arguments> |
| <argument>-fnsv</argument> |
| <argument> |
| phoenix5-pig-shaded-${project.version}.jar |
| </argument> |
| <argument> |
| phoenix5-pig-shaded.jar |
| </argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>spark without version</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>ln</executable> |
| <workingDirectory>${project.basedir}/../phoenix-spark-base/phoenix5-spark-shaded/target</workingDirectory> |
| <arguments> |
| <argument>-fnsv</argument> |
| <argument> |
| phoenix5-spark-shaded-${project.version}.jar |
| </argument> |
| <argument> |
| phoenix5-spark-shaded.jar |
| </argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>spark3 without version</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>ln</executable> |
| <workingDirectory>${project.basedir}/../phoenix5-spark3-shaded/target</workingDirectory> |
| <arguments> |
| <argument>-fnsv</argument> |
| <argument> |
| phoenix5-spark3-shaded-${project.version}.jar |
| </argument> |
| <argument> |
| phoenix5-spark3-shaded.jar |
| </argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>kafka without version</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>ln</executable> |
| <workingDirectory>${project.basedir}/../phoenix-kafka-base/phoenix5-kafka/target</workingDirectory> |
| <arguments> |
| <argument>-fnsv</argument> |
| <argument> |
| phoenix5-kafka-${project.version}-shaded-minimal.jar |
| </argument> |
| <argument> |
| phoenix5-kafka-shaded-minimal.jar |
| </argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>package-phoenix5-to-tar</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <skipAssembly>${skip-phoenix5}</skipAssembly> |
| <descriptors> |
| <descriptor>src/build/package-phoenix5-connectors-to-tar-all.xml</descriptor> |
| </descriptors> |
| <finalName>phoenix5-connectors-${project.version}</finalName> |
| <tarLongFileMode>posix</tarLongFileMode> |
| <appendAssemblyId>false</appendAssemblyId> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |