Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 14803 invoked from network); 30 Aug 2007 16:13:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 16:13:03 -0000 Received: (qmail 48844 invoked by uid 500); 30 Aug 2007 16:12:42 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 48799 invoked by uid 500); 30 Aug 2007 16:12:42 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 48788 invoked by uid 99); 30 Aug 2007 16:12:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 09:12:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [62.231.51.147] (HELO mail.puca.ie) (62.231.51.147) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 16:12:37 +0000 X-Virus-Scanned: amavisd-new at puca.com Message-ID: <46D6EC5D.8090506@puca.com> Date: Thu, 30 Aug 2007 17:12:13 +0100 From: Craig Ryan MIME-Version: 1.0 To: users@maven.apache.org Subject: ant tasks webdav authentication Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Here is an Ant build.xml snippet using maven tasks: the above works fine, and does a PUT of my jar into my company maven2 repo. The following however does not work. Note: this time I don't specify username:password in the repository URL, instead I use an tag. The authentication tag seems to be ignored this time, no auth headers are sent and the PUT fails with a 401. Can someone please explain why this doesn't work? The above example is highly simplified, in my build system I'd prefer to user authentication tags instead of embedding auth data in the repository url if possible, and also I'm basically curious ;-) thanks, craig. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org