Class ChkMojo

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

    @Mojo(name="chk")
    public class ChkMojo
    extends AbstractLatexMojo
    Checks all latex main files after having created all graphical files.

    Defines the goal chk which is not tied to a lifecycle phase.

    • Constructor Detail

      • ChkMojo

        public ChkMojo()
    • 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:

        • WPP02: tex file may be latex main file
        • WFU01: Cannot read directory...
        • WFU03: cannot close tex file
        • EFU05: Failed to delete file
        Throws:
        BuildFailureException - TSS02 if the tex source processing directory does either not exist or is not a directory.
        org.apache.maven.plugin.MojoFailureException