When you create another branch of your multimodule maven project, updating version tags all over the hierarchy can be a pain. You keep that snippet of code that does the job with 'find -iname pom.xml | xargs sed -e 's/4.0-SNAPSHOT/5.0-SNAPSHOT/g' .. and it works in most of the cases.
But there's another way: using the maven-versions-plugin. It allows you to change the pom version and parent version with a single target, e.g. mvn versions:set -DnewVersion=4.0b-SNAPSHOT.
Now, all of your maven modules in this project have been updated to the correct version, and their parent dependencies as well. Voilà :)
Sporadic rant on java, maven, enterprise application integration, patterns, testing, people, legacy, people and so forth. And some cooking.
tirsdag 29. september 2009
fredag 11. september 2009
Speeding up the development cycle at JavaZone
JavaZone 2009 has come to an end. It was a top notch conference: Great speakers and free beer.
My contribution was a lightning speed with entitled Speeding up the development cycle: Stash your files on a Solid State Drive
The abstract reads: Solid state drives have recently become easily available. Their performence may provide a way of reducing the time spent on on the development cycle: compiling, packeting and deploying applications. This paper shows promising results by locating the code base and local maven repository on a solid state drive. Initial experiments shows that time spent on waiting for your code to compile may be reduced by 50%.
You can get the slides at: http://www.slideshare.net/harals/ssd-dev
My contribution was a lightning speed with entitled Speeding up the development cycle: Stash your files on a Solid State Drive
The abstract reads: Solid state drives have recently become easily available. Their performence may provide a way of reducing the time spent on on the development cycle: compiling, packeting and deploying applications. This paper shows promising results by locating the code base and local maven repository on a solid state drive. Initial experiments shows that time spent on waiting for your code to compile may be reduced by 50%.
You can get the slides at: http://www.slideshare.net/harals/ssd-dev
Etiketter:
build time,
development,
java,
maven,
presentation,
ssd,
turnaround
Abonner på:
Innlegg (Atom)