Repository: buildr
Updated Branches:
  refs/heads/master 95936baa5 -> 131dfe603


Add alternative repository path to the documentation


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/131dfe60
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/131dfe60
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/131dfe60

Branch: refs/heads/master
Commit: 131dfe603278f739716c52c93a9b1fe527d3b7ff
Parents: 95936ba
Author: Antoine Toulme <[email protected]>
Authored: Mon May 2 21:56:02 2016 -0700
Committer: Antoine Toulme <[email protected]>
Committed: Mon May 2 21:56:02 2016 -0700

----------------------------------------------------------------------
 doc/artifacts.textile | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/131dfe60/doc/artifacts.textile
----------------------------------------------------------------------
diff --git a/doc/artifacts.textile b/doc/artifacts.textile
index 4d569bf..5303e60 100644
--- a/doc/artifacts.textile
+++ b/doc/artifacts.textile
@@ -108,6 +108,12 @@ If your repository requires HTTP authentication, you can 
write,
 repositories.remote << URI.parse("http://user:[email protected]";)
 {% endhighlight %}
 
+or
+
+{% highlight ruby %}
+repositories.remote << { :url => "http://repository.example.com";, :user => 
"user", :pass => "password" }
+{% endhighlight %}
+
 If you need to use a proxy server to access remote repositories, you can set 
the environment variable @HTTP_PROXY@ to the proxy server URL (use 
@HTTPS_PROXY@ for proxying HTTPS connections).  You can also work without a 
proxy for certain hosts by specifying the @NO_PROXY@ environment variable.  For 
example:
 
 {% highlight sh %}

Reply via email to