I've taken a stab at creating a maven build for ZooKeeper. (attachment to follow).
CLONE - Switch to using maven to build ZooKeeper
Umbrella: Migrate project structure to Maven build
The jute parser should get generated from the jj files instead of checking in the generated sources
Reorganize the ZooKeeper source distro to follow maven conventions
Remove javacc dependency from public Maven pom
Zookeeper 3.4.x is not OSGi compliant - MANIFEST.MF is flawed
Update Netty version in trunk to 3.2.2