kafka-connect-storage-common
kafka-connect-storage-common copied to clipboard
Please don't use project.version for dependencies in parent pom
doing things like:
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-connect-avro-converter</artifactId>
<version>${project.version}</version>
</dependency>
can lead to really weird errors in projects that declare kafka-connect-storage-common-parent as the parent in the pom.
because project.version gets resolved to the version of the child project. for example i was working on my own version of kafka-connect-hdfs, so i changed the version in the pom, a reasonable enough thing to do, and suddenly it tried to download a whole buch of dependencies with the version specified by me, which makes no sense and will fail.