java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.dependencies.TouchMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="touch", threadSafe=true, defaultPhase=DEPLOY) public class TouchMojo extends org.apache.maven.plugin.AbstractMojo
A simple "touch" command.
Author:
Gemini, Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private File
     
    private boolean
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • file

      @Parameter(property="touch.file", required=true) private File file
    • deleteBefore

      @Parameter(property="updateArchive.deleteBefore", required=false, defaultValue="false") private boolean deleteBefore
    • skip

      @Parameter(property="updateArchive.skip", required=false, defaultValue="false") private boolean skip
  • Constructor Details

    • TouchMojo

      public TouchMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException