Class ModuleSetAssemblyPhaseTest
- java.lang.Object
-
- org.apache.maven.plugins.assembly.archive.phase.ModuleSetAssemblyPhaseTest
-
public class ModuleSetAssemblyPhaseTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.TemporaryFolder
temporaryFolder
-
Constructor Summary
Constructors Constructor Description ModuleSetAssemblyPhaseTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchOutputDir
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchOutputDir()
-
testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchInclude
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchInclude()
-
testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchExclude
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldCatchExclude()
-
testIsDeprecatedModuleSourcesConfigPresent_ShouldNotCatchFileMode
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldNotCatchFileMode()
-
testIsDeprecatedModuleSourcesConfigPresent_ShouldNotCatchDirMode
public void testIsDeprecatedModuleSourcesConfigPresent_ShouldNotCatchDirMode()
-
testCreateFileSet_ShouldUseModuleDirOnlyWhenOutDirIsNull
public void testCreateFileSet_ShouldUseModuleDirOnlyWhenOutDirIsNull() throws Exception
- Throws:
Exception
-
testCreateFileSet_ShouldPrependModuleDirWhenOutDirIsProvided
public void testCreateFileSet_ShouldPrependModuleDirWhenOutDirIsProvided() throws Exception
- Throws:
Exception
-
testCreateFileSet_ShouldAddExcludesForSubModulesWhenExcludeSubModDirsIsTrue
public void testCreateFileSet_ShouldAddExcludesForSubModulesWhenExcludeSubModDirsIsTrue() throws Exception
- Throws:
Exception
-
testExecute_ShouldSkipIfNoModuleSetsFound
public void testExecute_ShouldSkipIfNoModuleSetsFound() throws Exception
- Throws:
Exception
-
testExecute_ShouldAddOneModuleSetWithOneModuleInIt
public void testExecute_ShouldAddOneModuleSetWithOneModuleInIt() throws Exception
- Throws:
Exception
-
testAddModuleBinaries_ShouldReturnImmediatelyWhenBinariesIsNull
public void testAddModuleBinaries_ShouldReturnImmediatelyWhenBinariesIsNull() throws Exception
- Throws:
Exception
-
testAddModuleBinaries_ShouldFilterPomModule
public void testAddModuleBinaries_ShouldFilterPomModule() throws Exception
- Throws:
Exception
-
testAddModuleBinaries_ShouldAddOneModuleAttachmentArtifactAndNoDeps
public void testAddModuleBinaries_ShouldAddOneModuleAttachmentArtifactAndNoDeps() throws Exception
- Throws:
Exception
-
testAddModuleBinaries_ShouldFailWhenOneModuleDoesntHaveAttachmentWithMatchingClassifier
public void testAddModuleBinaries_ShouldFailWhenOneModuleDoesntHaveAttachmentWithMatchingClassifier() throws Exception
- Throws:
Exception
-
testAddModuleBinaries_ShouldAddOneModuleArtifactAndNoDeps
public void testAddModuleBinaries_ShouldAddOneModuleArtifactAndNoDeps() throws Exception
- Throws:
Exception
-
testAddModuleArtifact_ShouldThrowExceptionWhenArtifactFileIsNull
public void testAddModuleArtifact_ShouldThrowExceptionWhenArtifactFileIsNull() throws Exception
- Throws:
Exception
-
testAddModuleArtifact_ShouldAddOneArtifact
public void testAddModuleArtifact_ShouldAddOneArtifact() throws Exception
- Throws:
Exception
-
testAddModuleSourceFileSets_ShouldReturnImmediatelyIfSourcesIsNull
public void testAddModuleSourceFileSets_ShouldReturnImmediatelyIfSourcesIsNull() throws Exception
- Throws:
Exception
-
testAddModuleSourceFileSets_ShouldAddOneSourceDirectory
public void testAddModuleSourceFileSets_ShouldAddOneSourceDirectory() throws Exception
- Throws:
Exception
-
testGetModuleProjects_ShouldReturnNothingWhenReactorContainsOnlyCurrentProject
public void testGetModuleProjects_ShouldReturnNothingWhenReactorContainsOnlyCurrentProject() throws Exception
- Throws:
Exception
-
testGetModuleProjects_ShouldReturnNothingWhenReactorContainsTwoSiblingProjects
public void testGetModuleProjects_ShouldReturnNothingWhenReactorContainsTwoSiblingProjects() throws Exception
- Throws:
Exception
-
testGetModuleProjects_ShouldReturnModuleOfCurrentProject
public void testGetModuleProjects_ShouldReturnModuleOfCurrentProject() throws Exception
- Throws:
Exception
-
testGetModuleProjects_ShouldReturnDescendentModulesOfCurrentProject
public void testGetModuleProjects_ShouldReturnDescendentModulesOfCurrentProject() throws Exception
- Throws:
Exception
-
-