Fix pom, initialize variables properly