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

In settings.xml, you can specify the id of the repo you want to mirror through the mirrorOf tag


Le 10 avr. 2012 08:09, "Barrie Treloar" <baerrach@xxxxxxxxx> a écrit :
Tycho is failing because I'm behind a firewall and it can't reach

[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve
target definition
Failed to load metadata repository from location Unable to
connect to repository
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
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

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

Back to the top