Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Building with Tycho offline

Hi Everyone,

I ran into an issue trying to do an offline build with Tycho and was wondering if anyone ran into this before. Basically when I build on one system in offline mode I'm returned with "Repository system is offline and no local cache available for ..." (Snippet below) which as far as I can tell is a Tycho message.

I built this cache by first building normally to create the cache and then on my 2nd run I enabled Maven's --offline mode.

What's strange is that when I build on a different system following the same steps doing a normal build first to build the cache and then enabling offline mode, it works as expected. On both systems I'm building the same code and using the same version of JDK and Maven so I'm not sure what could be different between the 2 systems that would cause the error to appear in 1 but not the other.

Maybe there's some environment settings I can look at?


Thanks,


Thanh
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Repository system is offline and no local cache available for http://download.eclipse.org/modeling/emf/emf/updates/2.8.x
[DEBUG] Closing connection to remote
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Repository system is offline and no local cache available for http://download.eclipse.org/modeling/emf/emf/updates/2.8.x -> [Help 1]


Back to the top