Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Cannot resolve jar when repository contains jar.pack.gz

I think I found out what is causing the problem.
 
We are currently still running on Nexus 2.1 with the corresponding p2-capabilities-plugin which cannot handle composite-repositories very well. According to the Nexus release notes, support for this was added in Nexus 2.6.
 
The solution is either upgrading to the latest Nexus or navigating through the compositeContent.xml and compositeContent.jar (contains the xml) to find out what the actual repos are and adding all of them to nexus. The second is quite tedious but it does the trick until Nexus is upgraded.
 
Since the eclipse download pages do not show the content of repositories you can start by using a mirror like this
 
best regards
Marc
 
Gesendet: Dienstag, 19. August 2014 um 13:31 Uhr
Von: "Marc Schlegel" <my.mailing.lists@xxxxxx>
An: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] Cannot resolve jar when repository contains jar.pack.gz
 
Thanks. I forgot to mention that we also mirror the xText-Releases, which provides Guava (but in the mentioned jar.pack.gz).
 
So the problem remains. Nexus has downloaded the artifacts, but tycho cannot deal with them.
 
regards
Marc
Gesendet: Dienstag, 19. August 2014 um 12:04 Uhr
Von: "Alex Blewitt" <alex.blewitt@xxxxxxxxx>
An: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] Cannot resolve jar when repository contains jar.pack.gz
On 19 Aug 2014, at 10:58, Marc Schlegel <my.mailing.lists@xxxxxx> wrote:
 
Hello everyone
 
We are mirroring the Kepler-P2-Repository in order to build some xText-DSL. Our lokal Nexus installation seems to be ok: there is a artifacts.xml, contents.xml as well as *.jar.pack.gz files in the plugins folder.
 
Now tycho (0.21) cannot resolve, for example Guava, because it is trying to downlad guava.jar while the repository contains only guava.jar.pack.gz.
 
The point is, that two month ago, everything was working. Now I had to delete my lokal repository and tycho cannot resolve the dependencies any more. Was there some change in the repository layout (kepler)? Or is there anything I might have missed in the configuration?
This file appears to exist in the upstream repository:
 
 
Check your local nexus mirror to see how that’s configured.
 
Alex

_______________________________________________ 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
_______________________________________________ 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