Maven, where I start

More often than not today I start my Java projects using an Apache Maven archetype. Whether it be for an Apache CXF based web service, a simple web application or some sort of service most are started from an archetype. However pretty much every project I need to add my secret project ingredients, this typically starts with a couple of key plug-ins: maven-checkstyle-plugin – I really like to know when my code is a mess, even if it does annoy some people. maven-license-plugin – Again I like stuff neat so getting everything tagged under a license is pretty important. I have extracted a sample of my default configuration to illustrate how these plug-ins are configured in the pom.xml. ...

September 2, 2010 2 min