| <?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.inlong</groupId> |
| <artifactId>inlong</artifactId> |
| <version>0.10.0-incubating</version> |
| </parent> |
| <artifactId>inlong-sort</artifactId> |
| <version>0.10.0-incubating</version> |
| |
| <name>Apache InLong - Sort</name> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <flink.version>1.9.3</flink.version> |
| <flink.connector.version>1.9.3</flink.connector.version> |
| <flink.scala.binary.version>2.11</flink.scala.binary.version> |
| <guava.version>18.0</guava.version> |
| <junit.version>4.12</junit.version> |
| <hamcrest.version>1.3</hamcrest.version> |
| <slf4j.version>1.7.15</slf4j.version> |
| <log4j.version>2.13.3</log4j.version> |
| <mockito.version>3.6.28</mockito.version> |
| <curator.version>2.12.0</curator.version> |
| <log4j.configuration>log4j-test.properties</log4j.configuration> |
| <tubemq.version>${project.version}</tubemq.version> |
| <commons-lang3.version>3.3.2</commons-lang3.version> |
| <clickhouse-jdbc.version>0.3.0</clickhouse-jdbc.version> |
| <flink.jackson.version>2.9.8-7.0</flink.jackson.version> |
| <jsr.version>3.0.2</jsr.version> |
| <snappy.version>1.1.4</snappy.version> |
| <hadoop.version>2.8.5</hadoop.version> |
| <hive.version>2.3.8</hive.version> |
| <pulsar.version>2.6.2</pulsar.version> |
| </properties> |
| |
| <modules> |
| <module>sort-api</module> |
| <module>sort-common</module> |
| <module>sort-core</module> |
| <module>sort-dist</module> |
| <module>sort-formats</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| <version>${log4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>${hamcrest.version}</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.inlong</groupId> |
| <artifactId>tubemq-client</artifactId> |
| <version>${tubemq.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.inlong</groupId> |
| <artifactId>inlong-common</artifactId> |
| <version>0.10.0-incubating</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>slf4j-api</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>snappy-java</artifactId> |
| <groupId>org.xerial.snappy</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>guava</artifactId> |
| <groupId>com.google.guava</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-core</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-streaming-java_${flink.scala.binary.version}</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-parquet_${flink.scala.binary.version}</artifactId> |
| <version>${flink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-shaded-jackson</artifactId> |
| <version>${flink.jackson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-framework</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| <version>${curator.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang3.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>${jsr.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-jdbc</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-service-rpc</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jersey-json</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>snappy-java</artifactId> |
| <groupId>org.xerial.snappy</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>commons-logging</artifactId> |
| <groupId>commons-logging</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| <version>${hive.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.parquet</groupId> |
| <artifactId>parquet-hadoop-bundle</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.pentaho</groupId> |
| <artifactId>pentaho-aggdesigner-algorithm</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-compress</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.pulsar</groupId> |
| <artifactId>pulsar-client-admin</artifactId> |
| <version>${pulsar.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.pulsar</groupId> |
| <artifactId>pulsar-client</artifactId> |
| <version>${pulsar.version}</version> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.1</version> |
| <configuration> |
| <!-- Enforce single fork execution due to heavy mini cluster use in the tests --> |
| <forkCount>1</forkCount> |
| <argLine>-Xms256m -Xmx1024m -Dlog4j.configuration=${log4j.configuration} |
| -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit |
| </argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.2.4</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <shadedArtifactAttached>false</shadedArtifactAttached> |
| <finalName>${project.artifactId}-${project.version}</finalName> |
| <filters> |
| <!-- Globally exclude log4j.properties from our JAR files. --> |
| <filter> |
| <artifact>*</artifact> |
| <excludes> |
| <exclude>log4j.properties</exclude> |
| <exclude>log4j-test.properties</exclude> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <artifactSet> |
| <excludes> |
| <exclude>org.apache.log4j:*</exclude> |
| <exclude>org.apache.logging.log4j:*</exclude> |
| <exclude>org.slf4j:*</exclude> |
| <exclude>log4j:log4j</exclude> |
| </excludes> |
| </artifactSet> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.8.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |