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