Class AetherModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jenkinsci.test.acceptance.utils.aether.AetherModule
-
- All Implemented Interfaces:
com.cloudbees.sdk.extensibility.ExtensionModule
,com.google.inject.Module
public class AetherModule extends com.google.inject.AbstractModule implements com.cloudbees.sdk.extensibility.ExtensionModule
Hook up Aether resolver.To resolve components, inject
RepositorySystem
andRepositorySystemSession
.Here, we assemble a complete module by using
AetherModule
(see its Javadoc) and adding bits from Maven itself (binding those components that complete the repository system).- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description AetherModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
org.eclipse.aether.RepositorySystemSession
newRepositorySystemSession(org.eclipse.aether.RepositorySystem system)
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-