title: Maven package .bat script: how to add a delay?
body: <p>I have this .bat script which I use to maven package my application. Problem is, just after it ends execution, it closes the console window. The last 2 lines somehow are completely ignored.</p>
  
  <p>Does anyone know the trick to make this work?
  I just want to have a quick check if the build was successful.</p>
  
  <pre><code>@echo off
  cls
  cd C:\svn\project
  mvn package -o -P local
  sleep 3
  pause
  </code></pre>