views:

13

answers:

0

We've put basic authentication on the Apache instance hosting our maven repository and now our automated build is unable to deploy (PUT) to the repository (although it can GET) giving the error:

Already tried to authenticate with 'Authentication Required' authentication realm at maven.dev.renewtek.com, but still receiving: HTTP/1.1 401 Authorization Required

This is my Apache Authentication:

<Directory /var/www/html>
  AuthType Basic
  AuthName "Authentication Required"
  AuthUserFile /var/www/.htpasswd
  Require valid-user
  Order deny,allow
</Directory>