How do I pass javac arguments to generate additional compilation information?

Often, it is required that you want to pass some of the javac options to the Maven build to control the Java compilation process. The way to do that is:

mvn -Dmaven.compiler.argument=-Xlint:all -o compile

These arguments are then passed to javac verbatim, giving you the result you want.