The mojo is doing the analysis of the project poms, finding unused declared dependencies in compile scope.
To run this check add goal "unused" to the plugin executions in your pom.xml file. Example:
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>roz-maven-plugin</artifactId>
<version>${roz.plugin.version}</version>
<configuration>
<unusedFail>true</unusedFail>
</configuration>
<executions>
<execution>
<id>unused-declared-check</id>
<goals>
<goal>unused</goal>
</goals>
</execution>
</executions>
</plugin>
The results of the checks are going to appear in your terminal.
You can make your build fail if any of the checks failed by either specifying
in your plugin configuration or by using system property
roz.unused.fail = true *