confluentinc / ksql

The database purpose-built for stream processing applications.
https://ksqldb.io
Other
127 stars 1.04k forks source link

Compile from master for PR #6604

Open k1th opened 4 years ago

k1th commented 4 years ago

Trying to get a PR going for a UDF to be included.

Provide details of the setup you're running forked ksql master cloned forked master. setup checkstyle etc etc etc.

cloned and installed into local maven: confluentinc/kafka at revision chore: Set project version and resolve dependencies. 6.2.0-41-ccs 1146649e7c Confluent Jenkins Bot jenkins@confluent.io 11. Nov 2020 at 19:00

cloned and installed into local maven: confluentinc/common at revision chore: Set project version and resolve dependencies. 6.2.0-111 3ce227c3 Confluent Jenkins Bot jenkins@confluent.io 11. Nov 2020 at 19:26

Otherwise confluent common wouldn't build.

Outline your question Now trying to build ksql. This errors with:

[INFO] Reactor Summary for ksqldb-parent 6.2.0-0:
[INFO] 
[INFO] ksqldb-parent ...................................... SUCCESS [  3.059 s]
[INFO] ksqldb-test-util ................................... SUCCESS [  9.368 s]
[INFO] ksqldb-udf ......................................... SUCCESS [  6.345 s]
[INFO] ksqldb-common ...................................... FAILURE [  0.096 s]
[INFO] ksqlDB UDF / UDAF :: Quickstart .................... SKIPPED
[INFO] ksqldb-serde ....................................... SKIPPED
[INFO] ksqldb-engine-common ............................... SKIPPED
[INFO] ksqldb-rest-model .................................. SKIPPED
[INFO] ksqldb-execution ................................... SKIPPED
[INFO] ksqldb-metastore ................................... SKIPPED
[INFO] ksqldb-parser ...................................... SKIPPED
[INFO] ksqldb-streams ..................................... SKIPPED
[INFO] ksqldb-engine ...................................... SKIPPED
[INFO] ksqldb-tools ....................................... SKIPPED
[INFO] ksqldb-rest-client ................................. SKIPPED
[INFO] ksqldb-version-metrics-client ...................... SKIPPED
[INFO] ksqldb-rest-app .................................... SKIPPED
[INFO] ksqldb-cli ......................................... SKIPPED
[INFO] ksqldb-examples .................................... SKIPPED
[INFO] ksqldb-console-scripts ............................. SKIPPED
[INFO] ksqldb-etc ......................................... SKIPPED
[INFO] ksqldb-functional-tests ............................ SKIPPED
[INFO] ksqldb-package ..................................... SKIPPED
[INFO] ksqldb-benchmark ................................... SKIPPED
[INFO] ksqlDB RocksDB Config Setter ....................... SKIPPED
[INFO] ksqldb-docker ...................................... SKIPPED
[INFO] ksqldb-api-reactive-streams-tck .................... SKIPPED
[INFO] ksqldb-api-client .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.380 s
[INFO] Finished at: 2020-11-12T22:35:39+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ksqldb-common: Could not resolve dependencies for project io.confluent.ksql:ksqldb-common:jar:6.2.0-0: Failed to collect dependencies at io.confluent:kafka-connect-avro-converter:jar:[6.2.0-0,6.2.1-0): No versions available for io.confluent:kafka-connect-avro-converter:jar:[6.2.0-0,6.2.1-0) within specified range -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ksqldb-common

What should I do to clean up the deps here?

Thanks, chris

k1th commented 4 years ago

Solution seems to be to clone master from

My suggestion would be to: