Maven http://maven.apache.org
Maven-settings http://maven.apache.org/ref/3.1.0/maven-settings/settings.html
In stead of clearing out the .m2 (local maven repository) each time before building, change the update policy (read this!) in the root pom.xml like this:
<repository>
<id>local-maven-repository</id>
<url>file://${main.basedir}/build-infrastructure/local-maven-repository</url>
<releases>
<!-- Add this line---------------->
<updatePolicy>always</updatePolicy>
<!-------------------------------->
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Useful Maven plug-ins http://maven.apache.org/plugins
Buildtool - Apache Ant http://ant.apache.org/
Minification - Dojo Shrinksave http://shrinksafe.dojotoolkit.org
Google Closure https://developers.google.com/closure/compiler