From e36c2aa845c638cb656d11b90f67f6fd66aa1d6d Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Tue, 11 May 2010 14:35:26 +0200 Subject: Expose org.eclipse.jgit.junit via jgit p2 repository 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 the bundle org.eclipse.jgit.junit needs to be exposed via p2 repository. Change-Id: I0ccd7763eede117cb68240fdd25f13d6e6f6a2c1 Signed-off-by: Matthias Sohn --- .../org.eclipse.jgit.junit.feature/.gitignore | 1 + .../org.eclipse.jgit.junit.feature/.project | 17 +++++ .../build.properties | 3 + .../org.eclipse.jgit.junit.feature/edl-v10.html | 59 +++++++++++++++++ .../feature.properties | 73 ++++++++++++++++++++++ .../org.eclipse.jgit.junit.feature/feature.xml | 35 +++++++++++ .../org.eclipse.jgit.junit.feature/pom.xml | 61 ++++++++++++++++++ 7 files changed, 249 insertions(+) create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.gitignore create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.project create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/build.properties create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/edl-v10.html create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.properties create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.xml create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature') diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.gitignore b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.gitignore new file mode 100644 index 0000000000..2f7896d1d1 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.project b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.project new file mode 100644 index 0000000000..2ddc60e02e --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.jgit.junit.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/build.properties b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/build.properties new file mode 100644 index 0000000000..82fdc2fe35 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/build.properties @@ -0,0 +1,3 @@ +bin.includes = feature.xml,\ + edl-v10.html,\ + feature.properties diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/edl-v10.html b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/edl-v10.html new file mode 100644 index 0000000000..230f40e755 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/edl-v10.html @@ -0,0 +1,59 @@ + + + + + + +Eclipse Distribution License - Version 1.0 + + + + + + +

Eclipse Distribution License - v 1.0

+ +

Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.

+ +

All rights reserved.

+

Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: +

+

+

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE.

+ + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.properties b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.properties new file mode 100644 index 0000000000..b839eaef48 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.properties @@ -0,0 +1,73 @@ +############################################################################### +# Copyright (c) 2010 Matthias Sohn +# and other copyright owners as documented in the project's IP log. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Distribution License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/org/documents/edl-v10.html +# +############################################################################### + +featureName=Eclipse JGit JUnit Test Support (Incubation) +providerName=Eclipse JGit + +updateSiteName=Eclipse JGit Update Site (Incubation) + +# description property - text of the "Feature Description" +description=\ +JUnit test support for JGit.\n +################ end of description property ################################## + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2010, Matthias Sohn \n\ +and other copyright owners as documented in the project's IP log.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Distribution License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/org/documents/edl-v10.html\n +################ end of copyright property #################################### + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=http://www.eclipse.org/org/documents/edl-v10.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Distribution License - v 1.0\n\ +\n\ +Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.\n\ +\n\ +All rights reserved.\n\ +\n\ +Redistribution and use in source and binary forms, with or without\n\ +modification, are permitted provided that the following conditions are\n\ +met:\n\ +\n\ + * Redistributions of source code must retain the above copyright\n\ + notice, this list of conditions and the following disclaimer.\n\ +\n\ + * Redistributions in binary form must reproduce the above\n\ + copyright notice, this list of conditions and the following\n\ + disclaimer in the documentation and/or other materials provided\n\ + with the distribution.\n\ +\n\ + * Neither the name of the Eclipse Foundation, Inc. nor the names\n\ + of its contributors may be used to endorse or promote products\n\ + derived from this software without specific prior written\n\ + permission.\n\ +\n\ +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\ +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\ +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\ +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\ +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\ +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n +########### end of license property ########################################## diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.xml new file mode 100644 index 0000000000..e6269b6166 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.xml @@ -0,0 +1,35 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml new file mode 100644 index 0000000000..c4f81fab19 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml @@ -0,0 +1,61 @@ + + + + + 4.0.0 + + + org.eclipse.jgit + jgit.tycho.parent + 0.8.0-SNAPSHOT + + + org.eclipse.jgit.junit.feature + eclipse-feature + + JGit JUnit Feature (Incubation) + + -- cgit v1.2.3