Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8C4D9703 for ; Thu, 27 Oct 2011 10:55:04 +0000 (UTC) Received: (qmail 75080 invoked by uid 500); 27 Oct 2011 10:55:04 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 75011 invoked by uid 500); 27 Oct 2011 10:55:04 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 75003 invoked by uid 99); 27 Oct 2011 10:55:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 10:55:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simone.tripodi@gmail.com designates 209.85.160.171 as permitted sender) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 10:54:58 +0000 Received: by gyg13 with SMTP id 13so4062875gyg.30 for ; Thu, 27 Oct 2011 03:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Jvsg7EcF/mPWsGyi8WVn3Qs7YLoUQxPjXTAAsE387l4=; b=bmuseFuHD3mxWfRyZtWfkTjV/Xwqf8lDiiY6SSnqod2QyK6T773vVkJZ3LOyo3M6+/ R8C2g1lqCPIhLY5fJRDoUUAl++k7/SEiMGMUnQkvrqngJjb45rc19iPceWhlGrkrvqmq yHuWxctwJea0ixeYtb+3qWl2JKJkzEMc4qvS0= MIME-Version: 1.0 Received: by 10.150.218.11 with SMTP id q11mr31838805ybg.105.1319712877347; Thu, 27 Oct 2011 03:54:37 -0700 (PDT) Sender: simone.tripodi@gmail.com Received: by 10.150.51.15 with HTTP; Thu, 27 Oct 2011 03:54:37 -0700 (PDT) In-Reply-To: <4EA9374A.5010900@sandglass-software.com> References: <4EA8D117.3080902@sandglass-software.com> <4EA93259.7030305@sandglass-software.com> <4EA9374A.5010900@sandglass-software.com> Date: Thu, 27 Oct 2011 12:54:37 +0200 X-Google-Sender-Auth: eVtUmavJCp2kA-gEJorTyOxgt40 Message-ID: Subject: Re: [SANDBOX] Problem with mvn deploy From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org ouch, that's such a shame ;( poor-man question: did you add the servers in the settings.xml file? apache.snapshots.https {encryptedpassword} apache.releases.https {encryptedpassword} http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Thu, Oct 27, 2011 at 12:49 PM, Adrian Crum wrote: > Thanks Simone! I tried the encryption again - same error. > > -Adrian > > On 10/27/2011 11:36 AM, Simone Tripodi wrote: >> >> Hi Adrian! >> for what I can see looks like you maybe misconfigured the credentials >> to access to apache.snapshots.https server in settings.xml because >> Nexus doesn't authorize you :( >> I suggest you checking the `Preparations for using Nexus` again and >> pay attention on encrypting your ASF password. >> HTH, let me know if you need more info! >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://simonetripodi.livejournal.com/ >> http://twitter.com/simonetripodi >> http://www.99soft.org/ >> >> >> >> On Thu, Oct 27, 2011 at 12:28 PM, Adrian Crum >> =C2=A0wrote: >>> >>> Thanks Simone! I created the settings.xml file and security-settings.xm= l >>> file in my .m2 folder as described on the websites, but I still get the >>> same >>> error. Are there any configuration xml file examples somewhere that I c= an >>> copy and modify for use with Commons? >>> >>> -Adrian >>> >>> On 10/27/2011 7:23 AM, Simone Tripodi wrote: >>>> >>>> Hi Adrian! >>>> for what I can see you just need some missing config in your >>>> settings.xml, take a look ate the wiki page[1] how to configure Maven >>>> to deploy artifacts on Nexus - it is valid for SNAPSHOTS as well. >>>> HTH, please let me know if you need more help! >>>> All the best, >>>> Simo >>>> >>>> [1] http://wiki.apache.org/commons/UsingNexus >>>> >>>> http://people.apache.org/~simonetripodi/ >>>> http://simonetripodi.livejournal.com/ >>>> http://twitter.com/simonetripodi >>>> http://www.99soft.org/ >>>> >>>> >>>> >>>> On Thu, Oct 27, 2011 at 5:33 AM, Adrian Crum >>>> =C2=A0 =C2=A0wrote: >>>>> >>>>> When I try to deploy the Commons Sandbox Convert project, I get the >>>>> following error: >>>>> >>>>> [INFO] [deploy:deploy {execution: default-deploy}] >>>>> [INFO] Retrieving previous build number from apache.snapshots.https >>>>> [INFO] repository metadata for: 'snapshot >>>>> org.apache.commons:commons-convert:1.0 >>>>> -SNAPSHOT' could not be found on repository: apache.snapshots.https, = so >>>>> will >>>>> be >>>>> created >>>>> Uploading: >>>>> https://repository.apache.org/content/repositories/snapshots/org/apac >>>>> >>>>> >>>>> he/commons/commons-convert/1.0-SNAPSHOT/commons-convert-1.0-20111027.= 032634-1.jar >>>>> [INFO] >>>>> >>>>> ---------------------------------------------------------------------= --- >>>>> [ERROR] BUILD ERROR >>>>> [INFO] >>>>> >>>>> ---------------------------------------------------------------------= --- >>>>> [INFO] Error deploying artifact: Failed to transfer file: >>>>> https://repository.apa >>>>> >>>>> >>>>> che.org/content/repositories/snapshots/org/apache/commons/commons-con= vert/1.0-SN >>>>> APSHOT/commons-convert-1.0-20111027.032634-1.jar. Return code is: 401 >>>>> >>>>> Any help would be appreciated. >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>>>> For additional commands, e-mail: dev-help@commons.apache.org >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>>> For additional commands, e-mail: dev-help@commons.apache.org >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> For additional commands, e-mail: dev-help@commons.apache.org >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org