@Mojo(name="jspc",
defaultPhase=COMPILE,
requiresDependencyResolution=COMPILE)
public class JspcMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.apache.sling.scripting.jsp.jasper.Options
JspcMojo
is implements the Sling Maven JspC goal
jspc
compiling 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 and Description |
---|
JspcMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
boolean |
genStringAsCharArray() |
boolean |
getClassDebugInfo() |
String |
getCompiler() |
String |
getCompilerClassName() |
String |
getCompilerSourceVM() |
String |
getCompilerTargetVM() |
boolean |
getDisplaySourceFragment() |
boolean |
getErrorOnUseBeanInvalidClassAttribute() |
boolean |
getFork() |
String |
getIeClassId() |
String |
getJavaEncoding() |
org.apache.sling.scripting.jsp.jasper.compiler.JspConfig |
getJspConfig() |
boolean |
getKeepGenerated() |
boolean |
getMappedFile() |
String |
getScratchDir() |
boolean |
getSendErrorToClient() |
org.apache.sling.scripting.jsp.jasper.compiler.TagPluginManager |
getTagPluginManager() |
org.apache.sling.scripting.jsp.jasper.compiler.TldLocationsCache |
getTldLocationsCache() |
boolean |
getTrimSpaces() |
boolean |
isPoolingEnabled() |
boolean |
isSmapDumped() |
boolean |
isSmapSuppressed() |
boolean |
isXpoweredBy() |
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
public boolean genStringAsCharArray()
genStringAsCharArray
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getClassDebugInfo()
getClassDebugInfo
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getCompiler()
getCompiler
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getCompilerClassName()
getCompilerClassName
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getCompilerSourceVM()
getCompilerSourceVM
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getCompilerTargetVM()
getCompilerTargetVM
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getErrorOnUseBeanInvalidClassAttribute()
getErrorOnUseBeanInvalidClassAttribute
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getFork()
getFork
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getIeClassId()
getIeClassId
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getJavaEncoding()
getJavaEncoding
in interface org.apache.sling.scripting.jsp.jasper.Options
public org.apache.sling.scripting.jsp.jasper.compiler.JspConfig getJspConfig()
getJspConfig
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getKeepGenerated()
getKeepGenerated
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getMappedFile()
getMappedFile
in interface org.apache.sling.scripting.jsp.jasper.Options
public String getScratchDir()
getScratchDir
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getSendErrorToClient()
getSendErrorToClient
in interface org.apache.sling.scripting.jsp.jasper.Options
public org.apache.sling.scripting.jsp.jasper.compiler.TagPluginManager getTagPluginManager()
getTagPluginManager
in interface org.apache.sling.scripting.jsp.jasper.Options
public org.apache.sling.scripting.jsp.jasper.compiler.TldLocationsCache getTldLocationsCache()
getTldLocationsCache
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getTrimSpaces()
getTrimSpaces
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean isPoolingEnabled()
isPoolingEnabled
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean isSmapDumped()
isSmapDumped
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean isSmapSuppressed()
isSmapSuppressed
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean isXpoweredBy()
isXpoweredBy
in interface org.apache.sling.scripting.jsp.jasper.Options
public boolean getDisplaySourceFragment()
getDisplaySourceFragment
in interface org.apache.sling.scripting.jsp.jasper.Options
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.