Class DependencyResolver
- java.lang.Object
-
- org.apache.jackrabbit.vault.validation.context.AbstractDependencyResolver
-
- org.apache.jackrabbit.filevault.maven.packaging.impl.DependencyResolver
-
- All Implemented Interfaces:
org.apache.jackrabbit.vault.validation.context.DependencyResolver
public class DependencyResolver extends org.apache.jackrabbit.vault.validation.context.AbstractDependencyResolver
Allows to resolve aDependency
from the underlying Maven repository (first local, then remote).
-
-
Constructor Summary
Constructors Constructor Description DependencyResolver(org.apache.maven.artifact.repository.RepositoryRequest repositoryRequest, org.apache.maven.repository.RepositorySystem repositorySystem, org.apache.maven.artifact.resolver.ResolutionErrorHandler resolutionErrorHandler, Map<org.apache.jackrabbit.vault.packaging.Dependency,org.apache.maven.artifact.Artifact> mapPackageDependencyToMavenArtifact, Collection<org.apache.jackrabbit.vault.packaging.PackageInfo> knownPackageInfos, org.apache.maven.plugin.logging.Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable org.apache.jackrabbit.vault.packaging.PackageInfo
resolvePackageInfo(org.apache.jackrabbit.vault.validation.context.AbstractDependencyResolver.MavenCoordinates mavenCoordinates)
-
-
-
Constructor Detail
-
DependencyResolver
public DependencyResolver(org.apache.maven.artifact.repository.RepositoryRequest repositoryRequest, org.apache.maven.repository.RepositorySystem repositorySystem, org.apache.maven.artifact.resolver.ResolutionErrorHandler resolutionErrorHandler, Map<org.apache.jackrabbit.vault.packaging.Dependency,org.apache.maven.artifact.Artifact> mapPackageDependencyToMavenArtifact, Collection<org.apache.jackrabbit.vault.packaging.PackageInfo> knownPackageInfos, org.apache.maven.plugin.logging.Log log)
-
-
Method Detail
-
resolvePackageInfo
@Nullable public @Nullable org.apache.jackrabbit.vault.packaging.PackageInfo resolvePackageInfo(org.apache.jackrabbit.vault.validation.context.AbstractDependencyResolver.MavenCoordinates mavenCoordinates) throws IOException
- Specified by:
resolvePackageInfo
in classorg.apache.jackrabbit.vault.validation.context.AbstractDependencyResolver
- Throws:
IOException
-
-