Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AB8DD18D for ; Wed, 15 May 2013 09:11:24 +0000 (UTC) Received: (qmail 48510 invoked by uid 500); 15 May 2013 09:11:23 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 47496 invoked by uid 500); 15 May 2013 09:11:18 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 47390 invoked by uid 99); 15 May 2013 09:11:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 09:11:16 +0000 Date: Wed, 15 May 2013 09:11:16 +0000 (UTC) From: =?utf-8?Q?Christian_Pl=C3=A4tzinger_=28JIRA=29?= To: notifications@ant.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IVY-1221) ivy won't resolve updated maven SNAPSHOT artifacts with classifiers from local repo MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1221?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D136581= 84#comment-13658184 ]=20 Christian Pl=C3=A4tzinger commented on IVY-1221: ------------------------------------------- Same issue here using Ivy 2.3.0. The main artifact is always updated but th= e artifact with classifier 'tests' is never updated! This is very annoying.= Please review the patch provided by [~wrprice]. Would like to get this fix= ed in the next version.=20 *ivysettings.xml* {code} =09 =09=09 =09=09=09 =09=09=09 =09=09=09 =09=09 =09{code} *dependency declaration in ivy.xml* {code} *" =09=09=09changing=3D"true" transitive=3D"false"> *"/> *"/> {code} =20 > ivy won't resolve updated maven SNAPSHOT artifacts with classifiers from = local repo > -------------------------------------------------------------------------= ---------- > > Key: IVY-1221 > URL: https://issues.apache.org/jira/browse/IVY-1221 > Project: Ivy > Issue Type: Bug > Components: Maven Compatibility > Affects Versions: 2.2.0-RC1 > Environment: Mac OS X 10.6, Ant 1.7.1, Maven 2.2.1 > Reporter: Nick Bonatsakis > Labels: patch > Attachments: fix3.patch > > > The situation I'm running into is as follows: I have a maven project that= produces two artifacts foo-SNAPSHOT.jar and foo-SNAPSHOT-tests.jar. When I= resolve these via ivy, they are both pulled properly initially, however wi= th the following ivysettings ibiblio, only the foo-SNAPSHOTS.jar is getting= updated on resolve after re-installing via maven. > m2compatible=3D"true" > usepoms=3D"true" > changingPattern=3D".*-SNAPSHOT.*" > changingMatcher=3D"regexp" > checkmodified=3D"true" > root=3D"${localm2repo.url}"/> > I started out trying the pattern ".*-SNAPSHOT" which I would have expecte= d to pick up the tests jar, but tried this in the hopes of getting it to wo= rk, which of course it did not. This doesn't seem to be a retrieve issue ei= ther, the modified date of the foo-SNAPSHOT.jar in the local ivy cache is b= eing updated while foo-SNAPSHOT-test.jar is not.=20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira