Skip to content

Commit 2b7a35d

Browse files
author
S00003829
committed
init
1 parent 436deba commit 2b7a35d

87 files changed

Lines changed: 6324 additions & 0 deletions

File tree

Some content is hidden

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

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.idea/
2+
/target/

‎pom-package.xml‎

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
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+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.chery.gb</groupId>
8+
<artifactId>new_gb_data_realtime_algorithm_service</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<properties>
12+
<maven.compiler.source>8</maven.compiler.source>
13+
<maven.compiler.target>8</maven.compiler.target>
14+
<flink-version>1.15.0</flink-version>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
</properties>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.apache.flink</groupId>
21+
<artifactId>flink-java</artifactId>
22+
<version>${flink-version}</version>
23+
<scope>provided</scope>
24+
</dependency>
25+
<dependency>
26+
<groupId>org.apache.flink</groupId>
27+
<artifactId>flink-streaming-java</artifactId>
28+
<version>${flink-version}</version>
29+
<scope>provided</scope>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.apache.flink</groupId>
33+
<artifactId>flink-clients</artifactId>
34+
<version>${flink-version}</version>
35+
<scope>provided</scope>
36+
</dependency>
37+
<dependency>
38+
<groupId>org.apache.flink</groupId>
39+
<artifactId>flink-table-planner_2.12</artifactId>
40+
<version>${flink-version}</version>
41+
<scope>provided</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.apache.flink</groupId>
45+
<artifactId>flink-table-runtime</artifactId>
46+
<version>${flink-version}</version>
47+
<scope>provided</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.apache.flink</groupId>
51+
<artifactId>flink-table-api-java-bridge</artifactId>
52+
<version>${flink-version}</version>
53+
<scope>provided</scope>
54+
</dependency>
55+
<dependency>
56+
<groupId>org.apache.flink</groupId>
57+
<artifactId>flink-connector-base</artifactId>
58+
<version>${flink-version}</version>
59+
<scope>provided</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>com.ververica</groupId>
63+
<artifactId>flink-connector-mysql-cdc</artifactId>
64+
<version>2.4.2</version>
65+
<scope>provided</scope>
66+
</dependency>
67+
<dependency>
68+
<groupId>mysql</groupId>
69+
<artifactId>mysql-connector-java</artifactId>
70+
<version>8.0.31</version>
71+
</dependency>
72+
<dependency>
73+
<groupId>org.apache.flink</groupId>
74+
<artifactId>flink-connector-kafka</artifactId>
75+
<version>1.15.0</version>
76+
<scope>provided</scope>
77+
</dependency>
78+
<dependency>
79+
<groupId>cn.hutool</groupId>
80+
<artifactId>hutool-all</artifactId>
81+
<version>5.8.27</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.projectlombok</groupId>
85+
<artifactId>lombok</artifactId>
86+
<version>1.18.22</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>com.alibaba</groupId>
90+
<artifactId>fastjson</artifactId>
91+
<version>2.0.32</version>
92+
</dependency>
93+
<dependency>
94+
<groupId>org.yaml</groupId>
95+
<artifactId>snakeyaml</artifactId>
96+
<version>2.0</version>
97+
</dependency>
98+
99+
<dependency>
100+
<groupId>junit</groupId>
101+
<artifactId>junit</artifactId>
102+
<version>4.13.2</version>
103+
<scope>test</scope>
104+
</dependency>
105+
106+
<dependency>
107+
<groupId>org.reflections</groupId>
108+
<artifactId>reflections</artifactId>
109+
<version>0.10.2</version>
110+
</dependency>
111+
112+
</dependencies>
113+
114+
115+
<profiles>
116+
<profile>
117+
<id>test</id>
118+
<activation>
119+
<activeByDefault>true</activeByDefault>
120+
</activation>
121+
<properties>
122+
<resource.env>test</resource.env>
123+
</properties>
124+
</profile>
125+
<profile>
126+
<id>uat</id>
127+
<activation>
128+
<activeByDefault>false</activeByDefault>
129+
</activation>
130+
<properties>
131+
<resource.env>uat</resource.env>
132+
</properties>
133+
</profile>
134+
<profile>
135+
<id>prod</id>
136+
<activation>
137+
<activeByDefault>false</activeByDefault>
138+
</activation>
139+
<properties>
140+
<resource.env>prod</resource.env>
141+
</properties>
142+
</profile>
143+
</profiles>
144+
<build>
145+
<directory>${project.basedir}/out/${resource.env}</directory>
146+
<plugins>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-assembly-plugin</artifactId>
150+
<version>3.0.0</version>
151+
<configuration>
152+
<descriptorRefs>
153+
<descriptorRef>jar-with-dependencies</descriptorRef>
154+
</descriptorRefs>
155+
</configuration>
156+
<executions>
157+
<execution>
158+
<id>make-assembly</id>
159+
<phase>package</phase>
160+
<goals>
161+
<goal>single</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
</plugin>
166+
</plugins>
167+
<resources>
168+
<resource>
169+
<directory>src/main/resources/env/${resource.env}</directory>
170+
</resource>
171+
</resources>
172+
</build>
173+
174+
</project>

