Skip to content

Commit 4c42a9e

Browse files
authored
[CYB-210] Fixed build problem. (#77)
1 parent c7c2b23 commit 4c42a9e

File tree

11 files changed

+11968
-56
lines changed

11 files changed

+11968
-56
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
restore-keys: |
2929
${{ runner.os }}-maven-
3030
- name: Build and Test with Maven
31-
run: mvn -P '!add-depebdencies-for-IDEA,!full-build,!include-front-end' -B package --file flink-cyber/pom.xml
31+
run: mvn -P '!add-dependencies-for-IDEA,!full-build,!include-front-end' -B package --file flink-cyber/pom.xml
3232

3333
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3434
- name: Update dependency graph

flink-cyber/cyber-services/cyber-service-common/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
<artifactId>lombok</artifactId>
1919
<optional>true</optional>
2020
</dependency>
21+
<dependency>
22+
<groupId>org.apache.flink</groupId>
23+
<artifactId>flink-core</artifactId>
24+
<version>${flink.version}</version>
25+
<scope>provided</scope>
26+
</dependency>
2127
<dependency>
2228
<groupId>org.apache.commons</groupId>
2329
<artifactId>commons-lang3</artifactId>

flink-cyber/cyber-services/cyber-worker-service/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,12 @@
6161
<artifactId>lombok</artifactId>
6262
<optional>true</optional>
6363
</dependency>
64-
64+
<dependency>
65+
<groupId>org.apache.flink</groupId>
66+
<artifactId>flink-core</artifactId>
67+
<version>${flink.version}</version>
68+
<scope>provided</scope>
69+
</dependency>
6570
</dependencies>
6671

6772
<build>

flink-cyber/flink-commands/json-commands/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<dependency>
3737
<groupId>junit</groupId>
3838
<artifactId>junit</artifactId>
39+
<scope>test</scope>
3940
</dependency>
4041

4142
<dependency>
@@ -69,6 +70,16 @@
6970
<version>${log4j.version}</version>
7071
<scope>provided</scope>
7172
</dependency>
73+
<dependency>
74+
<groupId>com.google.guava</groupId>
75+
<artifactId>guava</artifactId>
76+
<version>${guava.version}</version>
77+
</dependency>
78+
<dependency>
79+
<groupId>com.fasterxml.jackson.core</groupId>
80+
<artifactId>jackson-databind</artifactId>
81+
<version>${jackson.version}</version>
82+
</dependency>
7283
</dependencies>
7384

7485
<build>

flink-cyber/flink-profiler/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@
3232
<groupId>org.apache.flink</groupId>
3333
<artifactId>flink-table-common</artifactId>
3434
<version>${flink.version}</version>
35-
<scope>compile</scope>
35+
<scope>provided</scope>
36+
</dependency>
37+
<dependency>
38+
<groupId>com.google.guava</groupId>
39+
<artifactId>guava</artifactId>
40+
<version>${guava.version}</version>
3641
</dependency>
3742
<dependency>
3843
<groupId>com.fasterxml.jackson.core</groupId>
@@ -46,6 +51,7 @@
4651
<dependency>
4752
<groupId>org.apache.flink</groupId>
4853
<artifactId>flink-avro</artifactId>
54+
<scope>provided</scope>
4955
</dependency>
5056
<dependency>
5157
<groupId>org.assertj</groupId>

0 commit comments

Comments
 (0)