Class TychoAggregatorMapping

  • All Implemented Interfaces:
    org.apache.maven.model.io.ModelReader, org.sonatype.maven.polyglot.mapping.Mapping

    @Component(role=org.sonatype.maven.polyglot.mapping.Mapping.class,
               hint="tycho-aggregator")
    public class TychoAggregatorMapping
    extends AbstractTychoMapping
    • Field Detail

      • TYCHO_AUTOMATIC_GENERATED_FILE_HEADER_PREFIX

        private static final java.lang.String TYCHO_AUTOMATIC_GENERATED_FILE_HEADER_PREFIX
        See Also:
        Constant Field Values
      • TYCHO_AUTOMATIC_GENERATED_FILE_HEADER

        private static final java.lang.String TYCHO_AUTOMATIC_GENERATED_FILE_HEADER
      • COMMON_NAMES

        private static final java.util.Set<java.lang.String> COMMON_NAMES
    • Constructor Detail

      • TychoAggregatorMapping

        public TychoAggregatorMapping()
    • Method Detail

      • initModel

        protected void initModel​(org.apache.maven.model.Model model,
                                 java.io.Reader artifactReader,
                                 java.io.File artifactFile)
                          throws org.apache.maven.model.io.ModelParseException,
                                 java.io.IOException
        Specified by:
        initModel in class AbstractTychoMapping
        Throws:
        org.apache.maven.model.io.ModelParseException
        java.io.IOException
      • getPriority

        public float getPriority()
        Specified by:
        getPriority in interface org.sonatype.maven.polyglot.mapping.Mapping
        Overrides:
        getPriority in class AbstractTychoMapping
      • isCurrent

        private boolean isCurrent​(java.io.File file)