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

[MNG-8302] Warn when appropriate #1810

Merged
merged 6 commits into from
Oct 17, 2024
Merged

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Oct 16, 2024

First, rootDirectory is nullable, CLIng code was not assuming this, fixed.
Second, emit the "no root found" warning ONLY when appropriate (when we have a POM in picture).


https://issues.apache.org/jira/browse/MNG-8302

rootDirectory is nullable, CLIng code was not assuming
this.

Also, emit "no root found" warning ONLY when appropriate.
@cstamas cstamas self-assigned this Oct 16, 2024
@cstamas cstamas marked this pull request as ready for review October 16, 2024 15:58
@cstamas cstamas changed the title Warn when appropriate [MNG-8302] Warn when appropriate Oct 16, 2024
@cstamas cstamas added this to the 4.0.0-beta-5 milestone Oct 16, 2024
@cstamas cstamas requested a review from gnodet October 16, 2024 16:39
@gnodet
Copy link
Contributor

gnodet commented Oct 16, 2024

Should we create an IT to check the various use cases ?

@cstamas cstamas merged commit 95e59f2 into apache:master Oct 17, 2024
13 checks passed
@cstamas cstamas deleted the warn-when-appropriate branch October 17, 2024 08:06
@cstamas
Copy link
Member Author

cstamas commented Oct 17, 2024

Should we create an IT to check the various use cases ?

We could, but this is really minimal impact and more "user experience", nothing biggie IMO.

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

Successfully merging this pull request may close these issues.

2 participants