fixed mistakes in pom.xml and profile.java