Class RenameMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.kohlschutter.mavenplugins.copyrename.RenameMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="rename", defaultPhase=GENERATE_SOURCES, threadSafe=true) public class RenameMojo extends org.apache.maven.plugin.AbstractMojo
Rename files or directories during build.
Since:
1.0
Author:
Aneesh Joseph
  • Field Summary

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance of the "rename" mojo.
  • 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
  • Constructor Details

    • RenameMojo

      public RenameMojo()
      Creates a new instance of the "rename" mojo.
  • Method Details

    • execute

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