So for the proper perspective I tried out the build in Maven 3; updating the instructions with a few tips as I went.
The most interesting is a tip on how to make the build faster using maven 3; surprisingly out of the box the maven 3 builder was slower on my machine. Fiddling with the command line options for parallel build support did eventually result in a pretty interesting speed increase.
The fastest build I managed was:
mvn install -DskipTests -o -T 2CThe above instructions roughly translate as: only build the core library, skip the tests, don't check external servers for new jars, and use two threads per core.
Which has been added the the Building FAQ.
A tip of the hat to Micheal Bedward for reviewing the above pages - Thanks!
No comments:
Post a Comment