Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 12727 invoked from network); 1 Feb 2010 12:48:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 12:48:13 -0000 Received: (qmail 41331 invoked by uid 500); 1 Feb 2010 12:48:10 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 41221 invoked by uid 500); 1 Feb 2010 12:48:10 -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 41211 invoked by uid 99); 1 Feb 2010 12:48:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 12:48:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [89.113.129.133] (HELO relay.devexperts.com) (89.113.129.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 12:48:01 +0000 Received: from [89.113.133.207] (helo=kazakevich) by relay.devexperts.com (8.13.1/8.13.1) with esmtpsa id 1Nbve3-00021c-CX envelope-from for ; Mon, 01 Feb 2010 15:47:21 +0300 From: "Ilya Kazakevich" To: "'Maven Users List'" References: <3219fff71002010242s8fa3fcbka46e63abcbce6aad@mail.gmail.com> Subject: RE: Automatic updates from repository Date: Mon, 1 Feb 2010 15:44:47 +0300 Organization: DevExperts Message-ID: <01be01caa33c$5638aac0$cf857159@office.devexperts.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcqjK3Z4S1Zq+dSTSeeraArMCr3aZgAEAjnA In-Reply-To: <3219fff71002010242s8fa3fcbka46e63abcbce6aad@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 DX-Auth-Ok: 767994c571d9cf46718620e92d9ccdd5 X-Virus-Checked: Checked by ClamAV on apache.org Hello, Why do not you want to use SNAPSHOT? Fixed version should never be changed but snapshot can. You have SNAPSHOT while you develop your artifact, and when you're ready to release it -- you give it version number. Other artifacts may depend on your snapshot. If so -- maven knows that snapshot could be changed and fetches new version of snapshot periodically. But if you depend on fixed version (i.e: my-artifact-1.2.3) and you already have it in your local repository -- maven would not fetch it again, because it should be the same and maven knows it. If you really want to refetch such artifact -- simply remove it from your local repository, but that's bad idea because it breakes maven's philosophy and brings pain in your development process. Ilya. -----Original Message----- From: Andrey Razumovsky [mailto:razumovsky.andrey@gmail.com] Sent: Monday, February 01, 2010 1:42 PM To: Maven Users List Subject: Automatic updates from repository Hello, In our company we've got a local repository. There's an artifact (packaged as POM or as JAR), which is deployed by me and used by other projects. It is changing frequently, so we don't want referencing POM to change often (i.e. version changes rarely). Now it seems new versions are not downloaded by referencing projects automatically at build time. Is it because I haven't specified "SNAPSHOT" postfix? If yes, is there a way to allow automatic changes detection without "SNAPSHOT" postfix? Thanks, Andrey --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org