Archive for the 'maven' Category
Detecting copy/pasted code is a useful technique to find potential buggy code. Duplicated code often results in bugs being fixed in only one version of the copied code. PMD is a great sourcecode analysis tool which integrates nicely with maven and has CPD (copy/paste detection) capabilities.
To configure with default settings and CPD support add [...]
multiproject maven2: getting the site to work
0 Comments Published by peter November 14th, 2007 in java, maven.When generating a project site for a multiproject setup as described in my previous post many people run into the same problem. The links to the different modules don't work when you use the 'site:site' target. A couple of solutions exist which 'solve' this 'problem' (technically it is a feature).
The actually links are configure [...]
Getting started with multiproject maven2
2 Comments Published by peter November 13th, 2007 in java, maven.I'm helping a group of students to split up their codebase into a couple of manageable project using maven2 as the build tool. Their existing project is a layered Spring MVC web application. The following layers are present:
data model
dao / integration
services
web application 1
Since dependencies where not managed yet the codebase managed to drift into containing [...]
Over a year ago I tried working with the maven2 plugin for eclipse. After trying some of the nifty features, like a search dialog for dependencies, I was totally fed up by the amount of resources needed by the plugin; every tiny move you made seemed to trigger full maven build cycles (including update checking [...]



















