Java - detecting duplicate class define with maven

less than 1 minute read

mvn dependency:analyze -DcheckDuplicateClasses

blog for details
http://pettermahlen.com/2010/08/05/finding-duplicate-class-definitions-using-maven/