[
https://issues.apache.org/jira/browse/SMX4-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972264#comment-13972264
]
Andrew Phillips edited comment on SMX4-1728 at 4/17/14 3:25 AM:
----------------------------------------------------------------
As far as I can make out, the imports for this bundle are unnecessarily broad?
If I'm reading the POM [1] correctly, this bundle apparently needs
{{com.jcraft.jsch}} when, by looking at the code, at least, it really only
would need {{com.jcraft.jsch.agentproxy}} [2].
The latter is exported by the {{jsch.agentproxy.core}} bundle [3], but the
former is not. So the bundle fails to resolve its imports even if the
{{jsch.agentproxy.core}} bundle is present, which should be all this bundle
needs (at least, it would seem to be the case based on the POM)?
What is the best way forward here? Reopen this ticket, or create a new one,
or..?
Thanks!
[1]
http://svn.apache.org/viewvc/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.jsch-agentproxy-sshj-0.0.7_1/pom.xml?revision=1584724&view=markup
[2]
https://github.com/ymnk/jsch-agent-proxy/blob/master/jsch-agent-proxy-sshj/src/main/java/com/jcraft/jsch/agentproxy/sshj/AuthAgent.java
[3]
http://search.maven.org/#artifactdetails%7Ccom.jcraft%7Cjsch.agentproxy.core%7C0.0.7%7Cbundle
was (Author: andrewp):
As far as I can make out, the imports for this bundle are unnecessarily broad?
If I'm reading the POM [1] correctly, this bundle apparently needs
{{com.jcraft.jsch}} when, by looking at the code, at least, it really only
would need {{com.jcraft.jsch.agentproxy}} [2].
The latter is exported by the jsch.agentproxy.core bundle [3], but the former
is not. So the bundle fails to resolve its imports even if the
jsch.agentproxy.core is present, which should be all this bundle needs (at
least, it would seem to be the case based on the POM)?
What is the best way forward here? Reopen this ticket, or create a new one,
or..?
Thanks!
[1]
http://svn.apache.org/viewvc/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.jsch-agentproxy-sshj-0.0.7_1/pom.xml?revision=1584724&view=markup
[2]
https://github.com/ymnk/jsch-agent-proxy/blob/master/jsch-agent-proxy-sshj/src/main/java/com/jcraft/jsch/agentproxy/sshj/AuthAgent.java
[3]
http://search.maven.org/#artifactdetails%7Ccom.jcraft%7Cjsch.agentproxy.core%7C0.0.7%7Cbundle
> Create bundle for jsch.agentproxy.sshj 0.0.7
> --------------------------------------------
>
> Key: SMX4-1728
> URL: https://issues.apache.org/jira/browse/SMX4-1728
> Project: ServiceMix 4
> Issue Type: Wish
> Components: Bundles
> Affects Versions: bundles-2014.02
> Reporter: Andrew Phillips
> Assignee: Freeman Fang
> Fix For: bundles-2014.03
>
>
> jsch.agentproxy.sshj [1] adds support for SSH agents to the popular sshj
> library, which we support in jclouds-karaf. It contains only one class on top
> of the base jsch.agentproxy.core [2] code. The latter is already a bundle,
> but j.a.sshj unfortunately is not.
> If we can help create a patch for this issue, some pointers on where to start
> would be much appreciated.
> [1]
> http://search.maven.org/#artifactdetails%7Ccom.jcraft%7Cjsch.agentproxy.sshj%7C0.0.7%7Cjar
> [2]
> http://search.maven.org/#artifactdetails%7Ccom.jcraft%7Cjsch.agentproxy.core%7C0.0.7%7Cbundle
--
This message was sent by Atlassian JIRA
(v6.2#6252)