play2-maven-plugin/src/main/java/com/google/code/play2/plugin/AbstractArchivingMojo.java
protected Archiver getArchiver( String archiverName )
        throws NoSuchArchiverException
    {
        Archiver result = archiverManager.getArchiver( archiverName );
        result.setDuplicateBehavior( Archiver.DUPLICATES_FAIL ); // Just in case
        return result;
    }
protected Archiver getArchiver( String archiverName )
        throws NoSuchArchiverException
    {
        Archiver result = archiverManager.getArchiver( archiverName );
        result.setDuplicateBehavior( Archiver.DUPLICATES_FAIL ); // Just in case
        return result;
    }
protected Archiver getArchiver ( String archiverName ) throws NoSuchArchiverException { Archiver result = archiverManager . getArchiver ( archiverName ) ; result . setDuplicateBehavior ( Archiver . DUPLICATES_FAIL ) ; // Just in case return result ; }
Returns preconfigured archiver

@param archiverName archiver name
@return archiver
@throws NoSuchArchiverException for unsupported archiver name
Returns preconfigured archiver