title: How to compile Maven project with Xlint
body: <p>Is there a way how to pass compiler arguments with a command line to Maven?I know I can specify that in <code>compiler-plugin</code> but I'd like to run <code>Xlint</code> from command line as well. So I tried something like </p>
  
  <pre><code>mvn clean install -DskipTests=true -DcompilerArgument=-Xlint:deprecation
  </code></pre>
  
  <p>but with no success.</p>