@Mojo(name="compile",
defaultPhase=COMPILE)
public final class CompilerMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CompilerMojo()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute Mojo
|
String |
getExtension()
Get the file scan extension
|
List<String> |
getModuleIds()
Get list of module IDs
|
String |
getNodeModuleExtractPath()
Get node module extraction path
|
String |
getSourceCharSet()
Get source character set
|
String |
getSourcePath()
Get source path
|
String |
getTargetCharSet()
Get target character set
|
String |
getTargetEcmaScriptVersion()
Get target ECMAScript version
|
String |
getTargetPath()
Get target path
|
boolean |
isFollowRequires()
Follow dependencies
|
boolean |
isRelative()
Make modules relative
|
boolean |
isStripAnnotationTypes()
If stripping annotation types
|
void |
setExtension(String extension)
Set the file scan extension
|
void |
setFollowRequires(boolean followRequires)
Set follow dependencies
|
void |
setModuleIds(List<String> moduleIds)
Set list of module IDs
|
void |
setNodeModuleExtractPath(String nodeModuleExtractPath)
Set node module extraction path
|
void |
setRelative(boolean relative)
Set make modules relative
|
void |
setSourceCharSet(String sourceCharSet)
Set source character set
|
void |
setSourcePath(String sourcePath)
Set source path
|
void |
setStripAnnotationTypes(boolean stripAnnotationTypes)
Set if stripping annotation types
|
void |
setTargetCharSet(String targetCharSet)
Set target character set
|
void |
setTargetEcmaScriptVersion(String targetEcmaScriptVersion)
Set target ECMAScript version
|
void |
setTargetPath(String targetPath)
Set target path
|
public String getNodeModuleExtractPath()
public void setNodeModuleExtractPath(String nodeModuleExtractPath)
nodeModuleExtractPath - Node module extraction pathpublic void setModuleIds(List<String> moduleIds)
moduleIds - List of module IDspublic String getSourcePath()
public void setSourcePath(String sourcePath)
sourcePath - Source pathpublic String getSourceCharSet()
public void setSourceCharSet(String sourceCharSet)
sourceCharSet - Source character setpublic String getTargetPath()
public void setTargetPath(String targetPath)
targetPath - Target pathpublic String getTargetCharSet()
public void setTargetCharSet(String targetCharSet)
targetCharSet - Target character setpublic String getTargetEcmaScriptVersion()
public void setTargetEcmaScriptVersion(String targetEcmaScriptVersion)
targetEcmaScriptVersion - ECMAScript versionpublic boolean isStripAnnotationTypes()
public void setStripAnnotationTypes(boolean stripAnnotationTypes)
stripAnnotationTypes - Stripping annotation typespublic boolean isRelative()
public void setRelative(boolean relative)
relative - Relative modulespublic boolean isFollowRequires()
public void setFollowRequires(boolean followRequires)
followRequires - Follow dependenciespublic String getExtension()
public void setExtension(String extension)
extension - File scan extensionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2016. All rights reserved.