apache / doris-flink-connector

Flink Connector for Apache Doris
https://doris.apache.org/
Apache License 2.0
328 stars 226 forks source link

[Bug] invalid maven metadata for 1.4.0 release #151

Open diegs opened 1 year ago

diegs commented 1 year ago

Search before asking

Version

1.4.0

What's Wrong?

The metadata on maven central is incorrect. If you look at https://search.maven.org/artifact/org.apache.doris/flink-doris-connector-1.17/1.4.0/jar the metadata file contains <revision>1.4.0-SNAPSHOT</revision> and <version>${revision}</version>.

In previous releases it appears there was <version>1.3.0</version> and no <revision> tag.

What You Expected?

<revision>1.4.0-SNAPSHOT</revision> should be 1.4.0, or there should be no <revision> tag and <version> should be set to 1.4.0.

How to Reproduce?

Add flink-doris-connector dependency to your project, per https://search.maven.org/artifact/org.apache.doris/flink-doris-connector-1.17/1.4.0/jar.

For example implementation("org.apache.doris:flink-doris-connector-1.17:1.4.0") if using gradle kotlin DSL.

The build fails because the metadata is inconsistent:

> Could not resolve org.apache.doris:flink-doris-connector-1.17:1.4.0.
         > inconsistent module metadata found. Descriptor: org.apache.doris:flink-doris-connector-1.17:1.4.0-SNAPSHOT Errors: bad version: expected='1.4.0' found='1.4.0-SNAPSHOT'

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct

Tyxuani commented 1 year ago

Same issue, hope to fixed or update 1694136515

JNSimba commented 4 months ago

The problem has been solved in versions after 1.5.2. You can try again