Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 40678 invoked from network); 4 Nov 2010 19:46:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Nov 2010 19:46:58 -0000 Received: (qmail 66193 invoked by uid 500); 4 Nov 2010 19:47:27 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 66083 invoked by uid 500); 4 Nov 2010 19:47: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 66075 invoked by uid 99); 4 Nov 2010 19:47:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 19:47:27 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antonio.petrelli@gmail.com designates 209.85.161.43 as permitted sender) Received: from [209.85.161.43] (HELO mail-fx0-f43.google.com) (209.85.161.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 19:47:21 +0000 Received: by fxm19 with SMTP id 19so1804131fxm.30 for ; Thu, 04 Nov 2010 12:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=zKJeIQ47+PKcU+o9pxcKNvitGUD/XEvV0L4jokgdvqs=; b=nGh/7dqf7o6betYaDKzUU/fHTY1tTDChwPiMIXiLn3zCRAbGsfQkHFZkD2UTkBFMse piCIr6Uv23nJuB5+UuuSKkixLMLGbN7bltsxJsd8oAG5OA0xDC6lZDW8UOaxuc7c7VMB o+aM/XU5QNMfGIAhh2yJ0V4iv76ClpeU44zTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GLARMygFlzyeRNfuEhgU9zTgfdrqvo2PAWxnxngueKMGxAzoWss/guvyTc+b9mqttF 7BO9lExfIH7PG1zOPaZFgDVEZfBjj12bexWLEVAnSGN9WSxQ9XDfEmxpbp2n+niBRVPq sLTrrs8u4C2OXSn3apOc2bxDfNmDvfy8K3QlU= MIME-Version: 1.0 Received: by 10.223.119.132 with SMTP id z4mr146946faq.31.1288900016554; Thu, 04 Nov 2010 12:46:56 -0700 (PDT) Received: by 10.223.111.14 with HTTP; Thu, 4 Nov 2010 12:46:56 -0700 (PDT) In-Reply-To: <4CD30BA6.8030504@schor.com> References: <4CD30BA6.8030504@schor.com> Date: Thu, 4 Nov 2010 20:46:56 +0100 Message-ID: Subject: Re: Best practice re: releasing large assembly artifacts From: Antonio Petrelli To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/11/4 Marshall Schor : > Now, we are trying to better align with the Maven way, and are using Nexu= s. =A0The > default for assemblies will attach these 16 mb things as artifacts of the > aggregation project, and mvn release:perform will put them into the Nexus > repository. >... > Is this OK for these big assemblies (both binary and source)? =A0I would = also copy > these to the Apache distribution spot, to have them automatically mirrore= d, in > addition. =A0Is this the right approach? IMHO deploying assemblies in a Maven repository is entirely optional, since other developers rarely take these artifacts as a dependency. IOW, do it if you need it. > I experimented with marking the binary assembly with the configuration > false - this works, and prevents it from going up to Nex= us (and > then on to Maven central), but has the bad side effect of preventing the > maven-gpg-plugin from signing that artifact. =A0This is because the maven= gpg > plugin only signs "attached" artifacts. There's another way, that I use with Tiles and Velocity: skip the deploy http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skip and, in the deploy phase, I use Wagon plugin, with some tricks (install signatures in local repository, copy from local repository installed artifacts to target folder), to upload assemblies to their final place. You can see it working here: http://svn.eu.apache.org/repos/asf/tiles/framework/trunk/assembly/pom.xml See the "apache-release" profile. HTH Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org