Using Maven

I mavenised Classifier4J tonight. I wasn't planning to, but I decided I
needed an automatic way of generating javadocs, and I couldn't remember the ant javadoc syntax. Then I decided I should
auto-generate a website, too… so one thing led to another and I ended up trying Maven.

I've had some bad experiences with Maven in the past – basically due to the lack of documentation in early version. I couldn't get a few projects to build, and couldn't figure out where to even start investigating the problem. I found that very frustrating and left them in disgust.

Tonight's experience was very different. The documentation is decent enough that I managed to get my project to build the
second time I tried. It was unsuccessful the first time as the latest version of common-logging.jar wasn't downloading – it turned out it wasn't available in the Maven repositary. Once I figured that out it was pretty easy to change the version required.

I guess the bad news is that the documentation still doesn't help much with customisation. For instance, I don't agree with a lot of the default settings for the checkstyle report which is run by default. I can't figure out how to either turn the report off, or modify the settings, and the only documentation I could find on this wasn't very helpful. On the other hand it is 12:18, and I should go to bed – so I guess that could have something to do with it, too.

Leave a Reply

Your email address will not be published. Required fields are marked *