Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 28966 invoked from network); 4 Aug 2010 05:49:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 05:49:40 -0000 Received: (qmail 11496 invoked by uid 500); 4 Aug 2010 05:49:40 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 11474 invoked by uid 500); 4 Aug 2010 05:49:39 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 11466 invoked by uid 500); 4 Aug 2010 05:49:39 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 11462 invoked by uid 99); 4 Aug 2010 05:49:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 05:49:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 05:49:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o745nGaW024469 for ; Wed, 4 Aug 2010 05:49:16 GMT Message-ID: <27231039.152721280900956144.JavaMail.jira@thor> Date: Wed, 4 Aug 2010 01:49:16 -0400 (EDT) From: "Alex Boisvert (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Assigned: (BUILDR-488) artifact poms not reinstalled In-Reply-To: <10133639.146671280873896601.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Boisvert reassigned BUILDR-488: ------------------------------------ Assignee: Alex Boisvert > artifact poms not reinstalled > ----------------------------- > > Key: BUILDR-488 > URL: https://issues.apache.org/jira/browse/BUILDR-488 > Project: Buildr > Issue Type: Bug > Reporter: Alex Boisvert > Assignee: Alex Boisvert > > Currently, artifact poms are never reinstalled if they already exist in local repository, as illustrated by this failing spec, > Index: packaging/artifact_spec.rb > =================================================================== > --- packaging/artifact_spec.rb (revision 966696) > +++ packaging/artifact_spec.rb (working copy) > @@ -608,6 +608,16 @@ > install artifact(@spec).from(@file) > lambda { install.invoke }.should change { File.exist?(artifact(@spec).pom.to_s) }.to(true) > end > + > + it 'should reinstall POM alongside artifact' do > + pom = artifact(@spec).pom.to_s > + write @file > + write pom > + sleep 1 > + > + install artifact(@spec).from(@file) > + lambda { install.invoke }.should change { File.mtime(pom) } > + end > end -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.