org.apache.ivy.plugins.resolver
Class DualResolver
public
class
DualResolver
extends AbstractResolver
DualResolver is used to resolve dependencies with one dependency revolver, called ivy resolver,
and then download artifacts found in the resolved dependencies from a second dependency resolver,
called artifact resolver. It is especially useful with resolvers using repository where there is
a lot of artifact, but no ivy file, like the maven ibiblio repository. If no ivy file is found by
the ivy resolver, the artifact resolver is used to check if there is artifact corresponding to
the request (with default ivy file). For artifact download, however, only the artifact resolver
is used. Exactly two resolvers should be added to this resolver for it to work properly. The
first resolver added if the ivy resolver, the second is the artifact one.
public static final String DESCRIPTOR_OPTIONAL
public static final String DESCRIPTOR_REQUIRED
public void abortPublishTransaction()
public void commitPublishTransaction()
public void dumpSettings()
public boolean exists(
Artifact artifact)
public boolean isAllownomd()
public void publish(
Artifact artifact, File src, boolean overwrite)
public void reportFailure()
public void setAllownomd(boolean allownomd)
public void setDescriptor(String descriptorRule)