Hi all, I have started using Zookeeper to provide Discovery implementation in the Distributed OSGi codebase in the CXF/DOSGi subproject (http://cxf.apache.org/distributed-osgi.html).
It works great (hey! a happy customer) but I do have some thoughts regarding Maven and OSGi. * In CXF we use Maven to build everything. To depend on Zookeeper we need to pull it in from a Maven repository. I couldn't find Zookeeper in any main Maven repos, so currently we're pulling it in from http://people.apache.org/~chirino/zk-repo (a private repo), which is not ideal. Would there be any chance of getting the zookeeper.jar file deployed to one of the main Maven repo's (e.g. http://repo2.maven.org/maven2/)? * To use Zookeeper from within OSGi it has to be turned into an OSGi bundle. Doing this is not hard and it's currently done in our buildsystem . However, I think it would make sense to have this done somewhere in the Zookeeper buildsystem. Matter of fact I think you should be able to release a single zookeeper.jar that's both an ordinary jar and an OSGi bundle so it would work in both cases... * The Zookeeper server is currently started with the zkServer.sh script, but I think it would make sense to also allow it to run inside an OSGi container, simply by starting a bundle. Has anyone ever done any work in this regard? If not I'm planning to spend some time and try to make this work. * BTW I made some Windows versions of the zkCli/zkEnv/zkServer scripts. Interested in taking these? Thoughts anyone? Best regards, David Bosschaert  http://svn.apache.org/repos/asf/cxf/dosgi/trunk/discovery/distributed/zookeeper-wrapper/pom.xml