Class PreCleanMojo

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

    @Mojo(name="pre-clean",
          defaultPhase=PRE_CLEAN,
          threadSafe=true)
    public class PreCleanMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Constructor Detail

      • PreCleanMojo

        public PreCleanMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoFailureException
        Scan the whole Maven target directory for hard directory links ("junctions") and remove them the soft way, i.e. without removing their target directory.
        Throws:
        org.apache.maven.plugin.MojoFailureException