Added auto-deploy of snapshot to sonatype OSS & writing out kernel version.