added maven compiler plugin to fix java version mismatch.