Class DefaultConflictResolverFactory

java.lang.Object
org.apache.maven.repository.legacy.resolver.conflict.DefaultConflictResolverFactory
All Implemented Interfaces:
ConflictResolverFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

@Named @Singleton @Deprecated public class DefaultConflictResolverFactory extends Object implements ConflictResolverFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Deprecated.
A conflict resolver factory that obtains instances from a plexus container. TODO you don't need the container in here with the active maps (jvz).
Since:
3.0
  • Constructor Details

    • DefaultConflictResolverFactory

      public DefaultConflictResolverFactory()
      Deprecated.
  • Method Details

    • getConflictResolver

      public ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException
      Deprecated.
      Description copied from interface: ConflictResolverFactory
      Gets a conflict resolver of the specified type.
      Specified by:
      getConflictResolver in interface ConflictResolverFactory
      Parameters:
      type - the type of conflict resolver to obtain
      Returns:
      the conflict resolver
      Throws:
      ConflictResolverNotFoundException - if the specified type was not found
    • contextualize

      public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
      Deprecated.
      Specified by:
      contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
      Throws:
      org.codehaus.plexus.context.ContextException