Skip to content

Commit 3f66d3b

Browse files
committed
dtstack upload
1 parent 586557c commit 3f66d3b

File tree

113 files changed

+12621
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+12621
-0
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
target
2+
.idea/
3+
/.idea/*
4+
/target
5+
target
6+
.class
7+
.project
8+
.classpath
9+
*.eclipse.*
10+
*.iml
11+
plugins/

core/pom.xml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<parent>
4+
<artifactId>flink.sql</artifactId>
5+
<groupId>com.dtstack.flinkx</groupId>
6+
<version>1.0-SNAPSHOT</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
11+
<artifactId>sql.core</artifactId>
12+
<packaging>jar</packaging>
13+
14+
<name>core</name>
15+
<url>http://maven.apache.org</url>
16+
17+
<properties>
18+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19+
<project.package.name>core</project.package.name>
20+
</properties>
21+
22+
<dependencies>
23+
<dependency>
24+
<groupId>junit</groupId>
25+
<artifactId>junit</artifactId>
26+
<version>4.12</version>
27+
<scope>test</scope>
28+
</dependency>
29+
30+
<dependency>
31+
<groupId>org.apache.flink</groupId>
32+
<artifactId>flink-table_2.11</artifactId>
33+
<version>${flink.version}</version>
34+
</dependency>
35+
36+
<dependency>
37+
<groupId>org.apache.flink</groupId>
38+
<artifactId>flink-core</artifactId>
39+
<version>${flink.version}</version>
40+
</dependency>
41+
42+
<dependency>
43+
<groupId>org.apache.flink</groupId>
44+
<artifactId>flink-streaming-java_2.11</artifactId>
45+
<version>${flink.version}</version>
46+
</dependency>
47+
48+
<dependency>
49+
<groupId>org.apache.flink</groupId>
50+
<artifactId>flink-scala_2.11</artifactId>
51+
<version>${flink.version}</version>
52+
</dependency>
53+
54+
<dependency>
55+
<groupId>org.apache.flink</groupId>
56+
<artifactId>flink-streaming-scala_2.11</artifactId>
57+
<version>${flink.version}</version>
58+
</dependency>
59+
</dependencies>
60+
61+
<build>
62+
<resources>
63+
<resource>
64+
<directory>src/main/java/</directory>
65+
</resource>
66+
<resource>
67+
<directory>src/main/resources/</directory>
68+
</resource>
69+
</resources>
70+
<plugins>
71+
<plugin>
72+
<groupId>org.apache.maven.plugins</groupId>
73+
<artifactId>maven-jar-plugin</artifactId>
74+
<configuration>
75+
<classesDirectory>target/classes/</classesDirectory>
76+
<archive>
77+
<manifest>
78+
<!-- 主函数的入口 -->
79+
<mainClass>com.dtstack.flink.sql.Main</mainClass>
80+
<!-- 打包时 MANIFEST.MF文件不记录的时间戳版本 -->
81+
<useUniqueVersions>false</useUniqueVersions>
82+
</manifest>
83+
<manifestEntries>
84+
<Class-Path>.</Class-Path>
85+
</manifestEntries>
86+
</archive>
87+
</configuration>
88+
</plugin>
89+
90+
<plugin>
91+
<artifactId>maven-antrun-plugin</artifactId>
92+
<version>1.2</version>
93+
<executions>
94+
<execution>
95+
<id>copy-resources</id>
96+
<!-- here the phase you need -->
97+
<phase>package</phase>
98+
<goals>
99+
<goal>run</goal>
100+
</goals>
101+
<configuration>
102+
<tasks>
103+
<copy todir="${basedir}/../plugins">
104+
<fileset dir="target/">
105+
<include name="${project.artifactId}-${project.version}.jar" />
106+
</fileset>
107+
</copy>
108+
<move file="${basedir}/../plugins/${project.artifactId}-${project.version}.jar"
109+
tofile="${basedir}/../plugins/${project.name}.jar" />
110+
</tasks>
111+
</configuration>
112+
</execution>
113+
</executions>
114+
</plugin>
115+
116+
117+
</plugins>
118+
</build>
119+
</project>

0 commit comments

Comments
 (0)