Re: Absolute location of settings files help

2020-07-29 Thread John Patrick
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

Re: Absolute location of settings files help

2020-07-25 Thread Falko Modler
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

Absolute location of settings files help

2020-07-23 Thread John Patrick
>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