Added task dependency on maven publishing tasks to ensure build is complete before publishing