On Thu, Mar 17, 2011 at 2:38 PM, Michael Guymon <michael.guy...@gmail.com>wrote:
> > I created a patch so that > > > repositories.remote << { :url => 'https://a.secure.repo/maven2', :username > => 'blah', :password => 'blah' } > > will work for http basic auth. When an artifact is downloaded, the auth > information is passed to the HTTP transport. > > https://issues.apache.org/jira/browse/BUILDR-577 Excellent! Thank you! > There might be an issue with the patch, since it changes the format of > repositories.remote. Instead of just being a String, it is stored as a hash > {:url => URI} or with optional auth {:url => URI, :username => String, > :password => String}. How horrible is this for backwards compatibility? > Personally, I'm not too worried about it since it's an "opt-in" feature -- existing builds are not affected unless they use the feature. Plugins may need to be adapted to support the hash but that's usually a trivial change and I don't know of any plugin that uses repositories.remote to access URLs and such. alex