svkcemk commented on code in PR #6422:
URL: https://github.com/apache/camel-quarkus/pull/6422#discussion_r1744791956
##########
extensions-jvm/flink/runtime/pom.xml:
##########
@@ -38,18 +38,53 @@
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-flink-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-jackson</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-netty</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-flink</artifactId>
+ <exclusions>
+ <!-- replaced by camel-quarkus-flink-client -->
+ <exclusion>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-clients</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-java</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-streaming-java</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
<build>
<plugins>
- <plugin>
+ <plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-maven-plugin</artifactId>
+ <configuration>
+ <!--Flink uses Inverted Class Loading which causing issue
for the Quarkus classloading mechanism -->
+ <parentFirstArtifacts>
+
<parentFirstArtifact>org.apache.flink:flink-core</parentFirstArtifact>
+
<parentFirstArtifact>org.apache.flink:flink-rpc-core</parentFirstArtifact>
+
<parentFirstArtifact>org.apache.flink:flink-runtime</parentFirstArtifact>
+ </parentFirstArtifacts>
+ </configuration>
Review Comment:
It looks better ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]