I think that the URL shown in the UI would need to be fixed in the Nexus sources. Eclipse is using Nexus OSS, so this could be contributed… :-)
For finding the right URLs that point to the repositories, we internally have an extended version of the PDE target editor which constructs the
URLs from the GAV. This extension is fairly tightly tailored to our needs, so it would be quite a bit of effort to make this generally usable. Still, I’ve opened an request for this contribution [1] to see if there is interest for this at all.
Regards
Tobias
[1]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=401719
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Andreas Magnusson
Sent: Montag, 25. Februar 2013 09:50
To: Tycho user list
Subject: Re: [tycho-user] nexus unzip plugin 0.11.0 staged
The problem of course is that the only address Nexus shows us in the Repositories view is the "unofficial" URL. How are you supposed to know what the proper address is from the UI? Esp when it comes to finding the address to a SNAPSHOT
p2 repo deep down in the structures...
Is it possible to extend the UI so that you actually see the proper URL?
(I realize that this is as much a "problem" with Nexus groups as the unzip functionality) I still love the feature!
On 25 February 2013 09:00, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote:
Hi Thanh,
We strongly recommend to only use the “repositories” URL. The “unzip” in the name is
an implementation detail that should not be considered API.
BTW. this is the same for all kind of repositories: Instead of “/nexus/content/groups/public/”,
only “/nexus/content/repositories/public/” should be used. The reason is that if you roll out the former URL, you may never change the type of the “public” repository again, e.g. from a group to a proxy. This would not be a problem with the “repositories”
URL.
All the best
Tobias
One thing I'm a little confused at after setting this up. On the wiki page [2] under the Implementation details it says the URL for the new virtual repo is:
http://<NEXUS_HOST>/nexus/content/repositories/public.unzip
But it appears Nexus created this kind of link:
http://<NEXUS_HOST>/nexus/content/unzip/public.unzip
I was just wondering, should both work? or is the 2nd one the correct one?
Thanh
On 21/02/13 08:06 AM, Sievers, Jan wrote:
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
|