Package com.turbosapces.aether
Class MavenDependencyResolver
java.lang.Object
com.turbosapces.aether.MavenDependencyResolver
- All Implemented Interfaces:
DependencyResolver,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class MavenDependencyResolver
extends Object
implements DependencyResolver, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMavenDependencyResolver(List<org.eclipse.aether.repository.RemoteRepository> repos) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()List<org.eclipse.aether.artifact.Artifact>resolveDependency(org.eclipse.aether.artifact.Artifact artifact)
-
Field Details
-
DEFAULT_JAVA_SCOPE
- See Also:
-
HOME
-
DEFAULT_LOCAL_REPOSITORY
-
-
Constructor Details
-
MavenDependencyResolver
public MavenDependencyResolver() -
MavenDependencyResolver
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
resolveDependency
public List<org.eclipse.aether.artifact.Artifact> resolveDependency(org.eclipse.aether.artifact.Artifact artifact) throws Exception - Specified by:
resolveDependencyin interfaceDependencyResolver- Throws:
Exception
-