The code doesn't compile. The compiler plugin is included by default by Maven. Look at the rest of the error message to work out why the code isn't compiling. Probably something to do with incompatible Java versions.
Edit: You are using an old version of the compiler plugin that defaults to Java 1.3 options, which is why it doesn't compile.
I suspect Jenkins may be pointing to Maven 2 (see this question Maven : error: generics are not supported in -source 1.3 , I am using 1.6). Make sure Jenkins is using the correct Maven 3 installation.