[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [m2e-dev] resolving implicit dependency in project configurator
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Wed, 30 May 2012 13:16:30 -0700
- Delivered-to: m2e-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SHnltSzlB98XH0cdlYK71J9SFZERTt2aNE0VK67OkXY=; b=WuMZn4pGPDe98hajb6DofadEndsd7UUiBpJUcMsXLJk5voS3ar31Lg5B6o9k6lt1ut 7ZpH0Ob5vFvmbRJBR0S24XoGSwpisIH5cKVsbwLT9qTAfEuptNI/fyMVPDDclDZewaSr Vjf8liyaH3Wz3d1MhZG/UD7lNrpjTYH135aXu93u6hkHxAIPwF5peo4+HvTo7elBCQ6T MRUjlwKO9g10Z2S4Mh4C82wEOPSNccDlkqYS0ishvKe4spSNkcgtVyf2ps8ZQLAieCjh oVARge0BeiVJsW6jj+PLs2t8ggShuy5qWJ/NygtPfD07sS5zD4kQYEoOVRhTaFN+rNnM gW2A==
Thanks. I'll give this a try.
On Wed, May 30, 2012 at 12:25 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> IMaven#resolve can be used to resolve an artifact from specified Maven
> repositories. This call will download the artifact if necessary. There
> is currently no proper way to force re-resolution of the artifact if
> it's available in maven local repository, but you may be able to use
> ArtifactRepository.setReleaseUpdatePolicy and/or .setSnapshotUpdatePolicy.
>
> --
> Regards,
> Igor
>
>
> On 12-05-30 1:39 PM, Andrew Eisenberg wrote:
>>
>> Hi all,
>>
>> I am creating a project configurator for a maven plugin and maven
>> extension. The extension (among other things) adds an implicit
>> dependency to the project. I would like to replicate this
>> functionality inside of the project configurator. I know the
>> artifact, group, and version of the dependency. My question is: how
>> to I resolve that to get a jar file in the local repo? Furthermore,
>> if the artifact has not been downloaded yet, how do I force it to be
>> so?
>>
>> thanks,
>> _______________________________________________
>> m2e-dev mailing list
>> m2e-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-dev
>
> _______________________________________________
> m2e-dev mailing list
> m2e-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-dev