Fixed the auto deploy to maven.