Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2012-10-16 23:27:28 +0000
committerGerrit Code Review @ Eclipse.org2012-12-05 23:19:36 +0000
commitc0eb65ff3f0a0a7abdaf42c751b2c1a582687799 (patch)
treed9a13955b33c4fb18f6f16320a5a504401bff7c6 /pom.xml
parent0fa1895d31bcbee85e626c578d14b9b17324dd45 (diff)
downloadegit-c0eb65ff3f0a0a7abdaf42c751b2c1a582687799.tar.gz
egit-c0eb65ff3f0a0a7abdaf42c751b2c1a582687799.tar.xz
egit-c0eb65ff3f0a0a7abdaf42c751b2c1a582687799.zip
Generate Eclipse-SourceReference headers during build
The generated bundle headers allow to track back from binary bundles to the source version they have been built from. See [1] how to use these headers to clone the source repository from an installed egit bundle. [1] http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.0#Support_for_Eclipse-SourceReferences_manifest_headers Change-Id: Ibffc29f4e009ae6c000ff2b1ce933af3df14f4c1 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 911da88f09..0988375fea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,12 +64,14 @@
<properties>
<egit-version>2.2.0-SNAPSHOT</egit-version>
<tycho-version>0.16.0</tycho-version>
+ <tycho-extras-version>0.16.0</tycho-extras-version>
<mockito-version>1.8.4</mockito-version>
<junit-version>4.8.1</junit-version>
<jgit-site>file:/${basedir}/../../jgit/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/target/repository</jgit-site>
<signer-input-directory>/home/data/httpd/download-staging.priv/egit</signer-input-directory>
<download-publish-path>/home/data/httpd/download.eclipse.org/egit/updates-nightly</download-publish-path>
<target-platform>egit-4.2</target-platform>
+ <tycho.scmUrl>scm:git:https://git.eclipse.org/r/p/egit/egit.git</tycho.scmUrl>
</properties>
<profiles>
@@ -258,6 +260,23 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <sourceReferences>
+ <generate>true</generate>
+ </sourceReferences>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-sourceref-jgit</artifactId>
+ <version>${tycho-extras-version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>

Back to the top