sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sseif...@apache.org
Subject svn commit: r1798520 - in /sling/site/trunk/content/documentation: development.mdtext development/jspc.mdtext
Date Mon, 12 Jun 2017 20:09:59 GMT
Author: sseifert
Date: Mon Jun 12 20:09:58 2017
New Revision: 1798520

URL: http://svn.apache.org/viewvc?rev=1798520&view=rev
Log:
prepare switch to maven plugin site documentation

Modified:
    sling/site/trunk/content/documentation/development.mdtext
    sling/site/trunk/content/documentation/development/jspc.mdtext

Modified: sling/site/trunk/content/documentation/development.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/development.mdtext?rev=1798520&r1=1798519&r2=1798520&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/development.mdtext (original)
+++ sling/site/trunk/content/documentation/development.mdtext Mon Jun 12 20:09:58 2017
@@ -36,7 +36,7 @@ Sling is using Apache Maven 3 as its bui
 * [HTL Maven Plugin](http://sling.apache.org/components/htl-maven-plugin/)
 * [SlingStart Maven Plugin](http://sling.apache.org/components/slingstart-maven-plugin/)
 * [Maven Launchpad Plugin]({{ refs.maven-launchpad-plugin.path }})
-* [Maven JspC Plugin]({{ refs.jspc.path }})
+* [JspC Maven Plugin](http://sling.apache.org/components/jspc-maven-plugin/)
 * [Maven Archetypes]({{ refs.maven-archetypes.path }})
 * [Maven Tips & Tricks]({{ refs.maventipsandtricks.path }})
 

Modified: sling/site/trunk/content/documentation/development/jspc.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/development/jspc.mdtext?rev=1798520&r1=1798519&r2=1798520&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/development/jspc.mdtext (original)
+++ sling/site/trunk/content/documentation/development/jspc.mdtext Mon Jun 12 20:09:58 2017
@@ -1,60 +1,3 @@
-translation_pending: true
-Title: Maven JspC Plugin
-Excerpt: Compiles JSP scripts into class files and generates Declarative Service Descriptors
to register the compiled JSPs as services
+Title: HTL Maven Plugin
 
-
-The Maven JspC Plugin provides a single goal `jspc` which is by default executed in the `compile`
phase of the Maven build process. This goal takes all JSP source files from a configured location
(`src/main/scripts` by default) and compiles them into classes in a configurable location
(`target/jspc-plugin-generated` by default). In addition, for each compiled JSP a Declarative
Services descriptor is generated and written to a descriptor file (`OSGI-INF/jspServiceComponents.xml`
in the output location). This descriptor will then be read by the Service Component Runtime
of the deployment OSGi framework to register all contained JSP as `javax.servlet.Servlet`
services.
-
-
-
-## Use
-
-To use the Maven JspC Plugin define the following elements in the `<plugins>` section
of the POM:
-
-
-    <?xml version="1.0" encoding="ISO-8859-1"?>
-    <project>
-        ....
-        <build>
-            ....
-            <plugins>
-                ....
-                <plugin>
-                    <groupId>org.apache.sling</groupId>
-                    <artifactId>maven-jspc-plugin</artifactId>
-                    <executions>
-                        <execution>
-                            <id>compile-jsp</id>
-                            <goals>
-                                <goal>jspc</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                </plugin>
-                ....
-            <plugins>
-            ....
-        <build>
-        ....
-    <project>
-
-
-
-
-## Configuration
-
-The Maven JspC Plugin may be configured in the `<configuration>` element using the
following properties:
-
-| Parameter | Default Value | Description |
-|--|--|--|
-| `sourceDirectory` | `$\{project.build.scriptSourceDirectory`} | Location of the JSP source
file; may be overwritten using the `jspc.sourceDirectory` system property. |
-| `outputDirectory` | `$\{project.build.directory}/jspc-plugin-generated` | Target directory
for the compiled JSP classes; may be overwritten using the `jspc.outputDirectory` system propertiy.
|
-| `compilerTargetVM` | `1.5` | The Target Virtual Machine Version to generate class files
for; may be overwritten using the `jspc.compilerTargetVM` system property. |
-| `compilerSourceVM` | `1.5` | The Compiler Source Version of the Java source generated from
the JSP files before compiling into classes; may be overwritten using the `jspc.compilerSourceVM`
system property. |
-| `servletPackage` | `org.apache.jsp` | The root package name for the generated class files;
may be overwritten using the `jspc.servletPackage` system property. |
-
-
-
-## Notes
-
-The generated JSP classes as well as the Declarative Services descriptor are automatically
copied to the generated bundle jar file if the Maven Bundle Plugin (from the Apache Felix)
project is used to build the project package.
\ No newline at end of file
+See [Apache Sling JspC Maven Plugin documentation](http://sling.apache.org/components/jspc-maven-plugin/).



Mime
View raw message