[gatein-dev] Build optimization

Julien Viet julien at julienviet.com
Fri Oct 22 17:26:35 EDT 2010


I have made an optimization to bypass some of the samples when the full build is triggered: it will only build the skins sub module that is always required.

This works mostly when building the Tomcat distribution and it allows to save time when the full build is performed.

This trick to activate it is to declare the property "development" to any value when you build (so development=true will work fine :-) ). This trick was provided to me by Arnaud a while ago to circumvent some Maven (in)capabilities to achieve this (it is already used for the hsqldb test profile).

So "mvn install -Ddevelopment=true" builds everything except those samples

cheers

Julien


More information about the gatein-dev mailing list