Skip to content

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

@jira-importer

Description

@jira-importer

Michael Osipov opened MJAVADOC-810 and commented

When JavadocUtil invokes another Maven process (fork()) it passes global/user toolchains/settings file path from MavenSession. Those values are always populated -- if not explciitly provided they will contain the default value, but there is no guarantee that the default value exist. We need to check the value whether it exists and only pass it on if it exists.


Affects: 3.8.0, 3.10.0

Issue Links:

  • MJAVADOC-791 maven-javadoc-plugin not working correctly together with maven-toolchains-plugin
    ("is caused by")

Remote Links:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions