Skip to main content

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

Can you try on your failing machine after you deleted the local Maven repo ?

Jeff


On Wed, Jul 24, 2013 at 3:49 PM, Thanh Ha <thanh.ha@xxxxxxxxxxx> wrote:
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]


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top