Author: buildbot Date: Mon Jun 12 20:10:09 2017 New Revision: 1013921 Log: Staging update by buildbot for sling
Modified: websites/staging/sling/trunk/content/ (props changed) websites/staging/sling/trunk/content/documentation/development.html websites/staging/sling/trunk/content/documentation/development/jspc.html Propchange: websites/staging/sling/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Mon Jun 12 20:10:09 2017 @@ -1 +1 @@ -1798517 +1798520 Modified: websites/staging/sling/trunk/content/documentation/development.html ============================================================================== --- websites/staging/sling/trunk/content/documentation/development.html (original) +++ websites/staging/sling/trunk/content/documentation/development.html Mon Jun 12 20:10:09 2017 @@ -146,7 +146,7 @@ h2:hover > .headerlink, h3:hover > .head <li><a href="http://sling.apache.org/components/htl-maven-plugin/">HTL Maven Plugin</a></li> <li><a href="http://sling.apache.org/components/slingstart-maven-plugin/">SlingStart Maven Plugin</a></li> <li><a href="/documentation/development/maven-launchpad-plugin.html">Maven Launchpad Plugin</a></li> -<li><a href="/documentation/development/jspc.html">Maven JspC Plugin</a></li> +<li><a href="http://sling.apache.org/components/jspc-maven-plugin/">JspC Maven Plugin</a></li> <li><a href="/documentation/development/maven-archetypes.html">Maven Archetypes</a></li> <li><a href="/documentation/development/maventipsandtricks.html">Maven Tips & Tricks</a></li> </ul> @@ -162,7 +162,7 @@ h2:hover > .headerlink, h3:hover > .head <li>A Sonar analysis is available on the <a href="https://analysis.apache.org/dashboard/index/org.apache.sling:sling-builder">analysis.apache.org</a> server.</li> </ul> <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;"> - Rev. 1786260 by sseifert on Fri, 10 Mar 2017 00:03:22 +0000 + Rev. 1798520 by sseifert on Mon, 12 Jun 2017 20:09:58 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project Modified: websites/staging/sling/trunk/content/documentation/development/jspc.html ============================================================================== --- websites/staging/sling/trunk/content/documentation/development/jspc.html (original) +++ websites/staging/sling/trunk/content/documentation/development/jspc.html Mon Jun 12 20:10:09 2017 @@ -19,7 +19,7 @@ --> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> - <title>Apache Sling - Maven JspC Plugin</title> + <title>Apache Sling - HTL Maven Plugin</title> <link rel="icon" href="/res/favicon.ico"> <link rel="stylesheet" href="/res/site.css" type="text/css" media="all"> <link rel="stylesheet" href="/res/codehilite.css" type="text/css" media="all"> @@ -102,13 +102,8 @@ h2:hover > .headerlink, h3:hover > .head </div> - <div class="tip"> - This page is a translated version of <a href="/site/jspc.html" target="sling_cwiki">/site/jspc.html</a>. In case of - doubt you might want to refer to the old page. - </div> - - <h1>Maven JspC Plugin</h1> + <h1>HTL Maven Plugin</h1> <style type="text/css"> /* The following code is added by mdx_elementid.py It was originally lifted from http://subversion.apache.org/style/site.css */ @@ -120,79 +115,9 @@ h2:hover > .headerlink, h3:hover > .head visibility: hidden; } h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style> -<p>The Maven JspC Plugin provides a single goal <code>jspc</code> which is by default executed in the <code>compile</code> phase of the Maven build process. This goal takes all JSP source files from a configured location (<code>src/main/scripts</code> by default) and compiles them into classes in a configurable location (<code>target/jspc-plugin-generated</code> by default). In addition, for each compiled JSP a Declarative Services descriptor is generated and written to a descriptor file (<code>OSGI-INF/jspServiceComponents.xml</code> 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 <code>javax.servlet.Servlet</code> services.</p> -<h2 id="use">Use<a class="headerlink" href="#use" title="Permanent link">¶</a></h2> -<p>To use the Maven JspC Plugin define the following elements in the <code><plugins></code> section of the POM:</p> -<div class="codehilite"><pre><span class="cp"><?xml version="1.0" encoding="ISO-8859-1"?></span> -<span class="nt"><project></span> - .... - <span class="nt"><build></span> - .... - <span class="nt"><plugins></span> - .... - <span class="nt"><plugin></span> - <span class="nt"><groupId></span>org.apache.sling<span class="nt"></groupId></span> - <span class="nt"><artifactId></span>maven-jspc-plugin<span class="nt"></artifactId></span> - <span class="nt"><executions></span> - <span class="nt"><execution></span> - <span class="nt"><id></span>compile-jsp<span class="nt"></id></span> - <span class="nt"><goals></span> - <span class="nt"><goal></span>jspc<span class="nt"></goal></span> - <span class="nt"></goals></span> - <span class="nt"></execution></span> - <span class="nt"></executions></span> - <span class="nt"></plugin></span> - .... - <span class="nt"><plugins></span> - .... - <span class="nt"><build></span> - .... -<span class="nt"><project></span> -</pre></div> - - -<h2 id="configuration">Configuration<a class="headerlink" href="#configuration" title="Permanent link">¶</a></h2> -<p>The Maven JspC Plugin may be configured in the <code><configuration></code> element using the following properties:</p> -<table class="table"> -<thead> -<tr> -<th>Parameter</th> -<th>Default Value</th> -<th>Description</th> -</tr> -</thead> -<tbody> -<tr> -<td><code>sourceDirectory</code></td> -<td><code>$\{project.build.scriptSourceDirectory</code>}</td> -<td>Location of the JSP source file; may be overwritten using the <code>jspc.sourceDirectory</code> system property.</td> -</tr> -<tr> -<td><code>outputDirectory</code></td> -<td><code>$\{project.build.directory}/jspc-plugin-generated</code></td> -<td>Target directory for the compiled JSP classes; may be overwritten using the <code>jspc.outputDirectory</code> system propertiy.</td> -</tr> -<tr> -<td><code>compilerTargetVM</code></td> -<td><code>1.5</code></td> -<td>The Target Virtual Machine Version to generate class files for; may be overwritten using the <code>jspc.compilerTargetVM</code> system property.</td> -</tr> -<tr> -<td><code>compilerSourceVM</code></td> -<td><code>1.5</code></td> -<td>The Compiler Source Version of the Java source generated from the JSP files before compiling into classes; may be overwritten using the <code>jspc.compilerSourceVM</code> system property.</td> -</tr> -<tr> -<td><code>servletPackage</code></td> -<td><code>org.apache.jsp</code></td> -<td>The root package name for the generated class files; may be overwritten using the <code>jspc.servletPackage</code> system property.</td> -</tr> -</tbody> -</table> -<h2 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">¶</a></h2> -<p>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.</p> +<p>See <a href="http://sling.apache.org/components/jspc-maven-plugin/">Apache Sling JspC Maven Plugin documentation</a>.</p> <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;"> - Rev. 1499238 by fmeschbe on Wed, 3 Jul 2013 07:39:54 +0000 + Rev. 1798520 by sseifert on Mon, 12 Jun 2017 20:09:58 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project