thanks Falko, I've been able to raise the PR to enhance a plugin now.
John
On Sat, 25 Jul 2020 at 21:37, Falko Modler wrote:
>
> Inject the MavenSession:
>
> @Parameter(defaultValue ="${session}", readonly = true)
> private MavenSession mavenSession;
>
> and then:
>
> mavenSession.getRequest
Inject the MavenSession:
@Parameter(defaultValue ="${session}", readonly = true)
private MavenSession mavenSession;
and then:
mavenSession.getRequest() -> getUserSettingsFile() or getGlobalSettingsFile()
Cheers,
Falko
Am 23.07.2020 um 13:42 schrieb John Patrick:
From within a plugin, how
>From within a plugin, how can I obtain the global settings and user settings???
Not the effective settings object, the real location of the files
being used, so what SettingsXmlConfigurationProcessor works out.
I've worked out that either MavenExecutionRequest or
SettingsBuildingRequest contain