kafka-connect-transform-xml icon indicating copy to clipboard operation
kafka-connect-transform-xml copied to clipboard

Unable to compile project

Open markholsterachmea opened this issue 3 years ago • 6 comments
trafficstars

Hi,

I'm trying to compile the project (master branch) but are unable to do so. With a fresh maven installation the error says [ERROR] Failed to execute goal on project kafka-connect-transform-xml: Could not resolve dependencies for project com.github.jcustenborder.kafka.connect:kafka-connect-transform-xml:jar:0.1.0-SNAPSHOT: Failed to collect dependencies at org.apache.kafka:connect-api:jar:2.2.1-cp1: Failed to read artifact descriptor for org.apache.kafka:connect-api:jar:2.2.1-cp1: Could not transfer artifact org.apache.kafka:connect-api:pom:2.2.1-cp1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [confluent (http://packages.confluent.io/maven/, default, releases+snapshots)] -> [Help 1]

This seems to be caused by an old parent pom. I've tried several newer versions without success. I assume the way forward is to pick the latest version, so I tried to get that one to work. The XSDCompiler seems to have a dependency on guava 24+ but the project has version 18.0 attached. After fixing the code some testcases fail. I'm unsure if this is due to my code change, or if the testcases didn't run in the first place. Skipping the testcases results in a failed javadoc plugin.

I'm willing to create a PR and try to fix those issues, but need some help to make sure i'm running into the right direction. Any advice would be appreciated.

markholsterachmea avatar Jul 11 '22 07:07 markholsterachmea

have you succeded?

alonahmias avatar Nov 30 '22 11:11 alonahmias

Not given it any further try. It's not just a simple fix, and without a comment of a project lead to push me in the right direction it is not worth the time for me right now.

markholsterachmea avatar Nov 30 '22 11:11 markholsterachmea

now that the project is also gone on the confluent hub, and this error still present, how do we get it to work again ?

SiLiem avatar Apr 14 '23 03:04 SiLiem

I've written a new transformer from scratch. Can't share the code right now (working on it) but of course I could push you in the right direction to write your own as well.

markholsterachmea avatar Apr 17 '23 06:04 markholsterachmea

running into the same issue

tomvanoppens avatar May 11 '23 19:05 tomvanoppens

thank you in advance if you have any information to share with us. I have been trying to get it to work with Oracle CDC Source connector but older versions doesn't seem to work properly, it always end up with the "STRUCT is not a supported type". So i'm facing a wall at the moment.

SiLiem avatar May 16 '23 02:05 SiLiem