Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D147510913 for ; Mon, 29 Jul 2013 17:06:40 +0000 (UTC) Received: (qmail 50501 invoked by uid 500); 29 Jul 2013 17:06:38 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 50395 invoked by uid 500); 29 Jul 2013 17:06:38 -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 50377 invoked by uid 99); 29 Jul 2013 17:06:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 17:06:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of brianf@infinity.nu) Received: from [209.85.220.51] (HELO mail-pa0-f51.google.com) (209.85.220.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 17:06:33 +0000 Received: by mail-pa0-f51.google.com with SMTP id lf11so6117515pab.10 for ; Mon, 29 Jul 2013 10:05:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=13p8qRxAEiousVu+lf8nVmJyMHWjzNYdmioln2avuhc=; b=Ibgp3QmU9MQhKMkZQB0+vnHYlWtNmXF8M6yhOpYMCxT8ted4pZ1/HLaWNSZfs95bWR CWaemHzB4xVvGSyb59Fro1CYnSDgNL2HnYtEJjQ2RfTrzk1ME2gN1eetjaiTCeTBnUSC QQGPsFPXrE90YF7xAIPMMYVa5N10dZdQusvdz+qi5XPdqZidz4CKSJA1Qq/7vS/dfvNm TzUp9iVma/gBbcf1e/w52GyDa12UGclmBUX99fykxAJb89ADDekZhExgqhTmzsJJj3IV ZWdzg6ykaQ3FZiEv8r9SPfLxjNWYyaJCxVsN30gjKHea80S29xQ0FQq6WQITRd2lRmMK UHHA== X-Received: by 10.68.170.133 with SMTP id am5mr5752232pbc.104.1375117552309; Mon, 29 Jul 2013 10:05:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.100.226 with HTTP; Mon, 29 Jul 2013 10:05:32 -0700 (PDT) In-Reply-To: <19b901ce847b$0d15f630$2741e290$@idfconnect.com> References: <19b901ce847b$0d15f630$2741e290$@idfconnect.com> From: Brian Fox Date: Mon, 29 Jul 2013 13:05:32 -0400 Message-ID: Subject: Re: bad request return code from Sonatype doing release:perform To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlGM/0V8kpbpnncO8y/pFtmh8NrkjTJec5unqJVqN7s6rySbWYVTVtqHXZZy4KbFVSdZgnU X-Virus-Checked: Checked by ClamAV on apache.org Looking at the logs, it appears that you are trying to actually stage the parent, not your project. You don't have permissions to stage the oss parent, hence the error. On Fri, Jul 19, 2013 at 8:25 AM, Richard Sand wrote: > Hi all - trying to get my first plugin released into Maven Central. The > snapshot is there, and release:prepare executed fine. > > When I run release:perform, I'm getting a 400-Bad Request error when maven > tries to download something from the Sonatype parent when I do the release. > Has anyone seen this error? Since all of the reports/site plugin ran > successfully on the snapshot, does it matter if I just disable them for the > release goal? I've got a ticket open with Sonatype but thought someone on > the list may have encountered this before. > > [INFO] <<< maven-plugin-plugin:3.2:report (report:report) @ > idfc-proguard-maven-plugin <<< > [INFO] Parent project loaded from repository: > org.sonatype.oss:oss-parent:pom:7 > Downloading: > https://oss.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/os > s/oss-parent/7/oss-parent-7-site_en.xml > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 31.175s > [INFO] Finished at: Thu Jul 18 10:16:19 EDT 2013 > [INFO] Final Memory: 31M/75M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on > project idfc-proguard-maven-plugin: SiteToolException: The site descriptor > cannot be resolved from the repository: ArtifactResolutionException: Unable > to locate site descriptor: Could not transfer artifact > org.sonatype.oss:oss-parent:xml:site_en:7 from/to oss.sonatype.org > (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Failed to > transfer file: > https://oss.sonatype.org/service/local/staging/deploy/maven2/org/sonatype/os > s/oss-parent/7/oss-parent-7-site_en.xml. Return code is: 400 , > ReasonPhrase:Bad Request. > [ERROR] org.sonatype.oss:oss-parent:xml:7 > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] oss.sonatype.org > (https://oss.sonatype.org/service/local/staging/deploy/maven2/, > releases=true, snapshots=true), > [ERROR] sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots, releases=false, > snapshots=true), > [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > [ERROR] -> [Help 1] > > > Thanks for any help! > > Best regards, > > Richard > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org