Skip to content

Commit b535280

Browse files
libailinlihongwei
authored andcommitted
[hotfix-820][binlog] Fixed Canal Parse Exception
1 parent 0c1b1d4 commit b535280

1 file changed

Lines changed: 24 additions & 12 deletions

File tree

  • flinkx-connectors/flinkx-connector-binlog

flinkx-connectors/flinkx-connector-binlog/pom.xml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,23 @@
135135
<version>${flink.version}</version>
136136
<scope>provided</scope>
137137
</dependency>
138+
139+
<dependency>
140+
<groupId>com.google.guava</groupId>
141+
<artifactId>guava</artifactId>
142+
<version>${guava.version}</version>
143+
</dependency>
144+
138145
</dependencies>
139146

140147
<build>
141148
<plugins>
149+
150+
<plugin>
151+
<groupId>org.apache.maven.plugins</groupId>
152+
<artifactId>maven-compiler-plugin</artifactId>
153+
</plugin>
154+
142155
<plugin>
143156
<groupId>org.apache.maven.plugins</groupId>
144157
<artifactId>maven-shade-plugin</artifactId>
@@ -151,18 +164,17 @@
151164
</goals>
152165
<configuration>
153166
<createDependencyReducedPom>false</createDependencyReducedPom>
154-
<filters>
155-
<filter>
156-
<artifact>*:*</artifact>
157-
<excludes>
158-
<exclude>support/**</exclude>
159-
<exclude>tpcds/**</exclude>
160-
<exclude>tpch/**</exclude>
161-
<exclude>ddl/**</exclude>
162-
<exclude>google/**</exclude>
163-
</excludes>
164-
</filter>
165-
</filters>
167+
<artifactSet>
168+
<includes>
169+
<include>*:*</include>
170+
</includes>
171+
</artifactSet>
172+
<relocations>
173+
<relocation>
174+
<pattern>com.google.common</pattern>
175+
<shadedPattern>shade.core.com.google.common</shadedPattern>
176+
</relocation>
177+
</relocations>
166178
</configuration>
167179
</execution>
168180
</executions>

0 commit comments

Comments
 (0)