代码拉取完成,页面将自动刷新
同步操作将从 Fire Framework/fire 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.zto.fire</groupId>
<artifactId>fire-parent</artifactId>
<packaging>pom</packaging>
<version>2.4.5-SNAPSHOT</version>
<name>Fire : </name>
<description>Fire framework is a development framework for real-time computing task development . The framework provides a simple and easy to use API that can significantly reduce the development threshold of Spark and Flink and improve development efficiency.</description>
<url>https://github.com/fire-framework/fire</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>longyin319</name>
<email>longyin319@foxmail.com</email>
<organization>fire-framework</organization>
<organizationUrl>https://github.com/fire-framework/fire</organizationUrl>
</developer>
<developer>
<name>u2huangzhijun</name>
<email>u2huangzhijun@163.com</email>
<organization>fire-framework</organization>
<organizationUrl>https://gitee.com/fire-framework/fire</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/fire-framework/fire</url>
<connection>scm:git:https://github.com/fire-framework/fire.git</connection>
<developerConnection>scm:git:https://github.com/fire-framework/fire.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<fire.version>${project.version}</fire.version>
<hudi.version>0.9.0</hudi.version>
<hudi.major.version>0.9</hudi.major.version>
<hudi.bundle.version>3</hudi.bundle.version>
<commons-lang.version>2.5</commons-lang.version>
<clickhouse-jdbc.version>0.3.1</clickhouse-jdbc.version>
<maven.scope>provided</maven.scope>
<kafka.version>0.11.0.2</kafka.version>
<sparkjava.version>2.8.0</sparkjava.version>
<hadoop.version>2.6.0</hadoop.version>
<hive.apache.version>1.1.0</hive.apache.version>
<hive.flink.version>1.2.1</hive.flink.version>
<hive.version>1.1.0</hive.version>
<hive.group>org.apache.hive</hive.group>
<commonsio.version>2.11.0</commonsio.version>
<commons-lang3.version>3.5</commons-lang3.version>
<log4j.version>1.2.17</log4j.version>
<kryo.version>4.0.0</kryo.version>
<hbase.version>1.2.0</hbase.version>
<quartz.version>2.3.1</quartz.version>
<oshi.version>3.12.2</oshi.version>
<impala.jdbc.version>2.5.30</impala.jdbc.version>
<junit.version>4.13.2</junit.version>
<rocketmq.version>4.8.0</rocketmq.version>
<mysql.version>5.1.49</mysql.version>
<guava.version>15.0</guava.version>
<curator.verrsion>2.6.0</curator.verrsion>
<arthas.version>3.5.4</arthas.version>
<calcite.version>1.26.0</calcite.version>
<netty.version>4.1.17.Final</netty.version>
<aspectj.version>1.9.7</aspectj.version>
<httpclient.version>3.1</httpclient.version>
<c3p0.version>0.9.1.2</c3p0.version>
<derby.version>10.13.1.1</derby.version>
<jsqlparser.version>4.5</jsqlparser.version>
<htrace.version>3.2.0-incubating</htrace.version>
<build.dest>pub</build.dest>
<httpcomponents.version>4.3.3</httpcomponents.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<rocketmq.schema.registry.version>0.1.0</rocketmq.schema.registry.version>
<contains.scala.binary.version>_${scala.binary.version}</contains.scala.binary.version>
<scala.version>${scala.binary.version}.${scala.minor.version}</scala.version>
<spark.reference>${spark.major.version}_${scala.binary.version}</spark.reference>
<flink.reference>${flink.major.version}_${scala.binary.version}</flink.reference>
</properties>
<modules>
<module>fire-common</module>
<module>fire-core</module>
<module>fire-connectors</module>
<module>fire-engines</module>
<module>fire-enhance</module>
<module>fire-bundle</module>
</modules>
<profiles>
<!-- 发布jar包到maven中央仓库 -->
<profile>
<id>deploy-ossrh-repo</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<failOnError>false</failOnError>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>repo-ossrh-snapshot</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>repo-ossrh-rc</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<!-- 发布jar包到zto私服 -->
<profile>
<id>deploy-zto-repo</id>
<distributionManagement>
<repository>
<id>repo-zto-rc</id>
<name>libs-release</name>
<url>https://jfrog.dev.ztosys.com/artifactory/libs-release/</url>
</repository>
<snapshotRepository>
<id>repo-zto-snapshot</id>
<name>libs-snapshot</name>
<url>https://jfrog.dev.ztosys.com/artifactory/libs-snapshot/</url>
</snapshotRepository>
</distributionManagement>
</profile>
<!-- 本地运行需启用该profile,否则会报某些类找不到异常。集群模式请禁用,否则包非常大,依赖冲突风险倍增 -->
<profile>
<id>run-local</id>
<properties>
<maven.scope>compile</maven.scope>
</properties>
</profile>
<!-- Configure whether to build the fire-examples module. -->
<profile>
<id>build-examples</id>
<modules>
<module>fire-examples</module>
</modules>
</profile>
<!-- Configure whether to build the fire-shell module. -->
<profile>
<id>build-shell</id>
<modules>
<module>fire-shell</module>
</modules>
</profile>
<!-- scala profile -->
<profile>
<id>scala-2.11</id>
<properties>
<scala.binary.version>2.11</scala.binary.version>
<scala.exclusion.version>2.12</scala.exclusion.version>
<scala.minor.version>8</scala.minor.version>
</properties>
</profile>
<profile>
<id>scala-2.12</id>
<properties>
<scala.binary.version>2.12</scala.binary.version>
<scala.exclusion.version>2.11</scala.exclusion.version>
<scala.minor.version>13</scala.minor.version>
</properties>
</profile>
<profile>
<id>scala-2.13</id>
<properties>
<scala.binary.version>2.13</scala.binary.version>
<scala.minor.version>10</scala.minor.version>
</properties>
</profile>
<!-- spark profile -->
<profile>
<id>spark-2.3</id>
<properties>
<spark.version>2.3.2</spark.version>
<spark.major.version>2.3</spark.major.version>
<jackson.version>2.6.7</jackson.version>
<hudi.bundle.version></hudi.bundle.version>
</properties>
<dependencies>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-2.4</id>
<properties>
<spark.version>2.4.8</spark.version>
<spark.major.version>2.4</spark.major.version>
<jackson.version>2.6.7.1</jackson.version>
<hudi.bundle.version></hudi.bundle.version>
</properties>
<dependencies>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.0</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spark.version>3.0.2</spark.version>
<spark.major.version>3.0</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.1</id>
<properties>
<spark.version>3.1.3</spark.version>
<spark.major.version>3.1</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.2</id>
<properties>
<spark.version>3.2.3</spark.version>
<spark.major.version>3.2</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.3</id>
<properties>
<spark.version>3.3.2</spark.version>
<spark.major.version>3.3</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<!-- 以hadoop2.7、hive1.2低版本编译 -->
<profile>
<id>hadoop-2.7</id>
<properties>
<hive.group>org.spark-project.hive</hive.group>
<hive.version>1.2.1.spark2</hive.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
<exclusions>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-common</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-metastore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-serde</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-shims</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive-thriftserver_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
<exclusions>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-cli</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-jdbc</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-beeline</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-cli</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-jdbc</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-beeline</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-common</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-metastore</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-exec</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
<profile>
<id>hadoop-3.2</id>
<properties>
<hadoop.version>3.2.0</hadoop.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<!-- flink profile -->
<profile>
<id>flink-1.12</id>
<properties>
<flink.version>1.12.2</flink.version>
<flink.major.version>1.12</flink.major.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.13</id>
<properties>
<flink.version>1.13.0</flink.version>
<flink.major.version>1.13</flink.major.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.14</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<flink.version>1.14.3</flink.version>
<flink.major.version>1.14</flink.major.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.15</id>
<properties>
<flink.version>1.15.3</flink.version>
<flink.major.version>1.15</flink.major.version>
<contains.scala.binary.version></contains.scala.binary.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.16</id>
<properties>
<flink.version>1.16.1</flink.version>
<flink.major.version>1.16</flink.major.version>
<contains.scala.binary.version></contains.scala.binary.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>hudi-0.8</id>
<properties>
<hudi.version>0.8.0</hudi.version>
<hudi.major.version>0.8</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-0.9</id>
<properties>
<hudi.version>0.9.0</hudi.version>
<hudi.major.version>0.9</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-0.10</id>
<properties>
<hudi.version>0.10.1</hudi.version>
<hudi.major.version>0.10</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-0.13</id>
<properties>
<hudi.version>0.13.0</hudi.version>
<hudi.major.version>0.13</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-1.0.0</id>
<properties>
<hudi.version>1.0.0-beta1</hudi.version>
<hudi.major.version>1.0</hudi.major.version>
</properties>
</profile>
<!-- include zto env -->
<profile>
<id>zto-env</id>
<properties>
<build.dest>zto</build.dest>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<!-- 中通内部集群环境依赖,编译报错可直接注释掉,不影响开源社区使用 -->
<dependency>
<groupId>com.zto.bigdata</groupId>
<artifactId>cluster-env</artifactId>
<version>1.0.4-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>conf-test.properties</include>
</includes>
</resource>
</resources>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>${scala.version}</version>
</dependency>
<!-- 第三方库相关依赖 -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commonsio.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>${kryo.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>com.sparkjava</groupId>
<artifactId>spark-core</artifactId>
<version>${sparkjava.version}</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>${quartz.version}</version>
</dependency>
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>${oshi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>aliyun</id>
<url>https://maven.aliyun.com/repository/central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>central</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>aliyun</id>
<url>https://maven.aliyun.com/repository/central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>central</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>repo-ossrh-rc</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- ensure that we use JDK 1.6 -->
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies
on scala classes can be resolved later in the (Java) compile phase -->
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<!-- Run scala compiler in the process-test-resources phase, so that
dependencies on scala classes can be resolved later in the (Java) test-compile
phase -->
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<!-- Add src/main/scala to source path of Eclipse -->
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/java</source>
<source>src/main/scala</source>
<source>src/main/scala-${build.dest}</source>
<source>src/main/java-spark-${spark.major.version}</source>
<source>src/main/scala-spark-${spark.major.version}</source>
<source>src/main/java-flink-${flink.major.version}</source>
<source>src/main/scala-flink-${flink.major.version}</source>
<source>src/main/java-hudi-${hudi.major.version}</source>
<source>src/main/scala-hudi-${hudi.major.version}</source>
</sources>
</configuration>
</execution>
<!-- Add src/test/scala to test source path of Eclipse -->
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/java</source>
<source>src/test/scala</source>
<source>src/main/scala-${build.dest}</source>
<source>src/test/java-spark-${spark.major.version}</source>
<source>src/test/scala-spark-${spark.major.version}</source>
<source>src/test/java-flink-${flink.major.version}</source>
<source>src/test/scala-flink-${flink.major.version}</source>
<source>src/main/java-hudi-${hudi.major.version}</source>
<source>src/main/scala-hudi-${hudi.major.version}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- to generate Eclipse artifacts for projects mixing Scala and Java -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<projectnatures>
<projectnature>org.scala-ide.sdt.core.scalanature</projectnature>
<projectnature>org.eclipse.jdt.core.javanature</projectnature>
</projectnatures>
<buildcommands>
<buildcommand>org.scala-ide.sdt.core.scalabuilder</buildcommand>
</buildcommands>
<classpathContainers>
<classpathContainer>org.scala-ide.sdt.launching.SCALA_CONTAINER</classpathContainer>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
</classpathContainers>
<excludes>
<!-- in Eclipse, use scala-library, scala-compiler from the SCALA_CONTAINER
rather than POM <dependency> -->
<exclude>org.scala-lang:scala-library</exclude>
<exclude>org.scala-lang:scala-compiler</exclude>
</excludes>
<sourceIncludes>
<sourceInclude>**/*.scala</sourceInclude>
<sourceInclude>**/*.java</sourceInclude>
</sourceIncludes>
</configuration>
</plugin>
<!-- When run tests in the test phase, include .java and .scala source
files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<includes>
<include>**/*.java</include>
<include>**/*.scala</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers combine.children="append">
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
</transformer>
</transformers>
<finalName>zto-${project.artifactId}-${project.version}</finalName>
</configuration>
</plugin>
</plugins>
</build>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。