Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-13 Thread Stevo Slavić
a version number Find unused JAR archives Identify sealed / signed JAR archives Locate a class in a JAR file Get the OSGi status of your project Remove black listed API usage -- View this message in context: http://old.nabble.com/Maven-Plugin-to-detect-duplicate-class-files-in-a-e.g.-WAR

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-12 Thread Mirko Friedenhagen
Am 09.12.2009 um 09:10 schrieb Stephen Connolly: Should be possible to add a mojo to the maven-dependency-plugin to scan for duplicate classes in scope XYZ... that would be the major indicator. Of course you'd need include/excludes... and ignores... and failure mode control probably want

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-12 Thread lukewpatterson
/ signed JAR archives Locate a class in a JAR file Get the OSGi status of your project Remove black listed API usage -- View this message in context: http://old.nabble.com/Maven-Plugin-to-detect-duplicate-class-files-in-a-e.g.-WAR-tp26658458p26760767.html Sent from the Maven - Users mailing list

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-09 Thread Jörg Schaible
Hi Brian, Brian Fox wrote at Mittwoch, 9. Dezember 2009 04:44: No but when projects move group or artifactIds, they are supposed to create a pom with relocation info in it, then Maven is able to mediate the conflicts. Apart from relocation, Mirko's idea is quite interesting in case some

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-09 Thread Stephen Connolly
Should be possible to add a mojo to the maven-dependency-plugin to scan for duplicate classes in scope XYZ... that would be the major indicator. Of course you'd need include/excludes... and ignores... and failure mode control probably want a report as well... can you file a JIRA for it... if

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-08 Thread Brian Fox
No but when projects move group or artifactIds, they are supposed to create a pom with relocation info in it, then Maven is able to mediate the conflicts. On Sat, Dec 5, 2009 at 1:29 PM, Mirko Friedenhagen mirko-li...@friedenhagen.de wrote: Hello, sometimes dependencies change their groupId

Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-05 Thread Mirko Friedenhagen
Hello, sometimes dependencies change their groupId (e.g. commons-io and org.apache.commons or spring vs. org.springframwork). Maven now has no chance(?!) to detect duplicate JARs with different versions during dependency resolution and puts jars with different versions in a war. In the end you