title: Execute multiple maven project from MS bat file?
body: <p>I need to build 3 independent maven projects using a build.bat file (because of tycho aggregation is not an option - see comments on romaintaz answer). I have tried (executed from the build folder - see below):</p>
  
  <pre><code>cd ../projectA
  mvn clean install -U
  cd ..
  cd ../projectB
  mvn clean install -U
  cd ..
  cd ../projectC
  mvn clean install -U
  </code></pre>
  
  <p>where the folder structure of the projects are:</p>
  
  <pre><code>build
    |--&gt; build.bat
  
  projectA
    |--&gt; pom.xml
  
  projectB
    |--&gt; pom.xml
  
  projectC
    |--&gt; pom.xml
  </code></pre>
  
  <p>but only projectA is build projectB and projectC are skipped. Any ideas on how to modify the above batfile so the following project is build if the previous was build successfully?</p>