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
Fields Modifier and Type Field Description protected StringaltDeploymentRepositoryDeployment settingsprotected FiledwTestFolderprotected FiledwTestResourcesprotected org.apache.maven.project.MavenProjectprojectThe maven projectprotected org.apache.maven.execution.MavenSessionsessionprotected FilesourceFolderThe directory where the DataWeave files are going to be located
-
Constructor Summary
Constructors Constructor Description AbstractWeaveMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildTestClassPathEnvironment()protected List<String>compileClasspathElements()protected org.apache.maven.model.DeploymentRepositorygetDeploymentRepository()protected List<String>testClasspathElements()-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Field Detail
-
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
@Parameter(property="altDeploymentRepository") protected String altDeploymentRepository
Deployment settings
-
-
Method Detail
-
buildTestClassPathEnvironment
protected String buildTestClassPathEnvironment()
-
getDeploymentRepository
protected org.apache.maven.model.DeploymentRepository getDeploymentRepository() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
-