Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 5177 invoked from network); 24 Oct 2008 19:00:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Oct 2008 19:00:36 -0000 Received: (qmail 47013 invoked by uid 500); 24 Oct 2008 19:00:38 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 46974 invoked by uid 500); 24 Oct 2008 19:00:38 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 46960 invoked by uid 99); 24 Oct 2008 19:00:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2008 12:00:38 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2008 18:59:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KtRtF-0001Ip-3I for users@archiva.apache.org; Fri, 24 Oct 2008 12:00:05 -0700 Message-ID: <20155986.post@talk.nabble.com> Date: Fri, 24 Oct 2008 12:00:05 -0700 (PDT) From: jaxzin To: users@archiva.apache.org Subject: TTL caching for metadata? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Brian.R.Jackson@espn3.com X-Virus-Checked: Checked by ClamAV on apache.org All, when we run our releases we run Maven with the -U command. This causes Maven to query our Archiva instance for the maven-metadata.xml for everything (plugins/parent/dependencies) that don't have explicit version. Unfortunately Archiva always goes back to the remote repositories when this happens which lately has slowed our builds. Is there a way to tell Archiva to only check for new metadata once a day rather than whenever a Maven client requests it? P.S. The reason we run with -U command is because we have an internal POM inheritance hierarchy that specifies parent versions with RELEASE so we can make company-wide or department-wide tweaks to our build process and all projects receive the changes implicitly. But I don't necessarily need the -U checking to go out to central or our other remote repositories. -- View this message in context: http://www.nabble.com/TTL-caching-for-metadata--tp20155986p20155986.html Sent from the archiva-users mailing list archive at Nabble.com.