Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Building Tycho behind a firewall...

This is not currently possible due to bug 356016 [1].

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=356016

--
Regards,
Igor

On 12-04-10 1:55 AM, Barrie Treloar wrote:
Tycho is failing because I'm behind a firewall and it can't reach
http://download.eclipse.org/eclipse/updates/3.8milestones

[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve
target definition
D:\Z-Tycho\org.eclipse.tycho\tycho-bundles\tycho-bundles-target\tycho.target:
Failed to load metadata repository from location
http://download.eclipse.org/eclipse/updates/3.8milestones: Unable to
connect to repository
http://download.eclipse.org/eclipse/updates/3.8milestones/compositeContent.xml:
Connection refused: connect ->  [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: Failed to resolve target definition

I've got this proxied in Nexus as
https://nexus..../nexus/content/repositories/eclipse-3.8-milestones/
But I can't work out how to tell Maven that it should be using our
internal Nexus to proxy that repository instead of going out to the
internet directly as there is no "id" to specify in the mirror
sections.

As a workaround I can setup in settings.xml>  proxies>  proxy, however
this means that I get long latency times whenever tycho want's to
check for updates.
Using Nexus to hide that speeds up my build.

What I've decided to do for now, is to hack the source files to point
directly to Nexus instead.

Suggestions for the correct way welcome.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top