You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Nick Bonatsakis <nb...@gmail.com> on 2010/08/24 22:49:08 UTC
resolving maven SNAPSHOTS with classifiers via ivy
Hi All,
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 with
the following ivysettings ibiblio, only the foo-SNAPSHOTS.jar is getting
updated on resolve after re-installing via maven.
<ibiblio name="local_m2_repo"
m2compatible="true"
usepoms="true"
changingPattern=".*-SNAPSHOT.*"
changingMatcher="regexp"
checkmodified="true"
root="${localm2repo.url}"/>
I started out trying the pattern ".*-SNAPSHOT" which I would have expected
to pick up the tests jar, but tried this in the hopes of getting it to work,
which of course it did not. This doesn't seem to be a retrieve issue either,
the modified date of the foo-SNAPSHOT.jar in the local ivy cache is being
updated while foo-SNAPSHOT-test.jar is not.
Any help would be greatly appreciated.
Thanks,
Nick
--
Nicholas Bonatsakis
Software Engineer
(860)-324-0264
Re: resolving maven SNAPSHOTS with classifiers via ivy
Posted by Maarten Coene <ma...@yahoo.com>.
No, It should work.
Could you open a JIRA issue for this?
thanks,
Maarten
----- Original Message ----
From: Nick Bonatsakis <nb...@gmail.com>
To: ivy-user@ant.apache.org
Sent: Wed, August 25, 2010 5:09:23 PM
Subject: Re: resolving maven SNAPSHOTS with classifiers via ivy
Apologies, I meant 2.2.0-rc1. Is this a known issue?
On Tue, Aug 24, 2010 at 6:29 PM, Nick Bonatsakis <nb...@gmail.com>wrote:
> Yes, I'm on 2.2.1-rc1.
>
> Nick
>
>
> On Tue, Aug 24, 2010 at 5:18 PM, Maarten Coene <ma...@yahoo.com>wrote:
>
>> Do you have this problem with Ivy 2.2.0-rc1 as well?
>>
>> Maarten
>>
>>
>>
>> ----- Original Message ----
>> From: Nick Bonatsakis <nb...@gmail.com>
>> To: ivy-user@ant.apache.org
>> Sent: Tue, August 24, 2010 10:49:08 PM
>> Subject: resolving maven SNAPSHOTS with classifiers via ivy
>>
>> Hi All,
>>
>> 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
>> with
>> the following ivysettings ibiblio, only the foo-SNAPSHOTS.jar is getting
>> updated on resolve after re-installing via maven.
>>
>> <ibiblio name="local_m2_repo"
>> m2compatible="true"
>> usepoms="true"
>> changingPattern=".*-SNAPSHOT.*"
>> changingMatcher="regexp"
>> checkmodified="true"
>> root="${localm2repo.url}"/>
>>
>> I started out trying the pattern ".*-SNAPSHOT" which I would have expected
>> to pick up the tests jar, but tried this in the hopes of getting it to
>> work,
>> which of course it did not. This doesn't seem to be a retrieve issue
>> either,
>> the modified date of the foo-SNAPSHOT.jar in the local ivy cache is being
>> updated while foo-SNAPSHOT-test.jar is not.
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Nick
>>
>> --
>> Nicholas Bonatsakis
>> Software Engineer
>> (860)-324-0264
>>
>>
>>
>>
>>
>
>
> --
> Nicholas Bonatsakis
> Software Engineer
> (860)-324-0264
>
--
Nicholas Bonatsakis
Software Engineer
(860)-324-0264
Re: resolving maven SNAPSHOTS with classifiers via ivy
Posted by Nick Bonatsakis <nb...@gmail.com>.
Apologies, I meant 2.2.0-rc1. Is this a known issue?
On Tue, Aug 24, 2010 at 6:29 PM, Nick Bonatsakis <nb...@gmail.com>wrote:
> Yes, I'm on 2.2.1-rc1.
>
> Nick
>
>
> On Tue, Aug 24, 2010 at 5:18 PM, Maarten Coene <ma...@yahoo.com>wrote:
>
>> Do you have this problem with Ivy 2.2.0-rc1 as well?
>>
>> Maarten
>>
>>
>>
>> ----- Original Message ----
>> From: Nick Bonatsakis <nb...@gmail.com>
>> To: ivy-user@ant.apache.org
>> Sent: Tue, August 24, 2010 10:49:08 PM
>> Subject: resolving maven SNAPSHOTS with classifiers via ivy
>>
>> Hi All,
>>
>> 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
>> with
>> the following ivysettings ibiblio, only the foo-SNAPSHOTS.jar is getting
>> updated on resolve after re-installing via maven.
>>
>> <ibiblio name="local_m2_repo"
>> m2compatible="true"
>> usepoms="true"
>> changingPattern=".*-SNAPSHOT.*"
>> changingMatcher="regexp"
>> checkmodified="true"
>> root="${localm2repo.url}"/>
>>
>> I started out trying the pattern ".*-SNAPSHOT" which I would have expected
>> to pick up the tests jar, but tried this in the hopes of getting it to
>> work,
>> which of course it did not. This doesn't seem to be a retrieve issue
>> either,
>> the modified date of the foo-SNAPSHOT.jar in the local ivy cache is being
>> updated while foo-SNAPSHOT-test.jar is not.
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Nick
>>
>> --
>> Nicholas Bonatsakis
>> Software Engineer
>> (860)-324-0264
>>
>>
>>
>>
>>
>
>
> --
> Nicholas Bonatsakis
> Software Engineer
> (860)-324-0264
>
--
Nicholas Bonatsakis
Software Engineer
(860)-324-0264
Re: resolving maven SNAPSHOTS with classifiers via ivy
Posted by Nick Bonatsakis <nb...@gmail.com>.
Yes, I'm on 2.2.1-rc1.
Nick
On Tue, Aug 24, 2010 at 5:18 PM, Maarten Coene <ma...@yahoo.com>wrote:
> Do you have this problem with Ivy 2.2.0-rc1 as well?
>
> Maarten
>
>
>
> ----- Original Message ----
> From: Nick Bonatsakis <nb...@gmail.com>
> To: ivy-user@ant.apache.org
> Sent: Tue, August 24, 2010 10:49:08 PM
> Subject: resolving maven SNAPSHOTS with classifiers via ivy
>
> Hi All,
>
> 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
> with
> the following ivysettings ibiblio, only the foo-SNAPSHOTS.jar is getting
> updated on resolve after re-installing via maven.
>
> <ibiblio name="local_m2_repo"
> m2compatible="true"
> usepoms="true"
> changingPattern=".*-SNAPSHOT.*"
> changingMatcher="regexp"
> checkmodified="true"
> root="${localm2repo.url}"/>
>
> I started out trying the pattern ".*-SNAPSHOT" which I would have expected
> to pick up the tests jar, but tried this in the hopes of getting it to
> work,
> which of course it did not. This doesn't seem to be a retrieve issue
> either,
> the modified date of the foo-SNAPSHOT.jar in the local ivy cache is being
> updated while foo-SNAPSHOT-test.jar is not.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Nick
>
> --
> Nicholas Bonatsakis
> Software Engineer
> (860)-324-0264
>
>
>
>
>
--
Nicholas Bonatsakis
Software Engineer
(860)-324-0264
Re: resolving maven SNAPSHOTS with classifiers via ivy
Posted by Maarten Coene <ma...@yahoo.com>.
Do you have this problem with Ivy 2.2.0-rc1 as well?
Maarten
----- Original Message ----
From: Nick Bonatsakis <nb...@gmail.com>
To: ivy-user@ant.apache.org
Sent: Tue, August 24, 2010 10:49:08 PM
Subject: resolving maven SNAPSHOTS with classifiers via ivy
Hi All,
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 with
the following ivysettings ibiblio, only the foo-SNAPSHOTS.jar is getting
updated on resolve after re-installing via maven.
<ibiblio name="local_m2_repo"
m2compatible="true"
usepoms="true"
changingPattern=".*-SNAPSHOT.*"
changingMatcher="regexp"
checkmodified="true"
root="${localm2repo.url}"/>
I started out trying the pattern ".*-SNAPSHOT" which I would have expected
to pick up the tests jar, but tried this in the hopes of getting it to work,
which of course it did not. This doesn't seem to be a retrieve issue either,
the modified date of the foo-SNAPSHOT.jar in the local ivy cache is being
updated while foo-SNAPSHOT-test.jar is not.
Any help would be greatly appreciated.
Thanks,
Nick
--
Nicholas Bonatsakis
Software Engineer
(860)-324-0264