Hi All, I ran `mvn compile` on master, but it fails to build completely because it was unable to find Confluent dependencies. I added https://packages.confluent.io/maven2 in repositories in the main pom.xml and it built successfully. Just curious, how you guys are compiling? Can we add confluent maven repository to the main pom.xml file?
Here's the error that I got [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project hudi-cli: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing: [ERROR] ---------- [ERROR] 1) io.confluent:kafka-avro-serializer:jar:3.0.0 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-avro-serializer -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=io.confluent -DartifactId=kafka-avro-serializer -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.hudi:hudi-cli:jar:0.5.1-SNAPSHOT [ERROR] 2) org.apache.hudi:hudi-utilities:jar:0.5.1-SNAPSHOT [ERROR] 3) io.confluent:kafka-avro-serializer:jar:3.0.0 [ERROR] [ERROR] 2) io.confluent:common-config:jar:3.0.0 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=io.confluent -DartifactId=common-config -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=io.confluent -DartifactId=common-config -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.hudi:hudi-cli:jar:0.5.1-SNAPSHOT [ERROR] 2) org.apache.hudi:hudi-utilities:jar:0.5.1-SNAPSHOT [ERROR] 3) io.confluent:common-config:jar:3.0.0 [ERROR] [ERROR] 3) io.confluent:kafka-schema-registry-client:jar:3.0.0 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-schema-registry-client -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=io.confluent -DartifactId=kafka-schema-registry-client -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.hudi:hudi-cli:jar:0.5.1-SNAPSHOT [ERROR] 2) org.apache.hudi:hudi-utilities:jar:0.5.1-SNAPSHOT [ERROR] 3) io.confluent:kafka-schema-registry-client:jar:3.0.0 [ERROR] [ERROR] 4) io.confluent:common-utils:jar:3.0.0 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=io.confluent -DartifactId=common-utils -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=io.confluent -DartifactId=common-utils -Dversion=3.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.hudi:hudi-cli:jar:0.5.1-SNAPSHOT [ERROR] 2) org.apache.hudi:hudi-utilities:jar:0.5.1-SNAPSHOT [ERROR] 3) io.confluent:common-utils:jar:3.0.0 [ERROR] [ERROR] ---------- [ERROR] 4 required artifacts are missing. [ERROR] [ERROR] for artifact: [ERROR] org.apache.hudi:hudi-cli:jar:0.5.1-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] libs-milestone (https://repo.spring.io/libs-milestone/, releases=true, snapshots=true), [ERROR] libs-release (https://repo.spring.io/libs-release/, releases=true, snapshots=true), [ERROR] Maven Central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false), [ERROR] cloudera-repo-releases ( https://repository.cloudera.com/artifactory/public/, releases=true, snapshots=false), [ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] [ERROR] -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :hudi-cli
