|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.jomc.mojo.AbstractJomcMojo
org.jomc.mojo.AbstractResourcesWriteMojo
org.jomc.mojo.TestResourcesWriteMojo
public final class TestResourcesWriteMojo
Writes a projects' test resource files.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
TestResourcesWriteMojo()
Creates a new TestResourcesWriteMojo instance. |
Method Summary | |
---|---|
protected void |
addMavenResource(MavenProject mavenProject,
org.apache.maven.model.Resource resource)
Adds a resource to a MavenProjecŧ . |
protected String |
getExecutionStrategy()
Gets the execution strategy of the instance. |
protected String |
getGoal()
Gets the goal of the instance. |
protected ClassLoader |
getResourcesClassLoader()
Gets the class loader to use for writing resource files. |
protected File |
getResourcesDirectory()
Gets the directory to write the resource files to. |
protected String |
getResourcesModuleName()
Gets the name of the module to write resource files of. |
protected File |
getResourcesOutputDirectory()
Gets the directory to copy resource files to. |
Methods inherited from class org.jomc.mojo.AbstractResourcesWriteMojo |
---|
executeTool |
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 Detail |
---|
public TestResourcesWriteMojo()
TestResourcesWriteMojo
instance.
Method Detail |
---|
protected String getResourcesModuleName() throws MojoExecutionException
AbstractResourcesWriteMojo
getResourcesModuleName
in class AbstractResourcesWriteMojo
MojoExecutionException
- if getting the name fails.protected ClassLoader getResourcesClassLoader() throws MojoExecutionException
AbstractResourcesWriteMojo
getResourcesClassLoader
in class AbstractResourcesWriteMojo
MojoExecutionException
- if getting the class loader fails.protected File getResourcesDirectory() throws MojoExecutionException
AbstractResourcesWriteMojo
getResourcesDirectory
in class AbstractResourcesWriteMojo
MojoExecutionException
- if getting the directory fails.protected String getGoal() throws MojoExecutionException
AbstractJomcMojo
getGoal
in class AbstractJomcMojo
MojoExecutionException
- if getting the goal of the instance fails.protected String getExecutionStrategy() throws MojoExecutionException
AbstractJomcMojo
getExecutionStrategy
in class AbstractJomcMojo
MojoExecutionException
- if getting the execution strategy of the instance fails.protected File getResourcesOutputDirectory() throws MojoExecutionException
AbstractResourcesWriteMojo
getResourcesOutputDirectory
in class AbstractResourcesWriteMojo
MojoExecutionException
- if getting the directory fails.protected void addMavenResource(MavenProject mavenProject, org.apache.maven.model.Resource resource) throws MojoExecutionException
AbstractResourcesWriteMojo
MavenProjecŧ
.
addMavenResource
in class AbstractResourcesWriteMojo
mavenProject
- The MavenProject
to add a resource to.resource
- The Resource
to add.
MojoExecutionException
- if adding the resource fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |