apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://gravitino.apache.org
Apache License 2.0
959 stars 302 forks source link

[Bug report] Can find pom file `flink-connector-hive_2.13-1.18.0.pom` when setting scala version to 2.13 #4298

Closed yuqi1129 closed 2 months ago

yuqi1129 commented 2 months ago

Version

main branch

Describe what's wrong

When running gradle publishToMavenLocal -PdefaultScalaVersion=2.13, we will meet the following error

image

Error message and/or stacktrace

* What went wrong:
Execution failed for task ':flink-connector:compileJava'.
> Could not resolve all files for configuration ':flink-connector:compileClasspath'.
   > Could not find org.apache.flink:flink-connector-hive_2.13:1.18.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-hive_2.13/1.18.0/flink-connector-hive_2.13-1.18.0.pom
       - file:/Users/yuqi/.m2/repository/org/apache/flink/flink-connector-hive_2.13/1.18.0/flink-connector-hive_2.13-1.18.0.pom
     Required by:
         project :flink-connector

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 52s
81 actionable tasks: 33 executed, 48 up-to-date

How to reproduce

Please see above.

Additional context

No response

FANNG1 commented 2 months ago

@coolderli do you have time to check this?

FANNG1 commented 2 months ago

@coolderli could you comment then I could assign this to you.

coolderli commented 2 months ago

fixed by https://github.com/apache/gravitino/pull/4302