confluentinc / kafka-connect-storage-common

Shared software among connectors that target distributed filesystems and cloud storage.
Other
5 stars 155 forks source link

Build Failure due to missing pentaho-addesigner-algorithm #252

Open akomisarek opened 2 years ago

akomisarek commented 2 years ago

Similarly to reported here the build on fresh m2 repo (after following steps in FAQ for Confluent s3) doesn't work: https://github.com/confluentinc/kafka-connect-storage-common/issues/60

[INFO] kafka-connect-storage-hive ......................... FAILURE [  6.034 s]
[INFO] kafka-connect-storage-common-htrace-core4-shaded ... SKIPPED
[INFO] kafka-connect-storage-common-avatica-shaded ........ SKIPPED
[INFO] Kafka Connect Storage Common Source's version of Apache Hadoop's third-party shaded Protobuf SKIPPED
[INFO] kafka-connect-storage-common-package ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  40.428 s
[INFO] Finished at: 2022-07-12T19:05:17+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project kafka-connect-storage-hive: Could not resolve dependencies for project io.confluent:kafka-connect-storage-hive:jar:11.1.0-SNAPSHOT: Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde in confluent (https://packages.confluent.io/maven/) -> [Help 1]

I think the Pentaho libraries are no longer available in maven central/other configured repositories, at least I couldn't find them manually...

After adding the following maven repo it works:

https://public.nexus.pentaho.org/content/groups/omni/

You can navigate and see package is there, but not in any other repositories: https://public.nexus.pentaho.org/#browse/browse:omni:org%2Fpentaho%2Fpentaho-aggdesigner-algorithm

Any idea if this could be proper fix to add this repository? It seems people are randomly getting this error, probably depending if they have those libraries installed locally or not!