Skip to content

osgi problem #300

@andreaturli

Description

@andreaturli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions