Class GenerateRebelMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.zeroturnaround.javarebel.maven.GenerateRebelMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate", defaultPhase=PROCESS_RESOURCES, threadSafe=true) public class GenerateRebelMojo extends org.apache.maven.plugin.AbstractMojo
Generate rebel.xml
  • Field Details

  • Constructor Details

    • GenerateRebelMojo

      public GenerateRebelMojo()
  • Method Details

    • execute

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

      protected String fixFilePath(String path) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • fixFilePath

      protected String fixFilePath(File file) throws org.apache.maven.plugin.MojoExecutionException
      Returns path expressed through rootPath and relativePath.
      Parameters:
      file - to be fixed
      Returns:
      fixed path
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if something goes wrong
    • setProject

      public void setProject(org.apache.maven.project.MavenProject project)
    • getProject

      public org.apache.maven.project.MavenProject getProject()
    • setRelativePath

      public void setRelativePath(String relativePath)
    • getRelativePath

      public String getRelativePath()
    • setRootPath

      public void setRootPath(String rootPath)
    • getRootPath

      public String getRootPath()