Package org.apache.sling.maven.jspc
Class JspcMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.sling.maven.jspc.JspcMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.apache.sling.scripting.jsp.jasper.Options
@Mojo(name="jspc", defaultPhase=COMPILE, requiresDependencyResolution=COMPILE) public class JspcMojo extends org.apache.maven.plugin.AbstractMojo implements org.apache.sling.scripting.jsp.jasper.OptionsTheJspcMojois implements the Sling Maven JspC goaljspccompiling JSP into the target and creating a component descriptor for Declarative Services to use the JSP with the help of the appropriate adapter as component.
-
-
Constructor Summary
Constructors Constructor Description JspcMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()booleangenStringAsCharArray()booleangetClassDebugInfo()StringgetCompiler()StringgetCompilerClassName()StringgetCompilerSourceVM()StringgetCompilerTargetVM()booleangetDisplaySourceFragment()booleangetErrorOnUseBeanInvalidClassAttribute()booleangetFork()StringgetIeClassId()StringgetJavaEncoding()org.apache.sling.scripting.jsp.jasper.compiler.JspConfiggetJspConfig()booleangetKeepGenerated()booleangetMappedFile()StringgetScratchDir()booleangetSendErrorToClient()org.apache.sling.scripting.jsp.jasper.compiler.TagPluginManagergetTagPluginManager()org.apache.sling.scripting.jsp.jasper.compiler.TldLocationsCachegetTldLocationsCache()booleangetTrimSpaces()booleanisPoolingEnabled()booleanisSmapDumped()booleanisSmapSuppressed()booleanisXpoweredBy()
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
genStringAsCharArray
public boolean genStringAsCharArray()
- Specified by:
genStringAsCharArrayin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getClassDebugInfo
public boolean getClassDebugInfo()
- Specified by:
getClassDebugInfoin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getCompiler
public String getCompiler()
- Specified by:
getCompilerin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getCompilerClassName
public String getCompilerClassName()
- Specified by:
getCompilerClassNamein interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getCompilerSourceVM
public String getCompilerSourceVM()
- Specified by:
getCompilerSourceVMin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getCompilerTargetVM
public String getCompilerTargetVM()
- Specified by:
getCompilerTargetVMin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getErrorOnUseBeanInvalidClassAttribute
public boolean getErrorOnUseBeanInvalidClassAttribute()
- Specified by:
getErrorOnUseBeanInvalidClassAttributein interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getFork
public boolean getFork()
- Specified by:
getForkin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getIeClassId
public String getIeClassId()
- Specified by:
getIeClassIdin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getJavaEncoding
public String getJavaEncoding()
- Specified by:
getJavaEncodingin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getJspConfig
public org.apache.sling.scripting.jsp.jasper.compiler.JspConfig getJspConfig()
- Specified by:
getJspConfigin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getKeepGenerated
public boolean getKeepGenerated()
- Specified by:
getKeepGeneratedin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getMappedFile
public boolean getMappedFile()
- Specified by:
getMappedFilein interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getScratchDir
public String getScratchDir()
- Specified by:
getScratchDirin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getSendErrorToClient
public boolean getSendErrorToClient()
- Specified by:
getSendErrorToClientin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getTagPluginManager
public org.apache.sling.scripting.jsp.jasper.compiler.TagPluginManager getTagPluginManager()
- Specified by:
getTagPluginManagerin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getTldLocationsCache
public org.apache.sling.scripting.jsp.jasper.compiler.TldLocationsCache getTldLocationsCache()
- Specified by:
getTldLocationsCachein interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getTrimSpaces
public boolean getTrimSpaces()
- Specified by:
getTrimSpacesin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
isPoolingEnabled
public boolean isPoolingEnabled()
- Specified by:
isPoolingEnabledin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
isSmapDumped
public boolean isSmapDumped()
- Specified by:
isSmapDumpedin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
isSmapSuppressed
public boolean isSmapSuppressed()
- Specified by:
isSmapSuppressedin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
isXpoweredBy
public boolean isXpoweredBy()
- Specified by:
isXpoweredByin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
getDisplaySourceFragment
public boolean getDisplaySourceFragment()
- Specified by:
getDisplaySourceFragmentin interfaceorg.apache.sling.scripting.jsp.jasper.Options
-
-