Class CfgLatexMojo

    • Constructor Detail

      • CfgLatexMojo

        public CfgLatexMojo()
    • Method Detail

      • getTargetSet

        public SortedSet<Target> getTargetSet()
        Description copied from interface: ParameterAdapter
        Returns the set of target. FIXME: Better would be Enum set but best a sorted kind of EnumSet The set is an EnumSet and thus in a sense sorted, although not imlementing SortedSet: ***** The iterator returned by the iterator method traverses the elements in their natural order (the order in which the enum constants are declared). TODO: generalize to more than one target.
      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoFailureException
        Invoked by maven executing the plugin.

        Logging:

        • WFU01: Cannot read directory...
        • WFU03: cannot close
        • EFU05: Cannot delete
        • EFU06: Cannot move file
        • WPP02: tex file may be latex main file
        • WPP03: Skipped processing of files with suffixes ...
        • EEX01, EEX02, EEX03, WEX04, WEX05: applications for preprocessing graphic files or processing a latex main file fails.
        Throws:
        org.apache.maven.plugin.MojoFailureException -
        • TSS01 if the tex source directory does either not exist or is not a directory.
        • TSS02 if the tex source processing directory does either not exist or is not a directory.
        • TSS03 if the output directory exists and is no directory.
        • TEX01 if invocation of applications for preprocessing graphic files or processing a latex main file fails
        • TFU01 if the target directory that would be returned exists already as a regular file.
        • TFU03, TFU04, TFU05, TFU06 if copy of output files to target folder fails. For details see LatexProcessor.create().