echauchot commented on PR #38: URL: https://github.com/apache/flink-connector-shared-utils/pull/38#issuecomment-1956394417
> I'm not sure about defaulting to the project version. 🤔 I agree, for the vast majority of the use cases (all the connectors except parent), the script will be used with `version=project_version-flink_version` ok for not defaulting to `version=project_version` > > The connector version thingy is odd enough that it may be more appropriate to force the user to either set FLINK_VERSION or FULL_VERSION. > > OR, how about we check via maven if the project contains a (non-empty) `flink.version` property, and if so use that as the condition? 🤔 I understand, as the pom will contain only the lowest flink.version supported by the connector you want to distinguish between connector-parent and regular connector release using the emptiness of flink.version in the pom but still use the user provided FLINK_VERSION to build the artifact version. This will allow the default to still be: provide a FLINK_VERSION and concat with project version. This looks good to me. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
