dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[Bug] [admin] Build UDF project to specify multi-parameter error

Open dsanww opened this issue 1 year ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

image When building a udf project, specifying only -Pprod is fine, but the build reports an error when the parameter specifies more than one parameter

maven build error log: 2024-09-19 10:25:22.773 - [WARNING] The requested profile "prod -pl flink-udf -am" clean package" could not be activated because it does not exist. 2024-09-19 10:25:22.773 - [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] 2024-09-19 10:25:22.773 - [ERROR] 2024-09-19 10:25:22.773 - [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 2024-09-19 10:25:22.773 - [ERROR] Re-run Maven using the -X switch to enable full debug logging. 2024-09-19 10:25:22.773 - [ERROR] 2024-09-19 10:25:22.773 - [ERROR] For more information about the errors and possible solutions, please read the following articles: 2024-09-19 10:25:22.773 - [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException POM file "/opt/bigdata/dinky/dinky-release-1.18-1.2.0-SNAPSHOT/tmp/git_build/bsd-flink-udf/flink1.18" specified with the -f/--file command line argument does not exist

What you expected to happen

no error

How to reproduce

Parameter input at build time: -Pprod -pl flink-udf -am

Anything else

No response

Version

dev

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

dsanww avatar Sep 19 '24 02:09 dsanww

Hello @dsanww, this issue is about UDF, so I assign it to @gaoyan1998 and @zackyoungh. If you have any questions, you can comment and reply.

你好 @dsanww, 这个 issue 是关于 UDF 的,所以我把它分配给了 @gaoyan1998 和 @zackyoungh。如有任何问题,可以评论回复。

github-actions[bot] avatar Sep 19 '24 02:09 github-actions[bot]

-P prod 而不是 -Pprod

Zzm0809 avatar Sep 24 '24 10:09 Zzm0809

Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.

你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。

github-actions[bot] avatar Nov 01 '24 00:11 github-actions[bot]