Technologically Satisfying Week So Far

Wed Aug 13 13:31:00 CDT 2008

This week I wrote a command line utility that uses JMX over RMI to hit a custom mbean that reports the version info branded into the manifest of some jars and ears we deploy to our app servers. I'm now using maven to build and release it, which was somewhat painful when I got myself stuck into a corner. It's packaged up with one-jar, and I've also made a short executable script in a tools/bin directory that calls java -jar ourjar.one-jar.jar.

Right now I am reading about the merge tracking capabilities of subversion 1.5. I hope that will save some headaches.

Next task will be to change our build system to build jars, ears and a war, brand them with build and version info, and check them into subversion. Yeah, don't ask how we have been doing it.

Maven deploying grief

I think, where I went wrong, is that I prepared the release before I had run site and site was failing because the connection url in the pom was not quite right. We'll see if that was it. The release:prepare step went ok, but release:perform failed, complaining that distributionManagement was missing repo tags. I had to take the naughty step of fixing the pom.xml on the subversion tag for the release, and not in the trunk. Ooops. Then things got sane again.

Off to the dentist. Tough call which is worse: maven, ant, or dental cleaning.