‎pom.xml‎

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
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+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.chery.gb</groupId>
8+
<artifactId>new_gb_data_realtime_algorithm_service</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<properties>
12+
<maven.compiler.source>8</maven.compiler.source>
13+
<maven.compiler.target>8</maven.compiler.target>
14+
<flink-version>1.15.0</flink-version>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
</properties>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.apache.flink</groupId>
21+
<artifactId>flink-java</artifactId>
22+
<version>${flink-version}</version>
23+
<!--<scope>provided</scope>-->
24+
</dependency>
25+
<dependency>
26+
<groupId>org.apache.flink</groupId>
27+
<artifactId>flink-streaming-java</artifactId>
28+
<version>${flink-version}</version>
29+
<!--<scope>provided</scope>-->
30+
</dependency>
31+
<dependency>
32+
<groupId>org.apache.flink</groupId>
33+
<artifactId>flink-clients</artifactId>
34+
<version>${flink-version}</version>
35+
<!--<scope>provided</scope>-->
36+
</dependency>
37+
<dependency>
38+
<groupId>org.apache.flink</groupId>
39+
<artifactId>flink-table-planner_2.12</artifactId>
40+
<version>${flink-version}</version>
41+
<!--<scope>provided</scope>-->
42+
</dependency>
43+
<dependency>
44+
<groupId>org.apache.flink</groupId>
45+
<artifactId>flink-table-runtime</artifactId>
46+
<version>${flink-version}</version>
47+
<!--<scope>provided</scope>-->
48+
</dependency>
49+
<dependency>
50+
<groupId>org.apache.flink</groupId>
51+
<artifactId>flink-table-api-java-bridge</artifactId>
52+
<version>${flink-version}</version>
53+
<!--<scope>provided</scope>-->
54+
</dependency>
55+
<dependency>
56+
<groupId>org.apache.flink</groupId>
57+
<artifactId>flink-connector-base</artifactId>
58+
<version>${flink-version}</version>
59+
<!--<scope>provided</scope>-->
60+
</dependency>
61+
<dependency>
62+
<groupId>com.ververica</groupId>
63+
<artifactId>flink-connector-mysql-cdc</artifactId>
64+
<version>2.4.2</version>
65+
<!--<scope>provided</scope>-->
66+
</dependency>
67+
<dependency>
68+
<groupId>mysql</groupId>
69+
<artifactId>mysql-connector-java</artifactId>
70+
<version>8.0.31</version>
71+
</dependency>
72+
<dependency>
73+
<groupId>org.apache.flink</groupId>
74+
<artifactId>flink-connector-kafka</artifactId>
75+
<version>1.15.0</version>
76+
<!--<scope>provided</scope>-->
77+
</dependency>
78+
<dependency>
79+
<groupId>cn.hutool</groupId>
80+
<artifactId>hutool-all</artifactId>
81+
<version>5.8.27</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.projectlombok</groupId>
85+
<artifactId>lombok</artifactId>
86+
<version>1.18.22</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>com.alibaba</groupId>
90+
<artifactId>fastjson</artifactId>
91+
<version>2.0.32</version>
92+
</dependency>
93+
<dependency>
94+
<groupId>org.yaml</groupId>
95+
<artifactId>snakeyaml</artifactId>
96+
<version>2.0</version>
97+
</dependency>
98+
99+
<dependency>
100+
<groupId>junit</groupId>
101+
<artifactId>junit</artifactId>
102+
<version>4.13.2</version>
103+
<scope>test</scope>
104+
</dependency>
105+
106+
<dependency>
107+
<groupId>org.reflections</groupId>
108+
<artifactId>reflections</artifactId>
109+
<version>0.10.2</version>
110+
</dependency>
111+
112+
</dependencies>
113+
114+
<profiles>
115+
<profile>
116+
<id>test</id>
117+
<activation>
118+
<activeByDefault>true</activeByDefault>
119+
</activation>
120+
<properties>
121+
<resource.env>test</resource.env>
122+
</properties>
123+
</profile>
124+
<profile>
125+
<id>uat</id>
126+
<activation>
127+
<activeByDefault>false</activeByDefault>
128+
</activation>
129+
<properties>
130+
<resource.env>uat</resource.env>
131+
</properties>
132+
</profile>
133+
<profile>
134+
<id>prod</id>
135+
<activation>
136+
<activeByDefault>false</activeByDefault>
137+
</activation>
138+
<properties>
139+
<resource.env>prod</resource.env>
140+
</properties>
141+
</profile>
142+
</profiles>
143+
<build>
144+
<plugins>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-assembly-plugin</artifactId>
148+
<version>3.0.0</version>
149+
<configuration>
150+
<descriptorRefs>
151+
<descriptorRef>jar-with-dependencies</descriptorRef>
152+
</descriptorRefs>
153+
</configuration>
154+
<executions>
155+
<execution>
156+
<id>make-assembly</id>
157+
<phase>package</phase>
158+
<goals>
159+
<goal>single</goal>
160+
</goals>
161+
</execution>
162+
</executions>
163+
</plugin>
164+
</plugins>
165+
<resources>
166+
<resource>
167+
<directory>src/main/resources/env/${resource.env}</directory>
168+
</resource>
169+
<resource>
170+
<directory>src/main/resources/</directory>
171+
<includes>
172+
<include>application-*.yml</include>
173+
</includes>
174+
</resource>
175+
</resources>
176+
</build>
177+
178+
</project>

0 commit comments

Comments
 (0)