Package org.apache.maven.internal.impl
Class DefaultRepositoryFactory
java.lang.Object
org.apache.maven.internal.impl.DefaultRepositoryFactory
- All Implemented Interfaces:
Service
,RepositoryFactory
-
Constructor Summary
ConstructorDescriptionDefaultRepositoryFactory
(org.eclipse.aether.RepositorySystem repositorySystem) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.repository.RepositoryPolicy
createLocal
(Path path) createRemote
(String id, String url) createRemote
(Repository repository)
-
Constructor Details
-
DefaultRepositoryFactory
@Inject public DefaultRepositoryFactory(org.eclipse.aether.RepositorySystem repositorySystem)
-
-
Method Details
-
createLocal
- Specified by:
createLocal
in interfaceRepositoryFactory
-
createRemote
- Specified by:
createRemote
in interfaceRepositoryFactory
-
createRemote
- Specified by:
createRemote
in interfaceRepositoryFactory
- Throws:
IllegalArgumentException
-
buildRepositoryPolicy
public static org.eclipse.aether.repository.RepositoryPolicy buildRepositoryPolicy(RepositoryPolicy policy)
-