public class DefaultAssemblyArchiverTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DefaultAssemblyArchiverTest.TestArchiverWithConfig |
Constructor and Description |
---|
DefaultAssemblyArchiverTest() |
public void setup() throws org.codehaus.plexus.PlexusContainerException
org.codehaus.plexus.PlexusContainerException
public void failWhenAssemblyIdIsNull() throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException
public void testCreateArchive() throws ArchiveCreationException, AssemblyFormattingException, InvalidAssemblerConfigurationException, IOException, DependencyResolutionException
public void testCreateArchiver_ShouldConfigureArchiver() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public static void setupInterpolators(AssemblerConfigurationSource configSource)
public static void setupInterpolators(AssemblerConfigurationSource configSource, MavenProject mavenProject)
public void testCreateArchiver_ShouldCreateTarArchiverWithNoCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateArchiver_ShouldCreateWarArchiverWithIgnoreWebxmlSetToFalse() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateArchiver_ShouldCreateZipArchiver() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateWarArchiver_ShouldDisableIgnoreWebxmlOption() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
public void testCreateTarArchiver_ShouldNotInitializeCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateTarArchiver_TarGzFormat_ShouldInitializeGZipCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateTarArchiver_TgzFormat_ShouldInitializeGZipCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateTarArchiver_TarBz2Format_ShouldInitializeBZipCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateTarArchiver_Tbz2Format_ShouldInitializeBZipCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
public void testCreateTarArchiver_InvalidFormat_ShouldFailWithInvalidCompression() throws org.codehaus.plexus.archiver.manager.NoSuchArchiverException, org.codehaus.plexus.archiver.ArchiverException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
org.codehaus.plexus.archiver.ArchiverException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.