This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris-flink-connector.git
commit 86d3e56a397667f7ac8b7f1d71d121d62e6469b5 Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Tue Nov 9 10:02:08 2021 +0800 [Build]Compile and output the jar file, add Spark, Flink version and Scala version (#7051) The jar file compiled by Flink and Spark Connector, with the corresponding Flink, Spark version and Scala version at compile time, so that users can know whether the version number matches when using it. Example of output file nameļ¼doris-spark-1.0.0-spark-3.2.0_2.12.jar --- build.sh | 6 ++---- pom.xml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 70f4e96..3be10a0 100644 --- a/build.sh +++ b/build.sh @@ -45,14 +45,12 @@ if ! ${MVN_CMD} --version; then exit 1 fi export MVN_CMD - +rm -rf output/ ${MVN_CMD} clean package mkdir -p output/ -cp target/doris-flink-1.0-SNAPSHOT.jar ./output/ -cp target/doris-flink-1.0-SNAPSHOT-javadoc.jar ./output/ -cp target/doris-flink-1.0-SNAPSHOT-sources.jar ./output/ +cp target/doris-flink-*.jar ./output/ echo "*****************************************" echo "Successfully build Flink-Doris-Connector" diff --git a/pom.xml b/pom.xml index ffe6784..c5c3905 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ <groupId>org.apache</groupId> <artifactId>doris-flink</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.0.0-flink-${flink.version}_${scala.version}</version> <properties> <scala.version>2.12</scala.version> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org