title: De-activate a maven profile from command line
body: <p>I have a profile <strong>activated by default</strong> in my maven setting file <strong>~/.m2/settings.xml</strong>.</p>
  
  <p>Is it possible to deactivate it from the command line by doing something like this:</p>
  
  <pre><code>mvn -P!profileActivatedByDefault
  </code></pre>