Full name:
org.apache.sling:jspc-maven-plugin:2.3.4:jspc
Description:
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.Attributes:
compile.compile.| Name | Type | Since | Description |
|---|---|---|---|
<compilerSourceVM> |
String |
- |
The Compiler Source Version of the Java source generated from the
JSP files before compiling into classes. Default value is: 1.8.User property is: jspc.compilerSourceVM. |
<compilerTargetVM> |
String |
- |
The Target Virtual Machine Version to generate class files for. Default value is: 1.8.User property is: jspc.compilerTargetVM. |
<excludes> |
String[] |
- |
Excluded JSPs, empty by default |
<failOnError> |
boolean |
- |
(no description) Default value is: true.User property is: jspc.failOnError. |
<feature> |
JspcMojo$FeatureDependency |
- |
(no description) |
<generateCompilationReport> |
boolean |
2.3.0 |
Generates a compilation report text file (compilation_report.json)
in the ${project.build.outputDirectory}.
The compilation report has the following format:
{
"packageProviders": [
{
"package": "<a Java package name>",
"providers": [
"<Maven Artifact ID>"
]
}
],
"jspDependencies": [
{
"jsp": "src/main/scripts/<a script>.jsp",
"dependencies": [
"<jar file name>:<path to JSP>",
"src/main/scripts/<path to file in local project>.jsp"
]
}
],
"unusedDependencies": [
"<Maven Artifact ID>"
]
}
Default value is: false.User property is: jspc.generateCompilationReport. |
<includes> |
String[] |
- |
Included JSPs, defaults to "**/*.jsp" |
<jasperClassDebugInfo> |
boolean |
- |
(no description) Default value is: true.User property is: jspc.jasper.classdebuginfo. |
<jasperEnablePooling> |
boolean |
- |
(no description) Default value is: true.User property is: jspc.jasper.enablePooling. |
<jasperGenStringAsCharArray> |
boolean |
- |
(no description) Default value is: false.User property is: jspc.jasper.genStringAsCharArray. |
<jasperIeClassId> |
String |
- |
(no description) Default value is: clsid:8AD9C840-044E-11D1-B3E9-00805F499D93.User property is: jspc.jasper.ieClassId. |
<jasperKeepGenerated> |
boolean |
- |
(no description) Default value is: true.User property is: jspc.jasper.keepgenerated. |
<jasperMappedFile> |
boolean |
- |
(no description) Default value is: true.User property is: jspc.jasper.mappedfile. |
<jasperSuppressSmap> |
boolean |
- |
(no description) Default value is: false.User property is: jspc.jasper.suppressSmap. |
<jasperTrimSpaces> |
boolean |
- |
(no description) Default value is: false.User property is: jspc.jasper.trimSpaces. |
<jspFileExtensions> |
String |
- |
Deprecated. Use the includes filter instead.Default value is: jsp,jspx.User property is: jspc.jspFileExtensions. |
<outputDirectory> |
String |
- |
Target directory for the compiled JSP classes. Default value is: ${project.build.outputDirectory}.User property is: jspc.outputDirectory. |
<printCompilationReport> |
boolean |
- |
Prints a compilation report by listing all the packages and
dependencies that were used during processing the JSPs. Default value is: false.User property is: jspc.printCompilationReport. |
<resourceDirectories> |
File[] |
- |
List of alternative resource directories used during compiling. |
<servletPackage> |
String |
- |
When defined, this will set the value for the
Constants.JSP_PACKAGE_NAME_PROPERTY_NAME system
property of the Jasper compiler, which defines the prefix package
under which compiled JSPs will be generated.User property is: jspc.servletPackage. |
<showSuccess> |
boolean |
- |
(no description) Default value is: false.User property is: jspc.showSuccess. |
<sourceDirectory> |
File |
- |
Location of the JSP source file. Default value is: ${project.build.scriptSourceDirectory}.User property is: jspc.sourceDirectory. |
java.lang.StringNojspc.compilerSourceVM1.8java.lang.StringNojspc.compilerTargetVM1.8java.lang.String[]NobooleanNojspc.failOnErrortrueorg.apache.sling.maven.jspc.JspcMojo$FeatureDependencyNo${project.build.outputDirectory}.
The compilation report has the following format:
{
"packageProviders": [
{
"package": "<a Java package name>",
"providers": [
"<Maven Artifact ID>"
]
}
],
"jspDependencies": [
{
"jsp": "src/main/scripts/<a script>.jsp",
"dependencies": [
"<jar file name>:<path to JSP>",
"src/main/scripts/<path to file in local project>.jsp"
]
}
],
"unusedDependencies": [
"<Maven Artifact ID>"
]
}
boolean2.3.0Nojspc.generateCompilationReportfalse"**/*.jsp"java.lang.String[]NobooleanNojspc.jasper.classdebuginfotruebooleanNojspc.jasper.enablePoolingtruebooleanNojspc.jasper.genStringAsCharArrayfalsejava.lang.StringNojspc.jasper.ieClassIdclsid:8AD9C840-044E-11D1-B3E9-00805F499D93booleanNojspc.jasper.keepgeneratedtruebooleanNojspc.jasper.mappedfiletruebooleanNojspc.jasper.suppressSmapfalsebooleanNojspc.jasper.trimSpacesfalseincludes filter instead.java.lang.StringNojspc.jspFileExtensionsjsp,jspxjava.lang.StringNojspc.outputDirectory${project.build.outputDirectory}booleanNojspc.printCompilationReportfalsejava.io.File[]NoConstants.JSP_PACKAGE_NAME_PROPERTY_NAME system
property of the Jasper compiler, which defines the prefix package
under which compiled JSPs will be generated.java.lang.StringNojspc.servletPackagebooleanNojspc.showSuccessfalsejava.io.FileNojspc.sourceDirectory${project.build.scriptSourceDirectory}