Maven Properties. -Dmaven.compiler.forceJavacCompilerUse=true or in the plugin Set this to 'true' to bypass compilation of main sources. User property is: lastModGranularityMs. Solution. To pass -Xmaxerrs 1000 -Xlint -Xlint:-path For more details on these parameters, see the format goal. During the build of a project, Maven, without toolchains, will use the JDK to perform various steps, like compiling the Java sources, generate the Javadoc, run unit tests or sign JARs. the configuration of annotationProcessors.