| java.lang.Object org.apache.ivy.plugins.resolver.AbstractResolver org.apache.ivy.plugins.resolver.BasicResolver org.apache.ivy.plugins.resolver.AbstractResourceResolver org.apache.ivy.plugins.resolver.RepositoryResolver org.apache.ivy.plugins.resolver.URLResolver org.apache.ivy.plugins.resolver.IvyRepResolver
IvyRepResolver | public class IvyRepResolver extends URLResolver (Code) | | IvyRepResolver is a resolver which can be used to resolve dependencies found in the ivy official
repository for ivy files and ibiblio maven repository for the artifacts, or similar repositories.
For more flexibility with url and patterns, see
org.apache.ivy.plugins.resolver.URLResolver .
|
DEFAULT_IVYPATTERN | final public static String DEFAULT_IVYPATTERN(Code) | | |
DEFAULT_IVYROOT | final public static String DEFAULT_IVYROOT(Code) | | |
IvyRepResolver | public IvyRepResolver()(Code) | | |
getArtifactPatterns | public List getArtifactPatterns()(Code) | | |
setArtpattern | public void setArtpattern(String pattern)(Code) | | |
setIvypattern | public void setIvypattern(String pattern)(Code) | | |
setIvyroot | public void setIvyroot(String root)(Code) | | Sets the root of the maven like repository. The maven like repository is necessarily an http
repository.
Parameters: root - the root of the maven like repository throws: IllegalArgumentException - if root does not start with "http://" |
setM2compatible | public void setM2compatible(boolean m2compatible)(Code) | | |
Methods inherited from org.apache.ivy.plugins.resolver.RepositoryResolver | public DownloadReport download(Artifact[] artifacts, DownloadOptions options)(Code)(Java Doc) public void dumpSettings()(Code)(Java Doc) protected ResolvedResource findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date)(Code)(Java Doc) public ResolvedResource findResourceUsingPattern(String name, Repository repository, LatestStrategy strategy, VersionMatcher versionMatcher, ResourceMDParser rmdparser, ModuleRevisionId mrid, String pattern, Artifact artifact, Date date, boolean alwaysCheckExactRevision)(Code)(Java Doc) protected void findTokenValues(Collection names, List patterns, Map tokenValues, String token)(Code)(Java Doc) protected long get(Resource resource, File dest) throws IOException(Code)(Java Doc) protected String getDestination(String pattern, Artifact artifact, ModuleRevisionId mrid)(Code)(Java Doc) public Repository getRepository()(Code)(Java Doc) public String getTypeName()(Code)(Java Doc) public boolean isAlwaysCheckExactRevision()(Code)(Java Doc) protected ResolvedResource[] listResources(Repository repository, ModuleRevisionId mrid, String pattern, Artifact artifact)(Code)(Java Doc) public void publish(Artifact artifact, File src, boolean overwrite) throws IOException(Code)(Java Doc) public void setAlwaysCheckExactRevision(boolean alwaysCheckExactRevision)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setRepository(Repository repository)(Code)(Java Doc) public void setSettings(ResolverSettings settings)(Code)(Java Doc)
|
Methods inherited from org.apache.ivy.plugins.resolver.AbstractResourceResolver | public void addArtifactPattern(String pattern)(Code)(Java Doc) public void addConfiguredArtifact(IvyPattern p)(Code)(Java Doc) public void addConfiguredIvy(IvyPattern p)(Code)(Java Doc) public void addIvyPattern(String pattern)(Code)(Java Doc) protected ModuleRevisionId convertM2IdForResourceSearch(ModuleRevisionId mrid)(Code)(Java Doc) public void dumpSettings()(Code)(Java Doc) protected Collection filterNames(Collection names)(Code)(Java Doc) protected Collection findArtifactNames(Map tokenValues, String token)(Code)(Java Doc) protected ResolvedResource findArtifactRef(Artifact artifact, Date date)(Code)(Java Doc) public ResolvedResource findIvyFileRef(DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) protected Collection findIvyNames(Map tokenValues, String token)(Code)(Java Doc) protected Collection findNames(Map tokenValues, String token)(Code)(Java Doc) public ResolvedResource findResource(ResolvedResource[] rress, String name, LatestStrategy strategy, VersionMatcher versionMatcher, ResourceMDParser rmdparser, ModuleRevisionId mrid, Date date)(Code)(Java Doc) abstract protected ResolvedResource findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date)(Code)(Java Doc) protected ResolvedResource findResourceUsingPatterns(ModuleRevisionId moduleRevision, List patternList, Artifact artifact, ResourceMDParser rmdparser, Date date)(Code)(Java Doc) protected void findTokenValues(Collection names, List patterns, Map tokenValues, String token)(Code)(Java Doc) public List getArtifactPatterns()(Code)(Java Doc) public List getIvyPatterns()(Code)(Java Doc) public boolean isM2compatible()(Code)(Java Doc) protected void setArtifactPatterns(List patterns)(Code)(Java Doc) protected void setIvyPatterns(List patterns)(Code)(Java Doc) public void setM2compatible(boolean compatible)(Code)(Java Doc)
|
Methods inherited from org.apache.ivy.plugins.resolver.BasicResolver | protected boolean acceptLatest()(Code)(Java Doc) protected void clearArtifactAttempts()(Code)(Java Doc) protected void clearIvyAttempts()(Code)(Java Doc) public DownloadReport download(Artifact[] artifacts, DownloadOptions options)(Code)(Java Doc) public boolean exists(Artifact artifact)(Code)(Java Doc) abstract protected ResolvedResource findArtifactRef(Artifact artifact, Date date)(Code)(Java Doc) protected ResolvedResource findFirstArtifactRef(ModuleDescriptor md, DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) abstract protected Collection findNames(Map tokenValues, String token)(Code)(Java Doc) abstract protected long get(Resource resource, File dest) throws IOException(Code)(Java Doc) protected long getAndCheck(Resource resource, File dest) throws IOException(Code)(Java Doc) protected ResolvedResource getArtifactRef(Artifact artifact, Date date)(Code)(Java Doc) public String[] getChecksumAlgorithms()(Code)(Java Doc) protected ResourceMDParser getDefaultRMDParser(ModuleId mid)(Code)(Java Doc) public ResolvedModuleRevision getDependency(DependencyDescriptor dde, ResolveData data) throws ParseException(Code)(Java Doc) protected long getPublicationDate(ModuleDescriptor md, DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) protected ResourceMDParser getRMDParser(DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) public String getWorkspaceName()(Code)(Java Doc) public boolean isAllownomd()(Code)(Java Doc) public boolean isCheckconsistency()(Code)(Java Doc) public boolean isEnvDependent()(Code)(Java Doc) public ModuleEntry[] listModules(OrganisationEntry org)(Code)(Java Doc) public OrganisationEntry[] listOrganisations()(Code)(Java Doc) public RevisionEntry[] listRevisions(ModuleEntry mod)(Code)(Java Doc) public String[] listTokenValues(String token, Map otherTokenValues)(Code)(Java Doc) protected void logArtifactAttempt(Artifact art, String attempt)(Code)(Java Doc) protected void logAttempt(String attempt)(Code)(Java Doc) protected void logIvyAttempt(String attempt)(Code)(Java Doc) public ResolvedModuleRevision parse(ResolvedResource mdRef, DependencyDescriptor dd, ResolveData data) throws ParseException(Code)(Java Doc) public void reportFailure()(Code)(Java Doc) public void reportFailure(Artifact art)(Code)(Java Doc) public void setAllownomd(boolean b)(Code)(Java Doc) public void setCheckconsistency(boolean checkConsitency)(Code)(Java Doc) public void setChecksums(String checksums)(Code)(Java Doc) public void setEnvDependent(boolean envDependent)(Code)(Java Doc) public void setWorkspaceName(String workspaceName)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|