Class GraphicsMojo

  • All Implemented Interfaces:
    ParameterAdapter, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="grp")
    public class GraphicsMojo
    extends AbstractLatexMojo
    Transforms all graphic files into formats which can be included into LaTeX files for the goal grp which is not tied to a lifecycle phase.
    • Constructor Detail

      • GraphicsMojo

        public GraphicsMojo()
    • 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 file
        • EFU06: Cannot move file
        • WPP02: tex file may be latex main file
        • WPP03: Skipped processing of files with suffixes ...
        • EEX01, EEX02, EEX03, WEX04, WEX05: if running graphic processors failed.
        Throws:
        org.apache.maven.plugin.MojoFailureException -
        • TSS02 if the tex source processing directory does either not exist or is not a directory.
        • TEX01 invoking FIXME