Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] p2 mirrors

Hi Mickael,

Thank you for the quick response!

No, in fact I had missed that on my last attempt as I had copied and pasted some other mirror I had :-( When I added these two elements then it worked as expected. Thanks!

Further, it turned out that if I define a <repository> in the pom.xml for the same URL and some ID, then I cannot define a mirror for that. The ID I reference in the settings.xml must correspond to the URL in the target definition. But for my use case that is fine and maybe this is even what is expected.

Thanks again,

Knut

On Tue, Sep 30, 2014 at 4:39 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
On 09/30/2014 10:28 AM, Knut Wannheden wrote:
Unfortunately that doesn't seem to work (the mirror is just ignored). I suppose this might work if I also define the repository in the pom.xml using some ID, but I would like to avoid this kind of redundancy if possible.
Does anyone have an idea why this isn't working? I am using Tycho 0.21 and Maven 3.2.3.
Did you also set the layout and mirrorOfLayout elements (as described in documentation)? If not, this could explain why a mirror definition gets ignored.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top