Maven commands and hint
svn checkout without subfolders svn co --depth immediates URL maven without internet(Without downloading) mvn -o install mvn --offline install Force the check of the latest dependency jars mvn -U install mvn --update-snapshots install *** -U option to update your snapshots Skip the tests mvn install -DskipTests also use the maven.test.skip property to skip compiling the tests mvn install -Dmaven.test.skip=true Remote Debug mvnDebug test mvnDebug install To avoid OutOfMemoryError To avoid OutOfMemoryError when running maven, set environment variable MAVEN_OPTS as below MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m If you have issue with Maven does not find JUnit test cases to run: By default Maven runs tests class which names start with Test or end with Test or TestCase.Do not messed up the naming convention