|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.kathrynhuxtable.maven.plugins.htmlfiltersite.MergeMojo
public class MergeMojo
Goal runs Velocity on the files in the specified directory.
Field Summary | |
---|---|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
The local repository. |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected List<?> |
reactorProjects
The reactor projects. |
protected List<?> |
repositories
Remote repositories used for the project. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
MergeMojo()
|
Method Summary | |
---|---|
void |
execute()
|
protected String |
getInputEncoding()
Gets the input files encoding. |
protected String |
getOutputEncoding()
Gets the effective reporting output files encoding. |
org.apache.maven.project.MavenProject |
getProject()
Maven project. |
protected List<org.jdom.Element> |
getXPathList(org.jdom.Document document,
String path)
Extract a list matching an XPath path. |
void |
setFilePattern(String filePattern)
Set the file pattern. |
void |
setI18n(org.codehaus.plexus.i18n.I18N i18n)
Set the Plexus internationalization object. |
void |
setInputEncoding(String inputEncoding)
Set the input encoding. |
void |
setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Set the local repository. |
void |
setOutputEncoding(String outputEncoding)
Set the output encoding. |
void |
setProject(org.apache.maven.project.MavenProject project)
Set the project. |
void |
setReactorProjects(List<?> reactorProjects)
Set the reactor projects. |
void |
setRepositories(List<?> repositories)
Set the repositories. |
void |
setSiteDirectory(File siteDirectory)
Set the site directory. |
void |
setSiteTool(org.apache.maven.doxia.tools.SiteTool siteTool)
Set the site tool object. |
void |
setSourceDirectory(File sourceDirectory)
Set the source directory. |
void |
setTargetDirectory(File targetDirectory)
Set the target directory. |
void |
setTemplateFile(File templateFile)
Set the template file. |
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 Detail |
---|
protected List<?> repositories
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.apache.maven.project.MavenProject project
protected List<?> reactorProjects
Constructor Detail |
---|
public MergeMojo()
Method Detail |
---|
public org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
project
- the project to setprotected String getInputEncoding()
null
.public void setInputEncoding(String inputEncoding)
inputEncoding
- the inputEncoding to setpublic void setOutputEncoding(String outputEncoding)
outputEncoding
- the outputEncoding to setprotected String getOutputEncoding()
null
.public void setRepositories(List<?> repositories)
repositories
- the repositories to setpublic void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
localRepository
- the localRepository to setpublic void setFilePattern(String filePattern)
filePattern
- the filePattern to setpublic void setSiteDirectory(File siteDirectory)
siteDirectory
- the siteDirectory to setpublic void setSourceDirectory(File sourceDirectory)
sourceDirectory
- the sourceDirectory to setpublic void setTargetDirectory(File targetDirectory)
targetDirectory
- the targetDirectory to setpublic void setTemplateFile(File templateFile)
templateFile
- the templateFile to setpublic void setI18n(org.codehaus.plexus.i18n.I18N i18n)
i18n
- the i18n to setpublic void setReactorProjects(List<?> reactorProjects)
reactorProjects
- the reactorProjects to setpublic void setSiteTool(org.apache.maven.doxia.tools.SiteTool siteTool)
siteTool
- the siteTool to setpublic void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Mojo.execute()
protected List<org.jdom.Element> getXPathList(org.jdom.Document document, String path)
document
- the document.path
- the path to select.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |