Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 of 3 tasks
dsanww opened this issue Sep 19, 2024 · 3 comments
Closed
2 of 3 tasks

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

dsanww opened this issue Sep 19, 2024 · 3 comments
Assignees
Labels
FAQ Frequently Asked Questions

Comments

@dsanww
Copy link

dsanww commented Sep 19, 2024

Search before asking

  • 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 dsanww added Bug Something isn't working Waiting for reply Waiting for reply labels Sep 19, 2024
Copy link

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。如有任何问题,可以评论回复。

@Zzm0809
Copy link
Contributor

Zzm0809 commented Sep 24, 2024

-P prod 而不是 -Pprod

Copy link

github-actions bot commented Nov 1, 2024

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 github-actions bot added the Invalid Invalid label Nov 1, 2024
@Zzm0809 Zzm0809 added FAQ Frequently Asked Questions and removed Bug Something isn't working Invalid Invalid Waiting for reply Waiting for reply labels Nov 6, 2024
@Zzm0809 Zzm0809 closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently Asked Questions
Projects
None yet
Development

No branches or pull requests

4 participants