-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on-resolvable parent POM for io.confluent:kafka-connect-storage-common-parent:6.0.0? #130
Comments
@Adeljoo Did you read the FAQ? https://github.com/confluentinc/kafka-connect-storage-common/wiki/FAQ |
I have followed this instruction and was able to have maven clean without any error in Eclipse, Build success. But When I do other build lifecycles like Maven build then specify a goal as clean or validate then I get the following error:
|
I don't use Eclipse. I just build in the terminal directly.
Do you really need to build the master branch, though? |
Not really, I need to extend the partitioner. I assume one of the releases also works, am I right? also, this sentence is a bit difficult for me to understand. Should I perform all the previous steps in the folder where I download the master branch? Next question, for the other branches, I do not need to add the dependencies? I just run in the termininal and it will work magiclly? |
You don't need to build this project to create your own partitioner. Add this to your Maven project <dependency>
<group>io.confluent</group>
<artifactId>kafka-connect-storage-partitioner</artifactId>
<verison>5.4.1</version>
</dependency> Then you can have |
You can also download the JARs here - https://mvnrepository.com/artifact/io.confluent/kafka-connect-storage-partitioner?repo=confluent-packages |
Thank you. I added the jar file to the build path but still get this error Here is my pom
|
Missing from ... Maven Central? Right... Confluent has their own repo https://stackoverflow.com/questions/43488853/confluent-maven-repository-not-working |
Greate. I will post the pom that I use, may someone have the same issue. Here is the final pom:
|
I was able to add a custom partitioner. |
Fantastic. Feel free to close the issue @Adeljoo |
I imported the code into eclipse as a maven project and I got the following error for all the projects. Any thoughts of how to solve this?
Is there a way to run this in the eclipse or I have to run it via terminal?
`Project build error: Non-resolvable parent POM for io.confluent:kafka-connect-storage-common-parent:6.0.0-
SNAPSHOT: Failure to transfer io.confluent:common:pom:6.0.0-SNAPSHOT from ${confluent.maven.repo} was cached in
the local repository, resolution will not be reattempted until the update interval of confluent has elapsed or updates are
forced. Original error: Could not transfer artifact io.confluent:common:pom:6.0.0-SNAPSHOT from/to confluent ($
{confluent.maven.repo}): Cannot access ${confluent.maven.repo} with type default using the available connector
factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory and 'parent.relativePath' points at
wrong local POM'
The text was updated successfully, but these errors were encountered: