Search in sources :

Example 1 with DependencyResolver

use of org.apache.maven.plugins.assembly.artifact.DependencyResolver in project maven-plugins by apache.

the class ModuleSetAssemblyPhaseTest method createPhase.

private ModuleSetAssemblyPhase createPhase(final Logger logger, final MockAndControlForAddDependencySetsTask macTask) {
    ProjectBuilder projectBuilder = null;
    if (macTask != null) {
        projectBuilder = macTask.projectBuilder;
    }
    DependencyResolver dr = EasyMock.createMock(DependencyResolver.class);
    return new ModuleSetAssemblyPhase(projectBuilder, dr, logger);
}
Also used : ProjectBuilder(org.apache.maven.project.ProjectBuilder) DependencyResolver(org.apache.maven.plugins.assembly.artifact.DependencyResolver)

Aggregations

DependencyResolver (org.apache.maven.plugins.assembly.artifact.DependencyResolver)1 ProjectBuilder (org.apache.maven.project.ProjectBuilder)1