private boolean duplicateArtifactsBreakTheBuild;
private void checkModuleUniqueness()
throws MojoExecutionException
{
ModuleIdentifierValidator miv = new ModuleIdentifierValidator( getModules() );
miv.checkForDuplicateArtifacts();
if ( miv.existDuplicateArtifacts() )
{
Map<String, List<EarModule>> duplicateArtifacts = miv.getDuplicateArtifacts();
for ( Entry<String, List<EarModule>> entry : duplicateArtifacts.entrySet() )
{
getLog().warn( "The artifactId " + entry.getKey() + " exists more than once in the modules list." );
for ( EarModule earModule : entry.getValue() )
{