Added distribution management code inside the pom.xml for being able to build through Jenkins.
Updated netty version as well.