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 C7A1FC381 for ; Thu, 25 Jul 2013 13:12:52 +0000 (UTC) Received: (qmail 45628 invoked by uid 500); 25 Jul 2013 13:12:50 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 45518 invoked by uid 500); 25 Jul 2013 13:12:49 -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 45510 invoked by uid 99); 25 Jul 2013 13:12:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 13:12:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andreas.dolk.mobil@googlemail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 13:12:44 +0000 Received: by mail-ob0-f175.google.com with SMTP id xn12so1404354obc.6 for ; Thu, 25 Jul 2013 06:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=L6KgNpMSeK2wuckaKeID/LgIzpDOaS8YmLzqpgwzJG0=; b=ap7tQTViVMobSifFT9J2NRTYRP6Qr5SmXJvCWcMeKPO/6Qzkt7d1tgpUUGdRaVLV1s v+qxhcHbcLXZEfutlCjz613RDuImLFAT90jUEXpapvDcuHFROJjsrqKzaMlBnsumffXS 8Pt7wVttlevTPpXNisukXsAKLUrfGUTGWvtQ97q9cUX9V7v/18M1RbcIgUpvak/ERA7I O/XSQbQARY6W6hTqnxDEb2CB/wq+KhgBzhZ/hLyrxyI9RNtbKO5gbYfjAbc4bGqGCoVs PtA0jGa+kiQlLWooXQhaNJWYBbq+Zr0qfOh1CZ0AwKSazv43AbHb/GNVCijx+QKwJpZ6 JKBw== MIME-Version: 1.0 X-Received: by 10.42.123.139 with SMTP id s11mr19819405icr.82.1374757943287; Thu, 25 Jul 2013 06:12:23 -0700 (PDT) Received: by 10.50.219.135 with HTTP; Thu, 25 Jul 2013 06:12:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Jul 2013 15:12:23 +0200 Message-ID: Subject: Re: Preventing Maven from downloading certain versions from external repositories From: Andreas Dolk To: Maven Users List Content-Type: multipart/alternative; boundary=20cf3010e719dca9d104e255c69a X-Virus-Checked: Checked by ClamAV on apache.org --20cf3010e719dca9d104e255c69a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sure. Build in offline mode: mvn install -o It may not work everytime, but maven will complain loud enough, if it can't find an artifact in your local repo. Andreas 2013/7/25 Kristian Freed > Hi, > > In a current project, by convention, we use 1.0-LOCAL-SNAPSHOT as the > default version for local builds, producing official builds only through > our CI server. This works well but during local builds, Maven will > needlessly look for these versions in external repositories, slowing the > build down. > > Is there a way to configure Maven never to look for specific versions > outside the local .m2 cache to avoid this slowdown? > > Regards, > Kristian > --=20 Andreas Dolk Zurmainerstra=C3=9Fe 33 D-54292 Trier Phone=E3=80=8C+49 651 4362884=E3=80=8D Mobile=E3=80=8C+49 177 4970815=E3=80=8D EMail=E3=80=8Candreas.dolk.mobil@googlemail.com=E3=80=8D --20cf3010e719dca9d104e255c69a--