Revert "Updating pom to 1.7 java"

This reverts commit 6921d7bc5b0af0004d67aba77d504affde80a5fa.
Lets move to simple if's for now