Chenged pom.xml added parent and changed groupid and artifactid.