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 DE8FC10AF0 for ; Fri, 13 Dec 2013 17:00:31 +0000 (UTC) Received: (qmail 71804 invoked by uid 500); 13 Dec 2013 17:00:28 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 71578 invoked by uid 500); 13 Dec 2013 17:00:27 -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 71570 invoked by uid 99); 13 Dec 2013 17:00:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 17:00:26 +0000 X-ASF-Spam-Status: No, hits=-5.8 required=5.0 tests=ENV_AND_HDR_SPF_MATCH,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,USER_IN_DEF_SPF_WL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nsankaran@ebay.com designates 216.113.172.65 as permitted sender) Received: from [216.113.172.65] (HELO phx-mipot-002.corp.ebay.com) (216.113.172.65) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 17:00:21 +0000 DomainKey-Signature: s=ebaycorp; d=ebay.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:From:To: Subject:Thread-Topic:Thread-Index:Date:Message-ID: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:user-agent:x-originating-ip: Content-Type:MIME-Version:X-CFilter; b=R/nA7YWykdMNMoseKv98SMMZIi2DvON/z1uWKPH/iLP5HtPXbWvgkoff aaMu4P47ZwF1dxSzFTAVHDKOvXbYOkLQhj62tI6tHTXTBe5kr+TPgwlFU XMqR0TPJVPyA/0l3P0Iwrns5eLhQ5CSsaM+MOR+KFM57oeZmwtyM65+zM 0=; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ebay.com; i=@ebay.com; q=dns/txt; s=ebaycorp; t=1386954021; x=1418490021; h=from:to:subject:date:message-id:mime-version; bh=kG7DTWApRN1x478ooEm8AePxrjtmEQfkrQRBklepL60=; b=QZPhfSQEmI/l9Qe0ukGYn3f4a9+Q/WEr2Q67i7VZJqPbvz6AMd7qfpDr eqJYKo1+srQkWEDtjjmbo7jGUGKKtphSmmaRA6za45bp23uMhMs12nYWE /6l1O80ZBKBIXooJ435t4xXfpna25xeLDZkNmXpMvvCSBB33iV1y1AQ9H U=; X-EBay-Corp: Yes X-IronPort-AV: E=Sophos;i="4.95,480,1384329600"; d="scan'208,217";a="181076720" Received: from phx-vteml-002.corp.ebay.com (HELO PHX-EXMHT-001.corp.ebay.com) ([10.58.40.101]) by phx-mipot-002.corp.ebay.com with ESMTP; 13 Dec 2013 09:00:00 -0800 Received: from PHX-EXRDA-S11.corp.ebay.com ([169.254.16.204]) by PHX-EXMHT-001.corp.ebay.com ([10.58.12.70]) with mapi id 14.03.0158.001; Fri, 13 Dec 2013 10:00:00 -0700 From: "Sankaran, Nambi" To: 'Maven List' Subject: maven deploy plugin fails with artifact-not-found Thread-Topic: maven deploy plugin fails with artifact-not-found Thread-Index: AQHO+CTCSviD0eHiHkiziALy1FuDQQ== Date: Fri, 13 Dec 2013 17:00:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.12.0.110505 x-originating-ip: [10.241.16.224] Content-Type: multipart/alternative; boundary="_000_CED07D0E21DFFnsankaranebaycom_" MIME-Version: 1.0 X-CFilter: Scanned X-Virus-Checked: Checked by ClamAV on apache.org --_000_CED07D0E21DFFnsankaranebaycom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I=92m trying to deploy a snapshot version of the artifact for the first tim= e. Maven deploy fails with error =93could not find artifact in the remote repo= sitory=94 Obviously the artifact was never deployed in the remote repository, so it i= s not available in the remote repository. Tried with various versions of =93deploy=94 plugin, the issue happens in al= l of them. How to deploy a snapshot version on an empty repository? $mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model= for com.ebay.platform:platform-root:pom:2.0.0.RC3-SNAPSHOT [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId= :type:classifier)' must be unique: javax.servlet:jstl:jar -> version 1.2 vs= 1.2_1 @ line 515, column 16 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId= :type:classifier)' must be unique: com.sun.xml.bind:jaxb-impl:jar -> duplic= ate declaration of version 2.2.3.20110115 @ line 536, column 16 [WARNING] [WARNING] It is highly recommended to fix these problems because they threa= ten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support bu= ilding such malformed projects. [WARNING] [INFO] [INFO] --------------------------------------------------------------------= ---- [INFO] Building platform root pom 2.0.0.RC3-SNAPSHOT [INFO] --------------------------------------------------------------------= ---- [INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-cli) @ platform-root -= -- Downloading: http://repocorp.com/content/repositories/snapshots/com/ebay/pl= atform/platform-root/2.0.0.RC3-SNAPSHOT/maven-metadata.xml Uploading: http://repocorp.com/content/repositories/snapshots/com/ebay/plat= form/platform-root/2.0.0.RC3-SNAPSHOT/platform-root-2.0.0.RC3-20131213.1650= 21-1.pom [INFO] --------------------------------------------------------------------= ---- [INFO] BUILD FAILURE [INFO] --------------------------------------------------------------------= ---- [INFO] Total time: 2.576s [INFO] Finished at: Fri Dec 13 08:50:21 PST 2013 [INFO] Final Memory: 9M/156M [INFO] --------------------------------------------------------------------= ---- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin= :2.8.1:deploy (default-cli) on project platform-root: Failed to deploy arti= facts: Could not find artifact com.platform:platform-root:pom:2.0.0.RC3-201= 31213.165021-1 in snapshots (http://repocorp.com/content/repositories/snaps= hots/) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e= switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, pleas= e read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecu= tionException --_000_CED07D0E21DFFnsankaranebaycom_--