title: maven configuring for alpha, beta, prod builds
body: <p>my project will have different resources for alpha, beta, and prod builds.  i use a python script to build and deploy and want to simply pass a variable to the build to say what version we are building.</p>
  
  <p>like this</p>
  
  <pre><code>mvn package -DbuildMode=beta
  </code></pre>
  
  <p>i would like to have my resources set up like this</p>
  
  <pre><code>java/main/resources
  java/main/resources-alpha
  java/main/resources-beta
  java/main/resources-prod
  </code></pre>
  
  <p>so if i send the beta variable, maven will use</p>
  
  <pre><code>java/main/resources
  java/main/resources-beta
  </code></pre>
  
  <p>when its building the war file.</p>
  
  <p>how would i begin configuring this in my pom file?  im running maven 3.0.3</p>