sshj: osgi problem

Apache jclouds project happily relies on your project, thanks! Unfortunately a downstream project, jclouds-karaf wants to use your lib in an OSGi container but when we install the following bundle:

install -s mvn:com.hierynomus/sshj/0.12.0

we’ve noticed that

karaf@root()> capabilities 113
com.hierynomus.sshj [113] provides:
-----------------------------------
osgi.wiring.bundle; com.hierynomus.sshj 0.12.0 [UNUSED]
osgi.wiring.host; com.hierynomus.sshj 0.12.0 [UNUSED]
osgi.identity; com.hierynomus.sshj 0.12.0 [UNUSED]
osgi.wiring.package; net.schmizz.concurrent 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.keepalive 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.common 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.connection 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.connection.channel 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.connection.channel.direct 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.connection.channel.forwarded 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.sftp 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.signature 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.cipher 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.compression 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.digest 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.kex 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.mac 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.random 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.transport.verification 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.userauth 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.userauth.keyprovider 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.userauth.method 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.userauth.password 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.xfer 0.0.0 [UNUSED]
osgi.wiring.package; net.schmizz.sshj.xfer.scp 0.0.0 [UNUSED]

which basically means that the wiring packages are unversioned.

This may be a gradle issue build.gradle as per this SO @discussion.

Thanks for your support.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 19 (19 by maintainers)

Most upvoted comments

Should be published now and appearing in Maven Central soon!

@andreaturli could you test it? I didn’t have a chance. Just looked at the generated MANIFEST and it seemed ok.