Hi there,
I have a maven dependency: org.apache.flink:flink-shaded-hadoop-2-uber:2.8.3-10.0 that defines it version as: ${hadoop.version}-10.0
and property hadoop.version
lives in parent pom. Surprisingly hadoop.version
value is 2.4.1 instead of 2.8.3. This results an error:
> Could not resolve org.apache.flink:flink-shaded-hadoop-2:2.8.3-10.0.
Required by:
project :cleverdata-dmpkit-customerjourney-hdfs-sink-job-impl_2.11
> Could not resolve org.apache.flink:flink-shaded-hadoop-2:2.8.3-10.0.
> inconsistent module metadata found. Descriptor: org.apache.flink:flink-shaded-hadoop-2:2.4.1-10.0 Errors: bad version: expected='2.8.3-10.0' found='2.4.1-10.0'
> Could not resolve org.apache.flink:flink-shaded-hadoop-2:2.8.3-10.0.
> inconsistent module metadata found. Descriptor: org.apache.flink:flink-shaded-hadoop-2:2.4.1-10.0 Errors: bad version: expected='2.8.3-10.0' found='2.4.1-10.0'
How can I leverage gradle to override hadoop.version property to 2.8.3? Or may be there is another way I can make this dependency properly resolve?
Thanks forward!