mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-26 15:38:34 +00:00
Use IpcSyncContextFactory by default
This commit is contained in:
@@ -51,7 +51,11 @@
|
||||
<artifactId>jakarta.inject-api</artifactId>
|
||||
<version>${jakarta.inject.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.eclipse.sisu</groupId>
|
||||
<artifactId>org.eclipse.sisu.inject</artifactId>
|
||||
<version>0.3.4</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
|
@@ -19,18 +19,18 @@ import java.nio.file.Path;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import javax.annotation.PreDestroy;
|
||||
import javax.annotation.Priority;
|
||||
import javax.inject.Named;
|
||||
import javax.inject.Singleton;
|
||||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.SyncContext;
|
||||
import org.eclipse.aether.impl.SyncContextFactory;
|
||||
import org.eclipse.sisu.Priority;
|
||||
|
||||
/**
|
||||
* The SyncContextFactory implementation.
|
||||
*/
|
||||
@Named
|
||||
@Priority(Integer.MAX_VALUE)
|
||||
@Priority(10)
|
||||
@Singleton
|
||||
public class IpcSyncContextFactory implements SyncContextFactory {
|
||||
|
||||
|
Reference in New Issue
Block a user