From 8c73245fd0b6c764c629d241e3cb3c6b24f3ec9b Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Mon, 21 May 2012 20:51:10 +0200 Subject: [PATCH] Fix JGit source bundle packaging Due to Tycho bug 368596 we didn't package the correct JGit source bundle anymore. Instead of sources it contained the binary bundle. As a workaround fall back to use packaging type eclipse-update-site which doesn't seem to have this problem. Bug: 368596 Bug: 379402 Change-Id: I3192dbd00b51e6ee6596d2301050b2a6f7028e3b Signed-off-by: Matthias Sohn --- .../org.eclipse.jgit.repository/assembly.xml | 14 ++++++++++ .../org.eclipse.jgit.repository/pom.xml | 28 ++++++++++++++++++- .../{category.xml => site.xml} | 0 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml rename org.eclipse.jgit.packaging/org.eclipse.jgit.repository/{category.xml => site.xml} (100%) diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml new file mode 100644 index 000000000..5bcf74602 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml @@ -0,0 +1,14 @@ + + + site + + zip + + false + + + ${project.build.directory}/site + / + + + \ No newline at end of file diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml index 0cf09dd65..f088af195 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml @@ -54,7 +54,9 @@ org.eclipse.jgit.repository - eclipse-repository + + eclipse-update-site JGit P2 Repository @@ -80,4 +82,28 @@ 2.0.0-SNAPSHOT + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.3 + + + assembly.xml + + + + + make-assembly + package + + single + + + + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/site.xml similarity index 100% rename from org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml rename to org.eclipse.jgit.packaging/org.eclipse.jgit.repository/site.xml