1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <parent >
6+ <artifactId >sql.side.cassandra</artifactId >
7+ <groupId >com.dtstack.flink</groupId >
8+ <version >1.0-SNAPSHOT</version >
9+ <relativePath >../pom.xml</relativePath >
10+ </parent >
11+ <modelVersion >4.0.0</modelVersion >
12+
13+ <artifactId >sql.side.all.cassandra</artifactId >
14+ <name >cassandra-all-side</name >
15+
16+ <packaging >jar</packaging >
17+
18+ <dependencies >
19+ <dependency >
20+ <groupId >com.dtstack.flink</groupId >
21+ <artifactId >sql.side.cassandra.core</artifactId >
22+ <version >1.0-SNAPSHOT</version >
23+ </dependency >
24+ </dependencies >
25+
26+ <build >
27+ <plugins >
28+ <plugin >
29+ <groupId >org.apache.maven.plugins</groupId >
30+ <artifactId >maven-shade-plugin</artifactId >
31+ <version >1.4</version >
32+ <executions >
33+ <execution >
34+ <phase >package</phase >
35+ <goals >
36+ <goal >shade</goal >
37+ </goals >
38+ <configuration >
39+ <artifactSet >
40+ <excludes >
41+
42+ </excludes >
43+ </artifactSet >
44+ <filters >
45+ <filter >
46+ <artifact >*:*</artifact >
47+ <excludes >
48+ <exclude >META-INF/*.SF</exclude >
49+ <exclude >META-INF/*.DSA</exclude >
50+ <exclude >META-INF/*.RSA</exclude >
51+ </excludes >
52+ </filter >
53+ </filters >
54+ </configuration >
55+ </execution >
56+ </executions >
57+ </plugin >
58+
59+ <plugin >
60+ <artifactId >maven-antrun-plugin</artifactId >
61+ <version >1.2</version >
62+ <executions >
63+ <execution >
64+ <id >copy-resources</id >
65+ <!-- here the phase you need -->
66+ <phase >package</phase >
67+ <goals >
68+ <goal >run</goal >
69+ </goals >
70+ <configuration >
71+ <tasks >
72+ <copy todir =" ${basedir}/../../../plugins/cassandraallside" >
73+ <fileset dir =" target/" >
74+ <include name =" ${project.artifactId}-${project.version}.jar" />
75+ </fileset >
76+ </copy >
77+
78+ <move file =" ${basedir}/../../../plugins/cassandraallside/${project.artifactId}-${project.version}.jar"
79+ tofile =" ${basedir}/../../../plugins/cassandraallside/${project.name}.jar" />
80+ </tasks >
81+ </configuration >
82+ </execution >
83+ </executions >
84+ </plugin >
85+ </plugins >
86+ </build >
87+
88+ </project >
0 commit comments