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 AB605176EF for ; Fri, 8 Jan 2016 09:29:29 +0000 (UTC) Received: (qmail 51846 invoked by uid 500); 8 Jan 2016 09:29:28 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 51764 invoked by uid 500); 8 Jan 2016 09:29:28 -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 51752 invoked by uid 99); 8 Jan 2016 09:29:28 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 09:29:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AD8C31A02FC for ; Fri, 8 Jan 2016 09:29:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 38EXJjphqp2e for ; Fri, 8 Jan 2016 09:29:21 +0000 (UTC) Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E8BA342AA9 for ; Fri, 8 Jan 2016 09:29:20 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id z14so71493759igp.0 for ; Fri, 08 Jan 2016 01:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QlrWAiJdjL7ncoyknMFwp1Jso4bM7z+Cr2U0SKRZ4nM=; b=Q/ITv0k+HDiakC+pwFwJRMQFhj8J/8B/aYiWUBqHW8OyiQBeScPC57vdYpEdy4Cl7N Qh1bFqSV9uWukK0mZRD+R15T0qXk7mxxPl0ojFcS1HHQLp9cX6w4CXDw9sXc/bSsBhDf RGxBs9pxvzQX9pIxhQ2z48jQ/ytZIPA9SkCoCMzDOKV9I8OiXg75hQp4EX/AAEE1D2/R cvFwzDmsqxJbR2Yz0ZZkgfZjDOqwxhRTQIFuZli5DJltpDV9vTw2qW8d19FyQJ6CwhSE H8Zxw+s4RRHd/XWjLd4rEWRZv7gTlF440jz5rCrnTQxznW7ELnBQ/XBl9M4EMWP28D3Z LZng== MIME-Version: 1.0 X-Received: by 10.50.183.7 with SMTP id ei7mr20285798igc.17.1452245354696; Fri, 08 Jan 2016 01:29:14 -0800 (PST) Received: by 10.36.200.212 with HTTP; Fri, 8 Jan 2016 01:29:14 -0800 (PST) Date: Fri, 8 Jan 2016 01:29:14 -0800 Message-ID: Subject: maven-metadata.xml should be deployed last From: Dan Tran To: Maven Users List Content-Type: multipart/alternative; boundary=001a11c3ac267e59940528cf38cd --001a11c3ac267e59940528cf38cd Content-Type: text/plain; charset=UTF-8 Hi My maven POM module has a couple of artifacts to be deployed. Here is the order of deployment [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ brs-installer --- [INFO] Downloading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml (994 B at 44.1 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/brs-installer-1.0.0-20160108.090346-509.pom [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/brs-installer-1.0.0-20160108.090346-509.pom (12 KB at 3.3 KB/sec) [INFO] Downloading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/maven-metadata.xml [INFO] Downloaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/maven-metadata.xml (545 B at 24.2 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml (1004 B at 122.6 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/maven-metadata.xml [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/maven-metadata.xml (545 B at 2.5 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/brs-installer-1.0.0-20160108.090346-509-build.xml [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/brs-installer-1.0.0-20160108.090346-509-build.xml (14 KB at 86.0 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml (1004 B at 140.1 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/brs-installer-1.0.0-20160108.090346-509.ova [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/brs-installer-1.0.0-20160108.090346-509.ova (4044494 KB at 34899.1 KB/sec) [INFO] Uploading: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: http://mycomp.com:8081/myrepo/snapshots/com/mycomp/brs/installer/brs-installer/1.0.0-SNAPSHOT/maven-metadata.xml (1004 B at 98.0 KB/sec) The issue here, after the POM, maven-metadata.xml is followed, the subsequent deployments are large artifacts ( ~4G) The issue here if user attempts to download the latest snapshot while the large artifact still in the middle of upload, the download will fail with not found error Does it make sense to enhance maven deploy plugin to deploy maven-metadata.xml last? Thanks -Dan --001a11c3ac267e59940528cf38cd--