Community
Participate
Working Groups
PDE has support for parsing Eclipse-SourceReferences to point to an arbitrary Maven SCM URL. http://wiki.eclipse.org/PDE/UI/SourceReferences e.g. Eclipse-SourceReferences: scm:cvs:pserver:dev.eclipse.org:/cvsroot/eclipse:org.eclipse.debug.core;tag=v20100427 We should add something like this to the EGit/JGit bundles: Eclipse-SourceReferences: scm:git:http://egit.eclipse.org/egit.git
Doing this seems to be really simple now with CBI / Tycho, look at what we did for TM: https://git.eclipse.org/r/#/c/11229/
Generating them through CBI/Tycho is supported since Tycho 0.16.0: The detailed docs are here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=380872 http://wiki.eclipse.org/Tycho/FAQ#How_to_generate_Eclipse-SourceReferences_MANIFEST_header.3F
Eclipse-SourceReferences are generated for EGit since a long time. There is no simple way to generate them for the JGit bundles since we can't use Tycho to build them since we need both Maven and OSGi artifacts which isn't supported by Tycho.
You could hard-code the Eclipse-SourceReference in the JGit Manifest.MF without the tag, though.