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

[MJAVADOC-810] [REGRESSION] MJAVADOC-791 causes forked Maven execution fail if any toolchains or settings file isn't present #313

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Aug 27, 2024

As request carries the "effective" value (default or user overriden ones) but it does not mean they exist. And as invoker used, effect is same as user would use -s/-t CLI commands with non-existent files: mvn CLI failure.

@cstamas cstamas self-assigned this Aug 27, 2024
@cstamas cstamas requested a review from michael-o August 27, 2024 15:17
@michael-o
Copy link
Member

@cstamas I modified the code to respect the method contract and not to pass non-existing values.

@cstamas
Copy link
Member Author

cstamas commented Aug 27, 2024

Lgtm

@michael-o
Copy link
Member

Let's wait for IT and will create JIRA issue and merge.

asfgit pushed a commit that referenced this pull request Aug 27, 2024
…n fail if any toolchains or settings file isn't present

As request carries the "effective" value (default or user overriden
ones) but it does not mean they exist. And as invoker used,
effect is same as user would use -s/-t CLI commands with non-existent
files: mvn CLI failure.

Co-authored-by: Tamas Cservenak <tamas@cservenak.net>

This closes #313
@michael-o michael-o changed the title bug: pass these only if exists [MJAVADOC-810] [REGRESSION] MJAVADOC-791 causes forked Maven execution fail if any toolchains or settings file isn't present Aug 27, 2024
cstamas and others added 2 commits August 27, 2024 21:55
…n fail if any toolchains or settings file isn't present

As request carries the "effective" value (default or user overriden
ones) but it does not mean they exist. And as invoker used,
effect is same as user would use -s/-t CLI commands with non-existent
files: mvn CLI failure.

Co-authored-by: Michael Osipov <michaelo@apache.org>

This closes #313
@asfgit asfgit merged commit 54a7651 into master Aug 27, 2024
4 of 15 checks passed
@michael-o michael-o deleted the pass-if-exists branch August 27, 2024 20:03
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.

3 participants