Class BuildToRawPomXMLFilterFactory

java.lang.Object
org.apache.maven.model.transform.BuildToRawPomXMLFilterFactory

public class BuildToRawPomXMLFilterFactory extends Object
Base implementation for providing the BuildToRawPomXML.
Since:
4.0.0
Author:
Robert Scholte
  • Constructor Details

    • BuildToRawPomXMLFilterFactory

      public BuildToRawPomXMLFilterFactory()
    • BuildToRawPomXMLFilterFactory

      public BuildToRawPomXMLFilterFactory(boolean consume)
  • Method Details

    • get

      public final org.codehaus.plexus.util.xml.pull.XmlPullParser get(org.codehaus.plexus.util.xml.pull.XmlPullParser orgParser, Path projectFile)
      Parameters:
      projectFile - will be used by ConsumerPomXMLFilter to get the right filter
    • getRelativePathMapper

      protected Function<Path,Optional<RelativeProject>> getRelativePathMapper()
      Returns:
      the mapper or null if relativePaths don't need to be mapped
    • getDependencyKeyToVersionMapper

      protected BiFunction<String,String,String> getDependencyKeyToVersionMapper()
    • getChangelist

      protected Optional<String> getChangelist()
    • getRevision

      protected Optional<String> getRevision()
    • getSha1

      protected Optional<String> getSha1()