maven-shade-plugin's shade
goal<http://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html>will
display warnings for duplicate classes when generating uber-jar.
Stephen, maybe you can reuse some parts of the logic from there for the new
mojo.

Regards,
Stevo.

On Sat, Dec 12, 2009 at 9:13 PM, lukewpatterson <[email protected]>wrote:

>
>
> Mirko Friedenhagen wrote:
> >
> > goal to check classpath for duplicate resources/classes
> >
>
> I haven't tried it yet, but recently I was looking for the same
> functionality and ran across JBoss' tattletale tool:
>
> http://www.jboss.org/tattletale http://www.jboss.org/tattletale
>
> "JBoss Tattletale is a tool that can help you get an overview of the
> project
> you are working on or a product that you depend on.
>
> The tool will provide you with reports that can help you
> Identify dependencies between JAR files
> Find missing classes from the classpath
> Spot if a class/package is located in multiple JAR files
> Spot if the same JAR file is located in multiple locations
> With a list of what each JAR file requires and provides
> Verify the SerialVersionUID of a class
> Find similar JAR files that have different version numbers
> Find JAR files without 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-tp26658458p26760767.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to