Class YamlModelReader

  • All Implemented Interfaces:
    org.apache.maven.model.io.ModelReader

    @Component(role=org.apache.maven.model.io.ModelReader.class,
               hint="yaml")
    public class YamlModelReader
    extends org.sonatype.maven.polyglot.io.ModelReaderSupport
    YAML model reader.
    Since:
    0.7
    Author:
    jvanzyl, bentmann
    • Constructor Detail

      • YamlModelReader

        public YamlModelReader()
    • Method Detail

      • read

        public org.apache.maven.model.Model read​(Reader input,
                                                 Map<String,​?> options)
                                          throws IOException,
                                                 org.apache.maven.model.io.ModelParseException
        Throws:
        IOException
        org.apache.maven.model.io.ModelParseException