Adding the internal repo to the distribution management and changing the java version in the pom.xml file to 1.6