Made all dependencies optional in poms