public class MavenResolver extends ExternalResourceResolver implements PatternBasedResolver
| Constructor and Description |
|---|
MavenResolver(String name,
URI rootUri,
RepositoryTransport transport,
LocallyAvailableResourceFinder<org.apache.ivy.core.module.id.ArtifactRevisionId> locallyAvailableResourceFinder,
CachedExternalResourceIndex<String> cachedExternalResourceIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArtifactLocation(URI baseUri,
String pattern) |
void |
addDescriptorLocation(URI baseUri,
String pattern) |
void |
dumpSettings() |
org.apache.ivy.plugins.resolver.util.ResolvedResource |
findIvyFileRef(org.apache.ivy.core.module.descriptor.DependencyDescriptor dd,
org.apache.ivy.core.resolve.ResolveData data) |
protected org.apache.ivy.plugins.resolver.util.ResolvedResource |
getArtifactRef(org.apache.ivy.core.module.descriptor.Artifact artifact,
Date date,
boolean forDownload) |
String |
getPattern() |
String |
getRoot() |
boolean |
isUseMavenMetadata() |
boolean |
isUsepoms() |
protected String[] |
listVersions(org.apache.ivy.core.module.id.ModuleRevisionId moduleRevisionId,
String pattern,
org.apache.ivy.core.module.descriptor.Artifact artifact) |
void |
setM2compatible(boolean compatible) |
void |
setPattern(String pattern) |
void |
setRoot(String root) |
void |
setUseMavenMetadata(boolean useMavenMetadata) |
void |
setUsepoms(boolean usepoms) |
addArtifactPattern, addIvyPattern, convertM2IdForResourceSearch, discardResource, download, exists, findArtifactRef, findFirstArtifactRef, findLatestResource, findNames, findResourceUsingPattern, findResourceUsingPatterns, get, getArtifactPatterns, getArtifactRef, getIvyPatterns, getRepository, getResource, getResource, isM2compatible, locate, publish, setArtifactPatterns, setIvyPatternsacceptLatest, clearArtifactAttempts, clearIvyAttempts, download, getAndCheck, getChecksumAlgorithms, getDefaultRMDParser, getDependency, getPublicationDate, getRMDParser, getWorkspaceName, isAllownomd, isCheckconsistency, isEnvDependent, isForce, listModules, listOrganisations, listRevisions, listTokenValues, logArtifactAttempt, logAttempt, logIvyAttempt, parse, reportFailure, reportFailure, setAllownomd, setCheckconsistency, setChecksums, setDescriptor, setEnvDependent, setForce, setWorkspaceName, shouldReturnResolvedModule, toStringabortPublishTransaction, beginPublishTransaction, checkInterrupted, checkLatest, commitPublishTransaction, doValidate, findModuleInCache, findModuleInCache, fromSystem, fromSystem, getCacheDownloadOptions, getCacheOptions, getChangingMatcherName, getChangingPattern, getDownloadOptions, getEventManager, getLatest, getLatestStrategy, getName, getNamespace, getParserSettings, getRepositoryCacheManager, getSettings, getSystemNode, getTypeName, hidePassword, isAfter, isValidate, listTokenValues, saveModuleRevisionIfNeeded, setCache, setChangingMatcher, setChangingPattern, setCheckmodified, setEventManager, setLatest, setLatestStrategy, setName, setNamespace, setRepositoryCacheManager, setSettings, setValidate, toSystem, toSystem, toSystem, toSystem, toSystem, toSystem, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArtifactPatterns, getIvyPatternsabortPublishTransaction, beginPublishTransaction, commitPublishTransaction, download, download, exists, getDependency, getName, getNamespace, getRepositoryCacheManager, listModules, listOrganisations, listRevisions, listTokenValues, listTokenValues, locate, publish, reportFailure, reportFailure, setName, setSettingspublic MavenResolver(String name, URI rootUri, RepositoryTransport transport, LocallyAvailableResourceFinder<org.apache.ivy.core.module.id.ArtifactRevisionId> locallyAvailableResourceFinder, CachedExternalResourceIndex<String> cachedExternalResourceIndex)
public void addArtifactLocation(URI baseUri, String pattern)
addArtifactLocation in interface PatternBasedResolverpublic void addDescriptorLocation(URI baseUri, String pattern)
addDescriptorLocation in interface PatternBasedResolverpublic org.apache.ivy.plugins.resolver.util.ResolvedResource findIvyFileRef(org.apache.ivy.core.module.descriptor.DependencyDescriptor dd,
org.apache.ivy.core.resolve.ResolveData data)
findIvyFileRef in interface org.apache.ivy.plugins.resolver.DependencyResolverfindIvyFileRef in class ExternalResourceResolverprotected org.apache.ivy.plugins.resolver.util.ResolvedResource getArtifactRef(org.apache.ivy.core.module.descriptor.Artifact artifact,
Date date,
boolean forDownload)
getArtifactRef in class ExternalResourceResolverprotected String[] listVersions(org.apache.ivy.core.module.id.ModuleRevisionId moduleRevisionId, String pattern, org.apache.ivy.core.module.descriptor.Artifact artifact)
listVersions in class ExternalResourceResolverpublic void dumpSettings()
dumpSettings in interface org.apache.ivy.plugins.resolver.DependencyResolverdumpSettings in class ExternalResourceResolverpublic boolean isUsepoms()
public void setUsepoms(boolean usepoms)
public boolean isUseMavenMetadata()
public void setUseMavenMetadata(boolean useMavenMetadata)
public String getPattern()
public void setPattern(String pattern)
public String getRoot()
public void setRoot(String root)
public void setM2compatible(boolean compatible)
setM2compatible in interface PatternBasedResolversetM2compatible in class ExternalResourceResolverCopyright © 2013. All rights reserved