use of org.eclipse.tycho.core.shared.MavenContextImpl in project tycho by eclipse.
the class MirrorApplicationServiceTest method initTestContext.
@Before
public void initTestContext() throws Exception {
destinationRepo = new DestinationRepositoryDescriptor(tempFolder.newFolder("dest"), DEFAULT_NAME);
File projectFolder = tempFolder.getRoot();
ReactorProjectIdentities currentProject = new ReactorProjectIdentitiesStub(projectFolder);
context = new BuildContext(currentProject, DEFAULT_QUALIFIER, DEFAULT_ENVIRONMENTS);
subject = new MirrorApplicationServiceImpl();
MavenContext mavenContext = new MavenContextImpl(null, logVerifier.getLogger());
subject.setMavenContext(mavenContext);
}
use of org.eclipse.tycho.core.shared.MavenContextImpl in project tycho by eclipse.
the class MirrorStandaloneTest method initTestContext.
@Before
public void initTestContext() throws Exception {
destinationRepo = new DestinationRepositoryDescriptor(tempFolder.newFolder("dest"), DEFAULT_NAME);
subject = new MirrorApplicationServiceImpl();
MavenContext mavenContext = new MavenContextImpl(null, logVerifier.getLogger());
subject.setMavenContext(mavenContext);
targetFolder = new BuildOutputDirectory(tempFolder.getRoot());
}
Aggregations