Change <version.compiler.plugin>2.3.1 to 3.1

Tested (built with tests)