echauchot commented on code in PR #38:
URL: 
https://github.com/apache/flink-connector-shared-utils/pull/38#discussion_r1499410517


##########
_utils.sh:
##########
@@ -68,4 +68,15 @@ function set_pom_version {
   new_version=$1
 
   ${MVN} org.codehaus.mojo:versions-maven-plugin:2.8.1:set 
-DnewVersion=${new_version} -DgenerateBackupPoms=false --quiet
+}
+
+function is_flink_version_set_in_pom {
+  set +u
+  version=$(${MVN} help:evaluate -Dexpression="flink.version" -q -DforceStdout)
+  if [ -n "${version}" ]; then

Review Comment:
   Pushed an improvement of is_flink_version_set_in_pom function for undefined 
flink.version case. PTAL



-- 
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]

Reply via email to