Skip to content

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

Resolve #1187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants