Class DefaultSuperPomProvider

java.lang.Object
org.apache.maven.model.superpom.DefaultSuperPomProvider
All Implemented Interfaces:
SuperPomProvider

@Named @Singleton @Deprecated(since="4.0.0") public class DefaultSuperPomProvider extends Object implements SuperPomProvider
Deprecated.
use ModelBuilder instead
Provides the super POM that all models implicitly inherit from.
  • Constructor Details

    • DefaultSuperPomProvider

      @Inject public DefaultSuperPomProvider(ModelProcessor modelProcessor)
      Deprecated.
  • Method Details

    • getSuperModel

      public Model getSuperModel(String version)
      Deprecated.
      Description copied from interface: SuperPomProvider
      Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the caller intends to make updates to the model the return value must be cloned before updating to ensure the modifications don't affect future retrievals of the super POM.
      Specified by:
      getSuperModel in interface SuperPomProvider
      Parameters:
      version - The model version to retrieve the super POM for (e.g. "4.0.0"), must not be null.
      Returns:
      The super POM, never null.