createMavenDirectory if required