Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make jzlib an optional dependency (OSGi) #162

Closed
lichtin opened this issue Dec 22, 2014 · 0 comments
Closed

Make jzlib an optional dependency (OSGi) #162

lichtin opened this issue Dec 22, 2014 · 0 comments

Comments

@lichtin
Copy link
Contributor

lichtin commented Dec 22, 2014

Can jzlib be made an optional dependency?
Currently it is required

Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle net.schmizz.sshj [160]: Unable to resolve 160.0: missing requirement [160.0] osgi.wiring.package; (&(osgi.wiring.package=com.jcraft.jzlib)(version>=1.1.0)(!(version>=2.0.0)))

I believe the change needed is in pom.xml:

                    <Import-Package>
                        !net.schmizz.*,
                        javax.crypto*,
                        com.jcraft.jzlib*;version="[1.1,2)";resolution:=optional,
                        org.slf4j*;version="[1.7,5)",
                        org.bouncycastle*,
                        *
                    </Import-Package>

Perhaps the same should be done for bouncycastle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant