Class MavenResolverGrapeEngine
java.lang.Object
org.springframework.boot.cli.compiler.grape.MavenResolverGrapeEngine
- All Implemented Interfaces:
groovy.grape.GrapeEngine
A
GrapeEngine
implementation that uses
Maven Resolver, the
dependency resolution system used by Maven.- Since:
- 2.5.9
- Author:
- Andy Wilkinson, Phillip Webb
-
Field Summary
Fields inherited from interface groovy.grape.GrapeEngine
CALLEE_DEPTH, DEFAULT_CALLEE_DEPTH
-
Constructor Summary
ConstructorDescriptionMavenResolverGrapeEngine
(groovy.lang.GroovyClassLoader classLoader, org.eclipse.aether.RepositorySystem repositorySystem, org.eclipse.aether.DefaultRepositorySystemSession repositorySystemSession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories, DependencyResolutionContext resolutionContext, boolean quiet) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addRepository
(org.eclipse.aether.repository.RemoteRepository repository) void
addResolver
(Map<String, Object> args) Map[]
listDependencies
(ClassLoader classLoader) URI[]
URI[]
-
Constructor Details
-
MavenResolverGrapeEngine
public MavenResolverGrapeEngine(groovy.lang.GroovyClassLoader classLoader, org.eclipse.aether.RepositorySystem repositorySystem, org.eclipse.aether.DefaultRepositorySystemSession repositorySystemSession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories, DependencyResolutionContext resolutionContext, boolean quiet)
-
-
Method Details
-
grab
- Specified by:
grab
in interfacegroovy.grape.GrapeEngine
-
grab
- Specified by:
grab
in interfacegroovy.grape.GrapeEngine
-
addResolver
- Specified by:
addResolver
in interfacegroovy.grape.GrapeEngine
-
addRepository
protected void addRepository(org.eclipse.aether.repository.RemoteRepository repository) -
enumerateGrapes
- Specified by:
enumerateGrapes
in interfacegroovy.grape.GrapeEngine
-
resolve
- Specified by:
resolve
in interfacegroovy.grape.GrapeEngine
-
resolve
- Specified by:
resolve
in interfacegroovy.grape.GrapeEngine
-
listDependencies
- Specified by:
listDependencies
in interfacegroovy.grape.GrapeEngine
-
grab
- Specified by:
grab
in interfacegroovy.grape.GrapeEngine
-