Use jgit p2 repository to resolve jgit dependencies
commit5c690b6a2b337d467f7e47b69fd960a1c11d987c
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 11 May 2010 12:52:15 +0000 (11 14:52 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 11 May 2010 13:11:56 +0000 (11 15:11 +0200)
treeb41a5ad3ae1b983941866eeec69cf8ae6e2cb210
parenta390378933eabfc3e4dcbe76e623cdde43995ff1
Use jgit p2 repository to resolve jgit dependencies

EGit Tycho builds on build.eclipse.org frequently hit corrupted artifacts
which leads to broken builds. Cleaning up these corrupted files is tedious
since it requires file system access on the build server. Hence we want to
switch to use job-local m2 repositories. This requires that build artifacts
are shared between the jgit and egit build jobs via p2. Therefore we switch
from pom-first to p2 build dependencies between the egit and the jgit build.

For local builds the egit build assumes that jgit and egit are located
under a common parent folder. If this is not the case the URL of the jgit
update site has to be injected via system property "jgit-site".

- non-default local build:
$ mvn clean install -Djgit-site=file:/path/to/org.eclipse.jgit.updatesite/target/site

- hudson build on build.eclipse.org
$ mvn clean install -Djgit-site=https://build.eclipse.org/hudson/job/jgit/
              lastSuccessfulBuild/artifact/org.eclipse.jgit.packaging/
              org.eclipse.jgit.updatesite/target/site/

Change-Id: I43ee21f23d474a6579df187869c821fc3960583f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit-feature/pom.xml
org.eclipse.egit-updatesite/pom.xml
org.eclipse.egit.core.test/pom.xml
org.eclipse.egit.core/pom.xml
org.eclipse.egit.ui.test/pom.xml
org.eclipse.egit.ui/pom.xml
pom.xml