Return-Path: X-Original-To: apmail-buildr-users-archive@www.apache.org Delivered-To: apmail-buildr-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 DF6E79594 for ; Wed, 2 Nov 2011 11:47:03 +0000 (UTC) Received: (qmail 76735 invoked by uid 500); 2 Nov 2011 11:47:03 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 76680 invoked by uid 500); 2 Nov 2011 11:47:03 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 76672 invoked by uid 99); 2 Nov 2011 11:47:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 11:47:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dominic.graefen@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 11:46:56 +0000 Received: by eyg24 with SMTP id 24so50382eyg.17 for ; Wed, 02 Nov 2011 04:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=mbL8/qFOkt96FHnbdMZlu502vMJ6Voo5qMnvhYbmBz8=; b=AEtVhq8lbyAWER4m5/WW9Mgpz8BSWp8w/ZsGY2TGexAaMmIwCZcshKr3dR9FNlNHB8 7pmbcJ6zeYT+mECKF17+EdUxEYEWaJtghgnHb/FDVF5aDw7vgPT8hkJGWjVzCOZMK2P7 NeNycZgbO1uUDXHlBs9I3zvQ3NZrioVruZF/c= Received: by 10.14.19.82 with SMTP id m58mr349936eem.104.1320234393978; Wed, 02 Nov 2011 04:46:33 -0700 (PDT) Received: from MBP.local (i19071.upc-i.chello.nl. [62.195.19.71]) by mx.google.com with ESMTPS id v3sm5852322eej.7.2011.11.02.04.46.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Nov 2011 04:46:31 -0700 (PDT) Date: Wed, 2 Nov 2011 12:46:29 +0100 From: Dominic Graefen To: users@buildr.apache.org Message-ID: <66872DA3F0544513BA7D6D5F050E09CB@gmail.com> In-Reply-To: References: <3390B1A98B8A43D5AB90B6157F428DC6@gmail.com> <9B554F8383A84955B823580309DA575C@gmail.com> Subject: Re: Snapshot artifacts X-Mailer: sparrow 1.4.1 (build 959.1) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4eb12d95_1f48eaa1_de" --4eb12d95_1f48eaa1_de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline I looked in the source and found that it is checking for updated snapshots via a maven-metadata.xml which contains the latest update timestamp. But I don't have that metadata file, is that something my repository (nexus) should create? My problem with the update_snapshots option is that it always updates and therefore always forces a recompile of the whole project. Therefore I don't think it needs to be available as a setting in the yaml file, and would rather find a way to have snapshots only update when they are newer than in my local repository. -- Dominic Graefen Freelance: Interactive Developer / Creative Technologist devboy.org On Tuesday, November 1, 2011 at 3:00 PM, Alex Boisvert wrote: > There's no shorter way currently. We could make it a `setting` instead of > an application option, in which case it could be set via > $USER/.buildr/settings.yaml or build.yaml next to the buildfile. Would > that be better? > > alex > > > > On Tue, Nov 1, 2011 at 5:53 AM, Dominic Graefen > wrote: > > > Just found: > > > > Buildr.application.options.update_snapshots = true > > > > Is there a shorter way of setting options inside a buildfile? > > > > > > On Tuesday, November 1, 2011 at 12:59 PM, Dominic Graefen wrote: > > > > > Hey Guys, > > > > > > I couldn't find any info on this in the docs: Does buildr have > > update-policies for SNAPSHOT artifacts? > > > Right now my Snapshot artifact is not overwritten by a newer build, > > > > anyway I can force it to? > > > > > > Cheers, > > > > > > -- > > > Dominic Graefen > > > Freelance: Interactive Developer / Creative Technologist > > > devboy.org (http://devboy.org) > > > > > > > > > > --4eb12d95_1f48eaa1_de--