Class MirroringArtifactProvider

  • All Implemented Interfaces:
    org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>, IArtifactFileProvider, IArtifactProvider, IRawArtifactFileProvider, IRawArtifactProvider
    Direct Known Subclasses:
    PackedFormatMirroringArtifactProvider

    public class MirroringArtifactProvider
    extends java.lang.Object
    implements IRawArtifactFileProvider
    IRawArtifactFileProvider which caches all accessed artifacts in the local Maven repository.

    Note that a MirroringArtifactProvider is not a transparent cache of the remote providers. The content provided by this instance differs from the remote providers' content in the following ways:

    • This instance provides all content in the local Maven repository (previously cached or installed) in addition to the remote content. This allows lazy access to the remote repositories (bug 347477).
    • This instance only provides the remote artifacts in certain formats, i.e. only the canonical format, or the canonical format and the packed format.