Skip to content

Commit

Permalink
[Fix]: class not found for clickhouse and httpclient5 package #127
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradJam committed Jun 19, 2024
1 parent 7346c14 commit 0f793fc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions flink-connector-clickhouse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,29 @@ limitations under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.clickhouse:clickhouse-jdbc</include>
<include>org.apache.httpcomponents.client5:httpclient5</include>
<include>org.apache.httpcomponents.core5:httpcore5</include>
<include>org.apache.httpcomponents.core5:httpcore5-h2</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 0f793fc

Please sign in to comment.