Matteo
Matteo

Reputation: 1377

Disable refresh of target on build

I'm using tycho to build my rcp application. Sadly, today I have to release the first internal milestone, but one of the projects I'm using is down (The great LWJGL - http://www.lwjgl.org/) and consequently my build fails because I cannot resolve an entry of my target platform.

Does there is a way to disable such update?

Note that I already have build my app, hence I already have downloaded all the LWJGL's jars and p2 stuff. Now I simply want to use the version of LWJGL I already have to build my RCP application...

Upvotes: 3

Views: 484

Answers (2)

Zoltán Ujhelyi
Zoltán Ujhelyi

Reputation: 13858

There is a corresponding Eclipse p2 bug that needs update site checking for the target platform - that's why maven offline mode does not work as expected. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=337022

For later, I suggest building a mirror of critical outside sites. In that case you could at least redirect the build to that. E.g. b3 aggregator can be used for this: http://www.eclipse.org/modeling/emft/b3/

Upvotes: 2

jsievers
jsievers

Reputation: 1853

try maven offline mode (mvn -o)

Upvotes: 1

Related Questions