play2-maven-plugin/src/main/java/com/google/code/play2/plugin/AbstractArchivingMojo.java
protected void checkArchiverForProblems( Archiver archiver )
    {
        for ( ResourceIterator iter = archiver.getResources(); iter.hasNext(); )
        {
            iter.next();
        }
    }
protected void checkArchiverForProblems( Archiver archiver )
    {
        for ( ResourceIterator iter = archiver.getResources(); iter.hasNext(); )
        {
            iter.next();
        }
    }
Check for potential "Duplicate file" exception before archive processing starts

@param archiver archiver to check