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

Empty output for help:evaluate #1026

Open
wendigo opened this issue Jun 17, 2024 · 4 comments
Open

Empty output for help:evaluate #1026

wendigo opened this issue Jun 17, 2024 · 4 comments

Comments

@wendigo
Copy link

wendigo commented Jun 17, 2024

This returns nothing:

mvnd --quiet help:evaluate -Dexpression=project.version -DforceStdout

This returns a version:

./mvnw --quiet help:evaluate -Dexpression='project.version' -DforceStdout
450-SNAPSHOT%

I think that issue could be a fact that echo is not new-line terminated.

@wendigo
Copy link
Author

wendigo commented Jun 17, 2024

When the output is redirected to file -Doutput=./file file is populated correctly so I think that this is a new line thingy

@gnodet
Copy link
Contributor

gnodet commented Jun 17, 2024

I guess this is on 1.0.0 ?

@wendigo
Copy link
Author

wendigo commented Jun 17, 2024

Yep, 1.0.0. It works with --raw-streams as a workaround

@gnodet
Copy link
Contributor

gnodet commented Jun 17, 2024

Duplicates #904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants