Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359288

Summary: RequiredBundle com.jcraft.jsch is no bundle (should be replaced by Import-Package)
Product: [Technology] JGit Reporter: Christoph Gritschenberger <profalbert>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, remy.suen, robin.rosenberg
Version: 1.1   
Target Milestone: 4.5   
Hardware: PC   
OS: All   
See Also: https://git.eclipse.org/r/78578
https://git.eclipse.org/c/jgit/jgit.git/commit/?id=e2cb2f8afdcfc3505f0d7ab0e084415c9358139a
Whiteboard:
Attachments:
Description Flags
patch that replaces the statement with Import-Package none

Description Christoph Gritschenberger CLA 2011-09-28 14:11:37 EDT
jgit requires the jsch-bundle.
But the project has not added osgi-headers to their manifest yet.

There is a wrapped version available from the servicemix-project [1], which provides the necessary packages, but it cannot satisfy the RequiredBundle-statement because it uses a different symbolic name.

I think this should be changed to Import-Package as in the provided patch.

[1] http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.servicemix.bundles%22%20AND%20a%3A%22org.apache.servicemix.bundles.jsch%22
Comment 1 Christoph Gritschenberger CLA 2011-09-28 14:12:40 EDT
Created attachment 204208 [details]
patch that replaces the statement with Import-Package
Comment 2 Robin Rosenberg CLA 2011-10-05 13:53:43 EDT
Can you verify that this works with Eclipse 3.5 and newer? While we do not officially support 3.5, it still works and I don't think this is important enough to break 3.5. 

After you know this works with Eclipse 3.{5,6,7}, then please post the patch to Gerrit.
Comment 3 Eclipse Genie CLA 2016-08-06 12:42:12 EDT
New Gerrit change created: https://git.eclipse.org/r/78578
Comment 4 Matthias Sohn CLA 2016-08-08 05:31:20 EDT
the bundle com.jcraft.jsch is available in Eclipse Orbit, see the respective target platform definitions, the one for Neon is here
http://git.eclipse.org/c/jgit/jgit.git/tree/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.6.target#n49
and the com.jcraft.jsch bundle is available in the p2 repository
http://download.eclipse.org/tools/orbit/downloads/drops/R20160520211859/repository/
Comment 5 Matthias Sohn CLA 2016-08-08 05:32:24 EDT
the human readable content list of this p2 repository is here
http://download.eclipse.org/tools/orbit/downloads/drops/R20160520211859/
Comment 6 Eclipse Genie CLA 2016-08-08 18:44:02 EDT
Gerrit change https://git.eclipse.org/r/78578 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=e2cb2f8afdcfc3505f0d7ab0e084415c9358139a
Comment 7 Matthias Sohn CLA 2016-08-08 18:44:48 EDT
submitted