@Mojo(name="generate")
public class MdPageGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addDefaultExcludes
By default files like
.gitignore, .cvsignore etc. |
protected List<String> |
buildFilters |
protected List<String> |
filters |
protected org.apache.maven.shared.filtering.MavenResourcesFiltering |
mavenResourcesFiltering |
protected List<String> |
nonFilteredFileExtensions |
protected org.apache.maven.execution.MavenSession |
session
The maven session.
|
protected boolean |
useBuildFilters |
| Constructor and Description |
|---|
MdPageGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
void |
execute()
Execute the maven plugin.
|
protected void |
executeUserFilterComponents(org.apache.maven.shared.filtering.MavenResourcesExecution mavenResourcesExecution) |
protected List<String> |
getCombinedFiltersList() |
String |
getCopyDirectories() |
String |
getInputDirectory() |
String |
getInputFileExtension() |
String |
getOutputDirectory() |
void |
setCopyDirectories(String copyDirectories) |
void |
setInputDirectory(String inputDirectory) |
void |
setOutputDirectory(String outputDirectory) |
@Component protected org.apache.maven.execution.MavenSession session
@Component(role=org.apache.maven.shared.filtering.MavenResourcesFiltering.class,
hint="default")
protected org.apache.maven.shared.filtering.MavenResourcesFiltering mavenResourcesFiltering
@Parameter(defaultValue="true") protected boolean addDefaultExcludes
.gitignore, .cvsignore etc. are excluded which means they will not being
copied. If you need them for a particular reason you can do that by settings this to false. This means
all files like the following will be copied.
@Parameter(defaultValue="true") protected boolean useBuildFilters
public String getInputDirectory()
public void setInputDirectory(String inputDirectory)
public String getOutputDirectory()
public void setOutputDirectory(String outputDirectory)
public String getCopyDirectories()
public void setCopyDirectories(String copyDirectories)
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - Something went wrongpublic String getInputFileExtension()
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
org.codehaus.plexus.context.ContextExceptionprotected void executeUserFilterComponents(org.apache.maven.shared.filtering.MavenResourcesExecution mavenResourcesExecution)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.shared.filtering.MavenFilteringException
mavenResourcesExecution - MavenResourcesExecutionorg.apache.maven.plugin.MojoExecutionException - in case of wrong lookup.org.apache.maven.shared.filtering.MavenFilteringException - in case of failure.Copyright © 2017. All rights reserved.