Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Simian Plugin

This plugin generates xdoc documentation containing a Simian (Similarity Analyser) report. Simian identifies duplicated lines in Java and C# source code. Ie. lines of code that occur more than once across an entire source tree.

Duplicate code should always be refactored. It is therefore recommended that the maven.simian.failonduplication property be set to true and that the maven.simian.linecount property be small. This will make it easier to always have duplicates factored out in the codebase.

To enable the plugin, add the following to your project.xml's /project/reports node:

<report>maven-simian-plugin</report>

For further details about how to use the plugin, see the Goals and Properties pages.