title: set java system property during maven 2 compile?
body: <p>I have a maven profile and want to set a property which is later on available per System.getProperty(..) in java:</p>
  
  <pre><code>&lt;profile&gt;
    &lt;id&gt;local-dev&lt;/id&gt;
    &lt;properties&gt;
      &lt;my.comp.my.prop&gt;myValue&lt;/my.comp.my.prop&gt;
    &lt;/properties&gt;
  &lt;/profile&gt;
  </code></pre>
  
  <p>I want <code>System.getProperty("my.comp.my.prop")</code> to be <code>"myValue"</code> but it's <code>null</code>..
  How do I set it correctly? :)</p>
  
  <p>Thansk!</p>