title: Maven Enforcer Plugin: Specify rules via command line
body: <p>I want to execute the <a href="https://maven.apache.org/enforcer/maven-enforcer-plugin/enforce-mojo.html" rel="noreferrer">Maven Enforcer plugin</a> via the command line.</p>
  
  <p>I've tried:</p>
  
  <pre><code>mvn enforcer:enforce -Drules=[requireReleaseDeps]
  mvn enforcer:enforce -Drules=requireReleaseDeps
  </code></pre>
  
  <p>I am always getting this error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (default-cli) on project lkww-util-app-wurm-admin-rs-api: The parameters 'rules' for goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce are missing or invalid -&gt; [He
  lp 1]
  </code></pre>
  
  <p>How do I have to specify the <code>rules</code> parameter?</p>