Skip to content

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

Merged
asfgit merged 2 commits into
masterfrom
pass-if-exists
Aug 27, 2024
Merged

asfgit merged 2 commits into
masterfrom
pass-if-exists

Conversation

@cstamas

@cstamas cstamas commented Aug 27, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

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

@cstamas

cstamas commented Aug 27, 2024

Copy link
Copy Markdown
Member Author

Lgtm

@michael-o

Copy link
Copy Markdown
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
@michael-o
michael-o deleted the pass-if-exists branch August 27, 2024 20:03
@jira-importer

Copy link
Copy Markdown

Resolve #1187

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.

4 participants