This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit ce7a205dfcb757300359821e1682eeebe37f2ad4 Author: Christofer Dutz <[email protected]> AuthorDate: Sun Oct 15 14:46:25 2023 +0200 fix: Made the project buildable on Java 21 (by excluding the Kafka-Connect integration) fixes: #1150 --- plc4j/integrations/apache-kafka/pom.xml | 16 ---------------- plc4j/integrations/pom.xml | 14 +++++++++++++- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/plc4j/integrations/apache-kafka/pom.xml b/plc4j/integrations/apache-kafka/pom.xml index cd73e0bcab..366581488a 100644 --- a/plc4j/integrations/apache-kafka/pom.xml +++ b/plc4j/integrations/apache-kafka/pom.xml @@ -36,22 +36,6 @@ <kafka.connect.maven.plugin.version>0.12.0</kafka.connect.maven.plugin.version> </properties> - <repositories> - <repository> - <id>confluent</id> - <name>Confluent</name> - <url>https://packages.confluent.io/maven/</url> - </repository> - </repositories> - - <pluginRepositories> - <pluginRepository> - <id>confluent</id> - <name>Confluent</name> - <url>https://packages.confluent.io/maven/</url> - </pluginRepository> - </pluginRepositories> - <!-- Build a fat jar so the user only needs to drop in this one jar --> <build> <plugins> diff --git a/plc4j/integrations/pom.xml b/plc4j/integrations/pom.xml index 231d7bb4c0..0bca3c9a02 100644 --- a/plc4j/integrations/pom.xml +++ b/plc4j/integrations/pom.xml @@ -35,9 +35,21 @@ <modules> <module>apache-calcite</module> - <module>apache-kafka</module> <module>apache-nifi</module> <module>opcua-server</module> </modules> + <!-- It seems that the Kafka-Connect plugin doesn't work with Java 21 --> + <profiles> + <profile> + <id>.below-java-21</id> + <activation> + <jdk>[1.8,21)</jdk> + </activation> + <modules> + <module>apache-kafka</module> + </modules> + </profile> + </profiles> + </project>
