mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-10 04:59:54 +00:00
Make sure our CachingProjectBuilder is used, fixes #218
This commit is contained in:
@@ -75,6 +75,7 @@ import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.repository.WorkspaceRepository;
|
||||
import org.eclipse.aether.resolution.ArtifactRequest;
|
||||
import org.eclipse.aether.resolution.ArtifactResult;
|
||||
import org.eclipse.sisu.Priority;
|
||||
import org.eclipse.sisu.Typed;
|
||||
|
||||
/**
|
||||
@@ -86,6 +87,7 @@ import org.eclipse.sisu.Typed;
|
||||
@Named
|
||||
@Singleton
|
||||
@Typed(ProjectBuilder.class)
|
||||
@Priority(10)
|
||||
public class CachingProjectBuilder
|
||||
implements ProjectBuilder {
|
||||
|
||||
|
@@ -83,7 +83,7 @@ public class NewManagedModuleNativeIT {
|
||||
{
|
||||
final TestClientOutput output = new TestClientOutput();
|
||||
cl.execute(output, "clean", "install", "-e", "-B", "-ntp")
|
||||
.assertFailure(); // Switch back to assertSuccess() once https://github.com/mvndaemon/mvnd/issues/218 is fixed
|
||||
.assertSuccess();
|
||||
}
|
||||
Assertions.assertThat(registry.getAll().size()).isEqualTo(1);
|
||||
|
||||
|
@@ -77,7 +77,7 @@ public class UpgradesInBomNativeIT {
|
||||
{
|
||||
final TestClientOutput output = new TestClientOutput();
|
||||
cl.execute(output, "clean", "install", "-e")
|
||||
.assertFailure(); // Switch back to assertSuccess() once https://github.com/mvndaemon/mvnd/issues/218 is fixed
|
||||
.assertSuccess();
|
||||
}
|
||||
Assertions.assertThat(registry.getAll().size()).isEqualTo(1);
|
||||
|
||||
|
Reference in New Issue
Block a user