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 BDED8CB3A for ; Mon, 29 Jul 2013 11:24:08 +0000 (UTC) Received: (qmail 92787 invoked by uid 500); 29 Jul 2013 11:24:05 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 92669 invoked by uid 500); 29 Jul 2013 11:24:01 -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 92638 invoked by uid 99); 29 Jul 2013 11:23:58 -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 11:23:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aliaksei.lahachou@gmail.com designates 209.85.220.49 as permitted sender) Received: from [209.85.220.49] (HELO mail-pa0-f49.google.com) (209.85.220.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 11:23:54 +0000 Received: by mail-pa0-f49.google.com with SMTP id bi5so5694010pad.8 for ; Mon, 29 Jul 2013 04:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sYUzNVOtIcWwIOrc12BSwb0iFwHuEbnkaetDQJ2ZxRw=; b=DguAdrWwt5REJqGA3gSucKXL9iaAcRE3lne764RQxberpVC9pDzq8k++ydcLJxLdEL GG/EMveLUl/y9iYzvlXzFW33C97HzGfWhpO5KWh6iqHgEFckKlP/rsLe1JCOKIZIOiTx zWXrfL/JldcN6NDJBTW1KunRvX4Kj+wZrlaNw202kRNmpPy4NCYt6/0LUHnjq7/TuruL FymN+oCRhlgSC9zMqWzZJ5aXtFA1byPjzYZRITlpb1mnrHrgUs6kL2PiAMPhipekVN/j 5TWERm3IH7HURNybwTR8WYL4DTYGD9r9ExzZINKmjHjarrv9nAfB5udWeD1+1UWQDoaq 2dQw== MIME-Version: 1.0 X-Received: by 10.68.110.165 with SMTP id ib5mr341839pbb.196.1375097014626; Mon, 29 Jul 2013 04:23:34 -0700 (PDT) Received: by 10.70.131.71 with HTTP; Mon, 29 Jul 2013 04:23:34 -0700 (PDT) In-Reply-To: <19b901ce847b$0d15f630$2741e290$@idfconnect.com> References: <19b901ce847b$0d15f630$2741e290$@idfconnect.com> Date: Mon, 29 Jul 2013 13:23:34 +0200 Message-ID: Subject: Re: bad request return code from Sonatype doing release:perform From: Aliaksei Lahachou To: Maven Users List Content-Type: multipart/alternative; boundary=047d7b6769b616b17e04e2a4b977 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6769b616b17e04e2a4b977 Content-Type: text/plain; charset=ISO-8859-1 Hi, I don't know if this is your case. You may receive bad request, if you deploy release version of artifact to Nexus, but this version already exists in the target repository (you may not release the same version twice). This may happen, if the previous release attempt failed. Check your remote repository to see if the version you're trying to deploy is already there, and remove it if it does. Or try releasing newer version. Regards, htfv (Aliaksei Lahachou) On Fri, Jul 19, 2013 at 2:25 PM, 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 > > --047d7b6769b616b17e04e2a4b977--