CMS-894: Use Java 7 for project