Package org.mule.weave.maven.plugin
Class AbstractWeaveMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.mule.weave.maven.plugin.AbstractWeaveMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
WeaveCompileMojo,WeaveDocsMojo,WeavePackagerMojo,WeaveProjectInitializeMojo,WeaveTestMojo
public abstract class AbstractWeaveMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeployment settingsprotected Fileprotected Fileprotected org.apache.maven.project.MavenProjectThe maven projectprotected org.apache.maven.execution.MavenSessionprotected FileThe directory where the DataWeave files are going to be locatedFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildTestClassPathEnvironment(String... testClasspathElements) protected org.apache.maven.model.DeploymentRepositoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project -
session
@Parameter(defaultValue="${session}", required=true, readonly=true) protected org.apache.maven.execution.MavenSession session -
sourceFolder
@Parameter(defaultValue="${project.basedir}/src/main/dw", required=true, readonly=true) protected File sourceFolderThe directory where the DataWeave files are going to be located -
dwTestFolder
@Parameter(defaultValue="${project.basedir}/src/test/dw", required=true, readonly=true) protected File dwTestFolder -
dwTestResources
@Parameter(defaultValue="${project.basedir}/src/test/resources", required=true, readonly=true) protected File dwTestResources -
altDeploymentRepository
Deployment settings
-
-
Constructor Details
-
AbstractWeaveMojo
public AbstractWeaveMojo()
-
-
Method Details
-
buildTestClassPathEnvironment
-
compileClasspathElements
-
testClasspathElements
-
getDeploymentRepository
protected org.apache.maven.model.DeploymentRepository getDeploymentRepository() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-