public class GenerateRebelMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
GenerateRebelMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String |
fixFilePath(File file)
Returns path expressed through rootPath and relativePath.
|
protected String |
fixFilePath(String path) |
org.apache.maven.project.MavenProject |
getProject() |
String |
getRelativePath() |
String |
getRootPath() |
void |
setProject(org.apache.maven.project.MavenProject project) |
void |
setRelativePath(String relativePath) |
void |
setRootPath(String rootPath) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected String fixFilePath(String path) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected String fixFilePath(File file) throws org.apache.maven.plugin.MojoExecutionException
file - to be fixedorg.apache.maven.plugin.MojoExecutionException - if something goes wrongpublic void setProject(org.apache.maven.project.MavenProject project)
public org.apache.maven.project.MavenProject getProject()
public void setRelativePath(String relativePath)
public String getRelativePath()
public void setRootPath(String rootPath)
public String getRootPath()
Copyright © 2017. All rights reserved.