66 <artifactId >sql.side.kingbase</artifactId >
77 <groupId >com.dtstack.flink</groupId >
88 <version >1.0-SNAPSHOT</version >
9+ <relativePath >../pom.xml</relativePath >
910 </parent >
1011 <modelVersion >4.0.0</modelVersion >
11-
12+ < name >kingbase-async-side</ name >
1213 <artifactId >sql.side.async.kingbase</artifactId >
14+ <packaging >jar</packaging >
15+
16+ <dependencies >
17+ <dependency >
18+ <groupId >com.dtstack.flink</groupId >
19+ <artifactId >sql.side.kingbase.core</artifactId >
20+ <version >1.0-SNAPSHOT</version >
21+ </dependency >
22+ </dependencies >
23+
24+ <build >
25+ <plugins >
26+ <plugin >
27+ <groupId >org.apache.maven.plugins</groupId >
28+ <artifactId >maven-shade-plugin</artifactId >
29+ <version >3.2.1</version >
30+ <executions >
31+ <execution >
32+ <phase >package</phase >
33+ <goals >
34+ <goal >shade</goal >
35+ </goals >
36+ <configuration >
37+ <createDependencyReducedPom >false</createDependencyReducedPom >
38+ <artifactSet >
39+ <excludes >
40+
41+ </excludes >
42+ </artifactSet >
43+ <filters >
44+ <filter >
45+ <artifact >*:*</artifact >
46+ <excludes >
47+ <exclude >META-INF/*.SF</exclude >
48+ <exclude >META-INF/*.DSA</exclude >
49+ <exclude >META-INF/*.RSA</exclude >
50+ </excludes >
51+ </filter >
52+ </filters >
53+ </configuration >
54+ </execution >
55+ </executions >
56+ </plugin >
1357
58+ <plugin >
59+ <artifactId >maven-antrun-plugin</artifactId >
60+ <version >1.2</version >
61+ <executions >
62+ <execution >
63+ <id >copy-resources</id >
64+ <!-- here the phase you need -->
65+ <phase >package</phase >
66+ <goals >
67+ <goal >run</goal >
68+ </goals >
69+ <configuration >
70+ <tasks >
71+ <copy todir =" ${basedir}/../../../sqlplugins/kingbaseasyncside" >
72+ <fileset dir =" target/" >
73+ <include name =" ${project.artifactId}-${project.version}.jar" />
74+ </fileset >
75+ </copy >
1476
77+ <move file =" ${basedir}/../../../sqlplugins/kingbaseasyncside/${project.artifactId}-${project.version}.jar"
78+ tofile =" ${basedir}/../../../sqlplugins/kingbaseasyncside/${project.name}-${git.branch}.jar" />
79+ </tasks >
80+ </configuration >
81+ </execution >
82+ </executions >
83+ </plugin >
84+ </plugins >
85+ </build >
1586</project >
0 commit comments