Open sakno opened 9 years ago
Please, add maven-bundle-plugin to pom.xml of wasync library and allow to install this library as OSGi bundle.
maven-bundle-plugin
pom.xml
There are two workarounds that enable to use wasync in OSGi envrionment:
wasync
wrap
features.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" name="wasync-feature"> <feature name="wasync-feature" description="" version="1.0.0"> <details>Atmosphere wAsync feature</details> <bundle>mvn:io.netty/netty/3.10.0.Final</bundle> <bundle>mvn:com.ning/async-http-client/1.9.5</bundle> <bundle>wrap:mvn:org.atmosphere/wasync/2.0.0$Export-Package=org.atmosphere.wasync.*;version="2.0.0"</bundle> </feature> </features>
@sakno Pull request welcomed. As soon as I get it, I will release a new version 2.0.1 you can use. Thanks!
2.0.1
I've got the same errors on my laptop (Ubuntu 14.10 x64 OpenJDK 7) when run tests of #124 pull request
Please, add
maven-bundle-plugin
topom.xml
of wasync library and allow to install this library as OSGi bundle.There are two workarounds that enable to use
wasync
in OSGi envrionment:wasync
into the custom bundle viapom.xml
, similar to workaround described herewrap
protocol in the KAR archive deployment descriptor (named asfeatures.xml
):