Re: how to get current settings object

2006-08-31 Thread gredler
rather than spread > throughout other Maven code. It would be a public method so that > other components could use that. > > Cheers, > Brett > > On 31/08/2006, at 8:46 PM, gredler wrote: > >> >> Hi Brett, >> >> Thanks for the

Re: how to get current settings object

2006-08-31 Thread gredler
iter(); > w.write( settings ); > > (+ exception handling). > > That should definitely remain isolated to the settings code though so > that the location like ~/.m2 doesn't propogate out into the other > modules. > > HTH, > Brett > > On 29/08/2006, at 8:15

Re: how to get current settings object

2006-08-28 Thread gredler
ttings instance and persist a change to it. If you are able to take a couple of minutes to review the patches, please post any suggestions to the JIRA issue. This is my first Maven customizaton, so be gentle ;-) Regards, Daniel On 28 Aug 06, at 6:15 PM 28 Aug 06, gredler wrote: > > Hi, &

how to get current settings object

2006-08-28 Thread gredler
Hi, I'm working on the license clickthough functionality in the artifact resolver (http://jira.codehaus.org/browse/MNG-671), and I need to know: - what the best way of retrieving the current Settings object is - what the best way of saving changes to the Settings object is I'm hoping that I c