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.oracle</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.oracle</artifactId >
14+ <version >1.0-SNAPSHOT</version >
15+ <name >oracle-all-side</name >
16+ <packaging >jar</packaging >
17+
18+ <properties >
19+ <sql .side.oracle.core.version>1.0-SNAPSHOT</sql .side.oracle.core.version>
20+ </properties >
21+
22+ <dependencies >
23+ <dependency >
24+ <groupId >com.dtstack.flink</groupId >
25+ <artifactId >sql.side.oracle.core</artifactId >
26+ <version >${sql.side.oracle.core.version} </version >
27+ </dependency >
28+ </dependencies >
29+
30+ <build >
31+ <plugins >
32+ <plugin >
33+ <groupId >org.apache.maven.plugins</groupId >
34+ <artifactId >maven-shade-plugin</artifactId >
35+ <version >1.4</version >
36+ <executions >
37+ <execution >
38+ <phase >package</phase >
39+ <goals >
40+ <goal >shade</goal >
41+ </goals >
42+ <configuration >
43+ <artifactSet >
44+ <excludes >
45+
46+ </excludes >
47+ </artifactSet >
48+ <filters >
49+ <filter >
50+ <artifact >*:*</artifact >
51+ <excludes >
52+ <exclude >META-INF/*.SF</exclude >
53+ <exclude >META-INF/*.DSA</exclude >
54+ <exclude >META-INF/*.RSA</exclude >
55+ </excludes >
56+ </filter >
57+ </filters >
58+ </configuration >
59+ </execution >
60+ </executions >
61+ </plugin >
62+
63+ <plugin >
64+ <artifactId >maven-antrun-plugin</artifactId >
65+ <version >1.2</version >
66+ <executions >
67+ <execution >
68+ <id >copy-resources</id >
69+ <!-- here the phase you need -->
70+ <phase >package</phase >
71+ <goals >
72+ <goal >run</goal >
73+ </goals >
74+ <configuration >
75+ <tasks >
76+ <copy todir =" ${basedir}/../../../plugins/oracleallside" >
77+ <fileset dir =" target/" >
78+ <include name =" ${project.artifactId}-${project.version}.jar" />
79+ </fileset >
80+ </copy >
81+
82+ <move file =" ${basedir}/../../../plugins/oracleallside/${project.artifactId}-${project.version}.jar"
83+ tofile =" ${basedir}/../../../plugins/oracleallside/${project.name}.jar" />
84+ </tasks >
85+ </configuration >
86+ </execution >
87+ </executions >
88+ </plugin >
89+ </plugins >
90+ </build >
91+ </project >
0 commit comments