title: continuous integration based on maven2
body: <p>I am trying to figure out how to setup continuous integration using maven. </p>
  
  <p>What I want is:</p>
  
  <ol>
  <li>Check for new stuff in SVN</li>
  <li>If changes are detected, check them out</li>
  <li>Build and deploy</li>
  </ol>
  
  <p>I think all of this can be pushed into some shell script to make it be invoked by cron. Thus we will have automated continuous integration (nightly builds, for example)</p>
  
  <p>I know that maven has SCM plugin for working with version control systems, but I don't know how to make it check for changes in repository and based on the results launch checkout. </p>
  
  <p>So I am asking the audience :)</p>
  
  <p>PS I forget to mention - I am NOT INTERESTING in any of existing applications! They are too heavy for my VPS server. Please do not advise them</p>