1)adjusting pom.xml for intalling it to maven repository.
2)making jdk version to 1.6