title: Setting default values for custom Maven 2 properties
body: <p>I have a Maven pom.xml with a plugin that I want to be able to control on the command line. Everything works otherwise fine, except even after searching the net a while I can't figure out how to set a default value for my control property:</p>
  
  <pre><code>&lt;plugin&gt;
      ...
      &lt;configuration&gt;
          &lt;param&gt;${myProperty}&lt;/param&gt;
      &lt;/configuration&gt;
      ...
  &lt;/plugin&gt;
  </code></pre>
  
  <p>So if I run Maven with</p>
  
  <pre><code>mvn -DmyProperty=something ...
  </code></pre>
  
  <p>everything's fine, but I'd like to have a specific value assigned to myProperty also without the <code>-DmyProperty=...</code> switch. How can this be done?</p>