1 Star 0 Fork 1

小范哥/flinkStreamSQL

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
pom.xml 3.61 KB
Copy Edit Raw Blame History
TuDouヽ authored 2019-04-10 09:56 +08:00 . add git-branch
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>sql.side.sqlserver</artifactId>
<groupId>com.dtstack.flink</groupId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>sql.side.all.sqlserver</artifactId>
<version>1.0-SNAPSHOT</version>
<name>sqlserver-all-side</name>
<packaging>jar</packaging>
<properties>
<sql.side.sqlserver.core.version>1.0-SNAPSHOT</sql.side.sqlserver.core.version>
</properties>
<dependencies>
<dependency>
<groupId>com.dtstack.flink</groupId>
<artifactId>sql.side.sqlserver.core</artifactId>
<version>${sql.side.sqlserver.core.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>copy-resources</id>
<!-- here the phase you need -->
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy todir="${basedir}/../../../plugins/sqlserverallside">
<fileset dir="target/">
<include name="${project.artifactId}-${project.version}.jar"/>
</fileset>
</copy>
<move file="${basedir}/../../../plugins/sqlserverallside/${project.artifactId}-${project.version}.jar"
tofile="${basedir}/../../../plugins/sqlserverallside/${project.name}-${git.branch}.jar"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/java_fan/flinkStreamSQL.git
git@gitee.com:java_fan/flinkStreamSQL.git
java_fan
flinkStreamSQL
flinkStreamSQL
master

Search