Class ProtobufMavenPluginRepositorySession

java.lang.Object
org.eclipse.aether.AbstractForwardingRepositorySystemSession
io.github.ascopes.protobufmavenplugin.dependencies.aether.ProtobufMavenPluginRepositorySession
All Implemented Interfaces:
org.eclipse.aether.RepositorySystemSession

final class ProtobufMavenPluginRepositorySession extends org.eclipse.aether.AbstractForwardingRepositorySystemSession
Custom repository session for the Protobuf Maven Plugin which injects some special components to deal with resolution of dependencies for edge cases.

For all other purposes, this delegates to the default implementation.

Since:
2.0.3
Author:
Ashley Scopes
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.aether.RepositorySystemSession

    org.eclipse.aether.RepositorySystemSession.CloseableSession, org.eclipse.aether.RepositorySystemSession.SessionBuilder
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.eclipse.aether.RepositorySystemSession
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProtobufMavenPluginRepositorySession(org.eclipse.aether.RepositorySystemSession delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.eclipse.aether.resolution.ResolutionErrorPolicy
     
    protected org.eclipse.aether.RepositorySystemSession
     

    Methods inherited from class org.eclipse.aether.AbstractForwardingRepositorySystemSession

    addOnSessionEndedHandler, getArtifactDescriptorPolicy, getArtifactTypeRegistry, getArtifactUpdatePolicy, getAuthenticationSelector, getCache, getChecksumPolicy, getConfigProperties, getData, getDependencyGraphTransformer, getDependencyManager, getDependencySelector, getLocalRepository, getLocalRepositoryManager, getMetadataUpdatePolicy, getMirrorSelector, getProxySelector, getRepositoryListener, getScopeManager, getSystemDependencyScope, getSystemProperties, getTransferListener, getUpdatePolicy, getUserProperties, getVersionFilter, getWorkspaceReader, isIgnoreArtifactDescriptorRepositories, isOffline

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • delegate

      private final org.eclipse.aether.RepositorySystemSession delegate
  • Constructor Details

    • ProtobufMavenPluginRepositorySession

      ProtobufMavenPluginRepositorySession(org.eclipse.aether.RepositorySystemSession delegate)
  • Method Details

    • getSession

      protected org.eclipse.aether.RepositorySystemSession getSession()
      Specified by:
      getSession in class org.eclipse.aether.AbstractForwardingRepositorySystemSession
    • getDependencyTraverser

      public WildcardAwareDependencyTraverser getDependencyTraverser()
      Specified by:
      getDependencyTraverser in interface org.eclipse.aether.RepositorySystemSession
      Overrides:
      getDependencyTraverser in class org.eclipse.aether.AbstractForwardingRepositorySystemSession
    • getResolutionErrorPolicy

      public org.eclipse.aether.resolution.ResolutionErrorPolicy getResolutionErrorPolicy()
      Specified by:
      getResolutionErrorPolicy in interface org.eclipse.aether.RepositorySystemSession
      Overrides:
      getResolutionErrorPolicy in class org.eclipse.aether.AbstractForwardingRepositorySystemSession