Upgrade compiler plugin to 3.1 and fix surefire plugin version for all modules