title: Problem checking out (from VSS) and building maven project in Hudson
body: <p>I am new to Hudson, perhaps someone knows the solution: 
  I am trying to checkout the parent pom from the VSS in Hudson (vss plugin installed) and now I get class cast exception:</p>
  
  <pre><code>FATAL: hudson.maven.MavenModuleSetBuild cannot be cast to hudson.model.Build
  java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild cannot be cast to hudson.model.Build
      at scm.vss.VSSSCM.checkout(VSSSCM.java:227)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:664)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:260)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:234)
      at hudson.model.Run.run(Run.java:793)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:205)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:88)
  </code></pre>
  
  <p>The line in question is here:</p>
  
  <pre><code>Build lastBuild = (Build)build.getPreviousBuild();
  </code></pre>
  
  <p>Has the interface changed? Anyone knows the solution?</p>