http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/configuration.html ---------------------------------------------------------------------- diff --git a/documentation/configuration.html b/documentation/configuration.html index 9f40693..dd906f6 100644 --- a/documentation/configuration.html +++ b/documentation/configuration.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » </div> <h1 class="pagetitle"> Configuration - </h1><div class="tags"><a href="/tags/configuration.html" class="label">configuration</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#introduction" name="introduction">Introduction</a></h2> + </h1><div class="tags"><a href="/tags/configuration.html" class="label">configuration</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#introduction" name="introduction">Introduction</a></h2> <p>Configuration in Sling is aligned with respective support by the OSGi specification:</p> <ul> <li>Framework and Java system properties are available through the <code>BundleContext.getProperty(String)</code> method. These properties are provided in Sling through the Sling launcher.</li> @@ -260,7 +262,9 @@ <h2><a href="#configuration-admin-service" name="configuration-admin-service">Configuration Admin Service</a></h2> <p>Configuration of the system entities, such as services and components, by the system administrator is supported the Configuration Admin Service. The Configuration Admin Service acts as the center for the management of the configuration data, to which GUI-based tools will connect to retrieve and update configuration data. The Configuration Admin Service is responsible for persisting the configuration data and for providing configuration consumers with the configuration data. Specifically services registered with the <code>ManagedService</code> or <code>ManagedServiceFactory</code> interfaces are updated with the configuration upon updated. The Service Component Runtime on the other hand recognizes updated configuration and provides it to the managed components as defined in the OSGi Declarative Services Specification.</p> <p>By default the Configuration Admin Service is installed when Sling is started for the first time. This service is used by the Service Component Runtime launching the OSGi components declared in the bundles with configuration values. The Sling Management Console provides a simple GUI to manage these configuration elements on the 'Configuration' page.</p> -<p>For more information on the Configuration Admin Service refer to the OSGi Configuration Admin Service Specification in the OSGi Service Platform Service Compendium book.</p></section></div></div> +<p>For more information on the Configuration Admin Service refer to the OSGi Configuration Admin Service Specification in the OSGi Service Platform Service Compendium book.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development.html ---------------------------------------------------------------------- diff --git a/documentation/development.html b/documentation/development.html index 119bf49..e4b3c75 100644 --- a/documentation/development.html +++ b/documentation/development.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » </div> <h1 class="pagetitle"> Development - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/pmc.html" class="label">pmc</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Welcome to the wonderful world of extending Sling. Refer to these pages to find out how we envision the extension of Sling and how to do it.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/pmc.html" class="label">pmc</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Welcome to the wonderful world of extending Sling. Refer to these pages to find out how we envision the extension of Sling and how to do it.</p> <h2><a href="#using-sling-as-your-development-framework" name="using-sling-as-your-development-framework">Using Sling as your Development Framework</a></h2> <p>Look here for more information on developper support when your are using Sling to build your own applications.</p> <ul> @@ -117,7 +119,9 @@ <li><a href="/documentation/development/maven-usage.html">Maven Usage</a></li> <li>To run our integration tests suite see the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing/README.txt">launchpad/testing module README</a> and the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/README.txt">launchpad/integration-tests README</a> for how to run individual integration tests. We use the <a href="https://issues.apache.org/jira/issues/?jql=labels%20%3D%20sling-IT">sling-IT</a> label in JIRA for known issues with our integration tests.</li> <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></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/client-request-logging.html ---------------------------------------------------------------------- diff --git a/documentation/development/client-request-logging.html b/documentation/development/client-request-logging.html index bedb80b..757275c 100644 --- a/documentation/development/client-request-logging.html +++ b/documentation/development/client-request-logging.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Client Request Logging - </h1><div class="tags"><a href="/tags/requests.html" class="label">requests</a> <a href="/tags/operations.html" class="label">operations</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling provides extensive support to log various information at the before and after processing client requests. Out of the box, there are two loggers configured to write traditional <code>access.log</code> and <code>request.log</code> files. In addition more logging can be configured by providing OSGi Configuration Admin configuration.</p> + </h1><div class="tags"><a href="/tags/requests.html" class="label">requests</a> <a href="/tags/operations.html" class="label">operations</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling provides extensive support to log various information at the before and after processing client requests. Out of the box, there are two loggers configured to write traditional <code>access.log</code> and <code>request.log</code> files. In addition more logging can be configured by providing OSGi Configuration Admin configuration.</p> <h2><a href="#traditional-access-log-and-request-log-files" name="traditional-access-log-and-request-log-files">Traditional access.log and request.log Files</a></h2> <p>In the Web Console configure the <em>Apache Sling Request Logger</em> (PID=<code>org.apache.sling.engine.impl.log.RequestLogger</code>) configuration.</p> <p>In the Sling Web Console locate the Configuration page (<code>/system/console/configMgr</code>) and click on the pencil (edit) symbol on the <em>Apache Sling Request Logger</em> line. This opens a dialog to enter the configuration whose properties can be configured as follows:</p> @@ -363,7 +365,9 @@ </ul> </li> <li>Optionally, you may create an <em>Apache Sling Logging Writer Configuration</em> for the log file defined in the previous step to better control rotation setup. See the corresponding docs for full details.</li> -</ol></section></div></div> +</ol></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/dependency-management.html ---------------------------------------------------------------------- diff --git a/documentation/development/dependency-management.html b/documentation/development/dependency-management.html index 9f97b26..81f5566 100644 --- a/documentation/development/dependency-management.html +++ b/documentation/development/dependency-management.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Dependency Management - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page is about how we do and don't do dependency management in the Sling project.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>This page is about how we do and don't do dependency management in the Sling project.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#introduction" name="introduction">Introduction</a></h2> @@ -171,7 +173,9 @@ <ul> <li><a href="http://markmail.org/message/5qpmsukdk4mdacdy">Dependency Management</a> -- Discussion thread about reducing Maven Dependency Management</li> <li><a href="https://issues.apache.org/jira/browse/SLING-811">SLING-811</a> -- The actual issue governing the changes to the project descriptors</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/embedding-sling.html ---------------------------------------------------------------------- diff --git a/documentation/development/embedding-sling.html b/documentation/development/embedding-sling.html index d3f7136..2590937 100644 --- a/documentation/development/embedding-sling.html +++ b/documentation/development/embedding-sling.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Embedding Sling - </h1><div class="tags"><a href="/tags/launchpad.html" class="label">launchpad</a> <a href="/tags/embedding.html" class="label">embedding</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Sling Launchpad Launcher can be used to embed the OSGi Framework startup in your own Java application. This functionality is implemented in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/base">Sling Launchpad Base project</a>. This project has the following features:</p> + </h1><div class="tags"><a href="/tags/launchpad.html" class="label">launchpad</a> <a href="/tags/embedding.html" class="label">embedding</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The Sling Launchpad Launcher can be used to embed the OSGi Framework startup in your own Java application. This functionality is implemented in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/base">Sling Launchpad Base project</a>. This project has the following features:</p> <ul> <li>Builds three artifacts: <ul> @@ -307,7 +309,9 @@ This work is being done as part of [SLING-2225](https://issues.apache.org/jira/b </tr> </tbody> </table> -<p>At the moment these classes, particularly the <code>SlingServlet</code> class, are not particularly well suited to be extended by a servlet slightly modifying the launcher.</p></section></div></div> +<p>At the moment these classes, particularly the <code>SlingServlet</code> class, are not particularly well suited to be extended by a servlet slightly modifying the launcher.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/getting-and-building-sling.html ---------------------------------------------------------------------- diff --git a/documentation/development/getting-and-building-sling.html b/documentation/development/getting-and-building-sling.html index c855ca7..43be52b 100644 --- a/documentation/development/getting-and-building-sling.html +++ b/documentation/development/getting-and-building-sling.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Getting and Building Sling - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>A quick guide for getting the Sling source, then building and running the resulting Sling instance; either without or with Eclipse.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>A quick guide for getting the Sling source, then building and running the resulting Sling instance; either without or with Eclipse.</p> <p>Note that you don't <em>have</em> to build Sling yourself, if you don't need the bleeding-edge stuff you can get prebuilt binaries from the <a href="/downloads.cgi">Downloads</a> page. But those, especially the launchpad runnable jar, are not released often and can be outdated. In case of doubt, build it yourself as shown below or ask on the Sling users mailing list.</p> <p>Rather than performing a full build of Sling, which can take 5-10 minutes on a recent computer once your local Maven repository is up to date, it's recommended to build only the launchpad and the modules you're interested in.</p> <h2><a href="#tl-dr-short-form-build-run-instructions" name="tl-dr-short-form-build-run-instructions">tl:dr - Short form build + run instructions</a></h2> @@ -259,7 +261,9 @@ $ mvn clean install sling:install <li>To create the bundle jar and install it, just use the command line "mvn clean install" in the project directory</li> <li>If you have a running Sling app you can install the bundle from the command line with "mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console"</li> </ul> -<p>If adding dependencies to the poms, run mvn eclipse:eclipse again and refresh the project in Eclipse. Debugging works as described above.</p></section></div></div> +<p>If adding dependencies to the poms, run mvn eclipse:eclipse again and refresh the project in Eclipse. Debugging works as described above.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Carsten Ziegeler</span> on <a href="https://github.com/apache/sling-site/commit/78c0fcd">Fri Sep 29 16:32:20 2017 +0200</a> : <span class="comment">Minor updates to development requirements +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/hamcrest.html ---------------------------------------------------------------------- diff --git a/documentation/development/hamcrest.html b/documentation/development/hamcrest.html index bd1d5cc..1da1b45 100644 --- a/documentation/development/hamcrest.html +++ b/documentation/development/hamcrest.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Hamcrest Integration - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Deeper integration with the <a href="http://hamcrest.org/">Hamcrest matcher library</a>.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Deeper integration with the <a href="http://hamcrest.org/">Hamcrest matcher library</a>.</p> <h2><a href="#maven-dependency" name="maven-dependency">Maven Dependency</a></h2> <div class="warning"> This module has not yet been officially released. @@ -102,7 +104,9 @@ public void MyServiceTest { } </code></pre> -<p>The Slingshot sample application uses these matchers, see <a href="http://svn.apache.org/repos/asf/sling/trunk/samples/slingshot/src/test/java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java">SetupServiceTest.java</a> for an example.</p></section></div></div> +<p>The Slingshot sample application uses these matchers, see <a href="http://svn.apache.org/repos/asf/sling/trunk/samples/slingshot/src/test/java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java">SetupServiceTest.java</a> for an example.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/htl-maven-plugin.html ---------------------------------------------------------------------- diff --git a/documentation/development/htl-maven-plugin.html b/documentation/development/htl-maven-plugin.html index 5b2e67a..b6e1349 100644 --- a/documentation/development/htl-maven-plugin.html +++ b/documentation/development/htl-maven-plugin.html @@ -72,7 +72,11 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> HTL Maven Plugin - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>See <a href="http://sling.apache.org/components/htl-maven-plugin/">Apache Sling HTL Maven Plugin documentation</a>.</p></section></div></div> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>See <a href="http://sling.apache.org/components/htl-maven-plugin/">Apache Sling HTL Maven Plugin documentation</a>.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/ide-tooling.html ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling.html b/documentation/development/ide-tooling.html index 01eb571..e6fa0ec 100644 --- a/documentation/development/ide-tooling.html +++ b/documentation/development/ide-tooling.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Sling IDE tooling for Eclipse User Guide - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/eclipse.html" class="label">eclipse</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/eclipse.html" class="label">eclipse</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#installation" name="installation">Installation</a></h2> <h3><a href="#prerequisites" name="prerequisites">Prerequisites</a></h3> @@ -234,7 +236,9 @@ <ul> <li><a href="https://issues.apache.org/jira/browse/SLING-3591">SLING-3591 - Unable to delete all nodes of a full coverage aggregate</a> . The workaround is to manually delete the child nodes .</li> <li><a href="https://issues.apache.org/jira/browse/SLING-3644">SLING-3644 - Improve handling of binary properties outside nt:file file nodes</a> . Currently there is no workaround, but in practice this is not an often-encountered situation.</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/ide-tooling/ide-tooling-incremental-build.html ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/ide-tooling-incremental-build.html b/documentation/development/ide-tooling/ide-tooling-incremental-build.html index d3a92f1..9fe62ad 100644 --- a/documentation/development/ide-tooling/ide-tooling-incremental-build.html +++ b/documentation/development/ide-tooling/ide-tooling-incremental-build.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » <a href="/documentation/development/ide-tooling.html">Sling IDE tooling for Eclipse User Guide</a> » </div> <h1 class="pagetitle"> Incremental Builds in Sling IDE tooling for Eclipse - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/eclipse.html" class="label">eclipse</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/eclipse.html" class="label">eclipse</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#overview" name="overview">Overview</a></h2> <p>The Sling IDE Tooling relies on the <a href="https://wiki.eclipse.org/M2E_compatible_maven_plugins">m2e incremental build support</a> for the generation of the bundle's manifest, the component descriptions as well as the metatype resources (the latter two being generated through OSGi 6 <a href="https://osgi.org/javadoc/r6/cmpn/org/osgi/service/component/annotations/package-summary.html">component annotations</a> and <a href="https://osgi.org/javadoc/r6/cmpn/org/osgi/service/metatype/annotations/package-summary.html">metatype annotations</a> or through <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html">Apache Felix SCR annotations</a>). That means whenever at least one java class is touched and the auto-build in Eclipse is enabled the annotations on that class should be reevaluated. This may lead to a modification of the bundle's manifest and/or generation/modification of service description XMLs and/or Metatype resource files. Depending on which maven plugins you use you must adjust their configuration accordingly to properly support incremental builds.</p> @@ -87,7 +89,9 @@ <p>The <a href="https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin">bnd-maven-plugin</a> is developed from the bnd team and is based on bnd as well. It is versioned in parallel with bnd and bndtools. It natively supports incremental builds since version 3.1.0 (<a href="https://github.com/bndtools/bnd/issues/1180">issue 1180</a>).</p> <h2><a href="#service-description-and-metatype-resources" name="service-description-and-metatype-resources">Service Description and Metatype Resources</a></h2> <p>OSGi component and metatype annotations (for OSGi 6) are natively supported through bnd (and therefore automatically generated through both maven-bundle-plugin and bnd-maven-plugin). You don't need to configure anything explicitly since version 3.0.0 of bnd (<a href="https://github.com/bndtools/bnd/issues/1041">issue 1041</a>).</p> -<p>The maven-bundle-plugin can be optionally coupled with the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html">maven-scr-plugin</a>. Both maven-bundle-plugin as well as bnd-maven-plugin can be optionally coupled with the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.html">scr-bnd-plugin</a>. Both approaches can be used to generate components descriptions and metatype resources out of the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html">Felix SCR annotations</a>. The recommended way for new projects though is to rely on OSGi 6 annotations. However if you need to rely on Felix SCR annotations though it is recommended to rather use the scr-bnd-plugin over the maven-scr-plugin, as the former is nicely integrated into bnd and therefore means less overhead during the build.</p> </section></div></div> +<p>The maven-bundle-plugin can be optionally coupled with the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html">maven-scr-plugin</a>. Both maven-bundle-plugin as well as bnd-maven-plugin can be optionally coupled with the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.html">scr-bnd-plugin</a>. Both approaches can be used to generate components descriptions and metatype resources out of the <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html">Felix SCR annotations</a>. The recommended way for new projects though is to rely on OSGi 6 annotations. However if you need to rely on Felix SCR annotations though it is recommended to rather use the scr-bnd-plugin over the maven-scr-plugin, as the former is nicely integrated into bnd and therefore means less overhead during the build.</p> </section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/issue-tracker.html ---------------------------------------------------------------------- diff --git a/documentation/development/issue-tracker.html b/documentation/development/issue-tracker.html index 22a69d9..b3c739d 100644 --- a/documentation/development/issue-tracker.html +++ b/documentation/development/issue-tracker.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Issue Tracker - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/community.html" class="label">community</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Apache Sling uses Jira for tracking bug reports and requests for improvements, new features, and other changes.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/community.html" class="label">community</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Apache Sling uses Jira for tracking bug reports and requests for improvements, new features, and other changes.</p> <p>The issue tracker is available at <a href="https://issues.apache.org/jira/browse/SLING">https://issues.apache.org/jira/browse/SLING</a> and is readable by everyone. A Jira account is needed to create new issues and to comment on existing issues. Use the <a href="https://issues.apache.org/jira/secure/Signup!default.jspa">registration form</a> to request an account if you do not already have one.</p> <p>See below for guidelines on creating and managing issues.</p> <h2><a href="#issue-type" name="issue-type">Issue type</a></h2> @@ -194,7 +196,9 @@ <p>Developers transition the issue through the workflow while working on it. When done with the issue, they mark the issue resolved with the appropriate resolution and ask the reporting user to confirm.</p> <p>Issues are closed once the project against which it has been reported has been released. Issues once closed cannot be opened again. Rather new issues should be created against the new release to have broken implementations fixed or extended.</p> <h2><a href="#patches" name="patches">Patches</a></h2> -<p>When reporting a bug, requesting a feature or propose an improvement, it is a good thing to attach a patch to the issue. This may speed up issue processing and helps you being recognized as a good community member leading to closer involvement with Sling.</p></section></div></div> +<p>When reporting a bug, requesting a feature or propose an improvement, it is a good thing to attach a patch to the issue. This may speed up issue processing and helps you being recognized as a good community member leading to closer involvement with Sling.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/jcr-mock.html ---------------------------------------------------------------------- diff --git a/documentation/development/jcr-mock.html b/documentation/development/jcr-mock.html index 4781864..5a4e6cb 100644 --- a/documentation/development/jcr-mock.html +++ b/documentation/development/jcr-mock.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> JCR Mocks - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/testing.html" class="label">testing</a> <a href="/tags/mocks.html" class="label">mocks</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Mock implementation of selected JCR APIs for easier testing. It stores all data in-memory in a HashMap to ensure instantly creating and destroying of the JCR repository.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/testing.html" class="label">testing</a> <a href="/tags/mocks.html" class="label">mocks</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Mock implementation of selected JCR APIs for easier testing. It stores all data in-memory in a HashMap to ensure instantly creating and destroying of the JCR repository.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#maven-dependency" name="maven-dependency">Maven Dependency</a></h2> @@ -123,7 +125,9 @@ MockJcr.setQueryResult(session, resultNodes); // return this result for a specific query MockJcr.setQueryResult(session, "your query statement", Query.JCR_SQL2, resultNodes); </code></pre> -<p>Alternatively you can use the <code>MockJcr.addQueryResultHandler</code> method to pass a callback object that allows you to return a query result after inspecting the given query object.</p></section></div></div> +<p>Alternatively you can use the <code>MockJcr.addQueryResultHandler</code> method to pass a callback object that allows you to return a query result after inspecting the given query object.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/jspc.html ---------------------------------------------------------------------- diff --git a/documentation/development/jspc.html b/documentation/development/jspc.html index 9d9a50c..2d7b2b7 100644 --- a/documentation/development/jspc.html +++ b/documentation/development/jspc.html @@ -72,7 +72,11 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> HTL Maven Plugin - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> <a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/htl.html" class="label">htl</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>See <a href="http://sling.apache.org/components/jspc-maven-plugin/">Apache Sling JspC Maven Plugin documentation</a>.</p></section></div></div> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> <a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/htl.html" class="label">htl</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>See <a href="http://sling.apache.org/components/jspc-maven-plugin/">Apache Sling JspC Maven Plugin documentation</a>.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/jsr-305.html ---------------------------------------------------------------------- diff --git a/documentation/development/jsr-305.html b/documentation/development/jsr-305.html index c5328a7..755166b 100644 --- a/documentation/development/jsr-305.html +++ b/documentation/development/jsr-305.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Leveraging JSR-305 null annotations to prevent NullPointerExceptions - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h1><a href="#introduction" name="introduction">Introduction</a></h1> <p>The Sling API forces developers to sometimes check for <code>null</code> return values. Most prominently this is the case for <a href="https://sling.apache.org/apidocs/sling8/org/apache/sling/api/adapter/Adaptable.html#adaptTo-java.lang.Class-"><code>Adaptable.adaptTo</code></a> and <a href="https://sling.apache.org/apidocs/sling8/org/apache/sling/api/resource/ResourceResolver.html#getResource-java.lang.String-"><code>ResourceResolver.getResource</code></a>. This is often forgotten, which may lead to <code>NullPointerException</code>s. Sling API 2.9.0 introduced the JSR-305 annotations (<a href="https://issues.apache.org/jira/browse/SLING-4377">SLING-4377</a>) which allow tools to check automatically for missing null checks in the code.</p> @@ -155,7 +157,9 @@ <p>A complete list of visitors class names in Findbugs can be found in the <a href="https://code.google.com/p/findbugs/source/browse/#git%2Ffindbugs%2Fsrc%2Fjava%2Fedu%2Fumd%2Fcs%2Ffindbugs%2Fdetect%253Fstate%253Dclosed">sourcecode</a>. The according <a href="http://findbugs.sourceforge.net/bugDescriptions.html">bug patterns</a> have an identifier (in parenthesis) for which you can search in the according Java classes, in case you want to extend the checks.</p> <p>Findbugs is also integrated in <a href="http://docs.sonarqube.org/display/SONAR/Findbugs+Plugin">SonarQube</a> but for SonarQube you should now rather use the native Java plugin (look at <a href="#use-with-sonarqube">Use with SonarQube</a>).</p> <h1><a href="#use-with-sonarqube" name="use-with-sonarqube">Use with SonarQube</a></h1> -<p>At least rule <a href="https://sonarqube.com/coding_rules#rule_key=squid%3AS2259">squid:S2259</a> in SonarQube supports JSR-305 annotations as well for null checks.</p></section></div></div> +<p>At least rule <a href="https://sonarqube.com/coding_rules#rule_key=squid%3AS2259">squid:S2259</a> in SonarQube supports JSR-305 annotations as well for null checks.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/logging.html ---------------------------------------------------------------------- diff --git a/documentation/development/logging.html b/documentation/development/logging.html index e5f0920..545be25 100644 --- a/documentation/development/logging.html +++ b/documentation/development/logging.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Logging - </h1><div class="tags"><a href="/tags/logging.html" class="label">logging</a> <a href="/tags/operations.html" class="label">operations</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><div class="note"> + </h1><div class="tags"><a href="/tags/logging.html" class="label">logging</a> <a href="/tags/operations.html" class="label">operations</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><div class="note"> This document is for the new (November 2013) 4.x release of the Sling Commons Log components. Refer to <a href="http://sling.apache.org/documentation/legacy/logging.html">Logging 3.x</a> for older versions. </div> @@ -576,7 +578,9 @@ org.apache.sling.commons.log.pattern="{0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4} <h5><a href="#q-how-to-start-sling-with-an-external-logback-xml-file" name="q-how-to-start-sling-with-an-external-logback-xml-file">Q. How to start Sling with an external logback.xml file</a></h5> <p>You need to specify the location of logback.xml via <code>org.apache.sling.commons.log.configurationFile</code></p> <pre><code> java -jar org.apache.sling.launchpad-XXX-standalone.jar -Dorg.apache.sling.commons.log.configurationFile=/path/to/logback -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/maven-archetypes.html ---------------------------------------------------------------------- diff --git a/documentation/development/maven-archetypes.html b/documentation/development/maven-archetypes.html index 26d61b9..7fea603 100644 --- a/documentation/development/maven-archetypes.html +++ b/documentation/development/maven-archetypes.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Maven Archetypes - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling includes four Maven archetypes to quick start development. See <a href="http://maven.apache.org/archetype/maven-archetype-plugin/">http://maven.apache.org/archetype/maven-archetype-plugin/</a> for general information on using Maven archetypes. The Maven groupId for all Sling archetypes is <code>org.apache.sling</code>.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling includes four Maven archetypes to quick start development. See <a href="http://maven.apache.org/archetype/maven-archetype-plugin/">http://maven.apache.org/archetype/maven-archetype-plugin/</a> for general information on using Maven archetypes. The Maven groupId for all Sling archetypes is <code>org.apache.sling</code>.</p> <h3><a href="#sling-launchpad-standalone-archetype" name="sling-launchpad-standalone-archetype">sling-launchpad-standalone-archetype</a></h3> <p>This archetype generates a Maven project which will build a standalone Launchpad JAR file using the default bundle set. For demonstration purposes, the generated project includes an extra bundle list file (<code>src/main/bundles/list</code>) which includes Apache Felix FileInstall as well as a test configuration file (<code>src/test/config/sling.properties</code>).</p> <h3><a href="#sling-launchpad-webapp-archetype" name="sling-launchpad-webapp-archetype">sling-launchpad-webapp-archetype</a></h3> @@ -84,7 +86,9 @@ <h3><a href="#sling-bundle-archetype" name="sling-bundle-archetype">sling-bundle-archetype</a></h3> <p>This archetype generates a Maven project which will build a basic OSGi bundle including support for the Felix SCR Annotations. It is pre-configured to install using the Felix Web Console when the profile <code>autoInstallBundle</code> is activated.</p> <h3><a href="#sling-jcrinstall-bundle-archetype" name="sling-jcrinstall-bundle-archetype">sling-jcrinstall-bundle-archetype</a></h3> -<p>This archetype generates a Maven project which will build a basic OSGi bundle including support for the Felix SCR Annotations. It is pre-configured to install using a WebDAV PUT into the JCR when the profile <code>autoInstallBundle</code> is activated.</p></section></div></div> +<p>This archetype generates a Maven project which will build a basic OSGi bundle including support for the Felix SCR Annotations. It is pre-configured to install using a WebDAV PUT into the JCR when the profile <code>autoInstallBundle</code> is activated.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/maven-launchpad-plugin.html ---------------------------------------------------------------------- diff --git a/documentation/development/maven-launchpad-plugin.html b/documentation/development/maven-launchpad-plugin.html index 0a978b6..c366142 100644 --- a/documentation/development/maven-launchpad-plugin.html +++ b/documentation/development/maven-launchpad-plugin.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Maven Launchpad Plugin - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><div class="note"> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><div class="note"> This page is out of sync with the latest maven-launchpad-plugin features and settings. For now, refer to the source code and the launchpad/builder and launchpad/testing modules for more information. </div> @@ -233,7 +235,9 @@ refer to the source code and the launchpad/builder and launchpad/testing modules <ul> <li><code>mavenSession</code> - an instance of <code>org.apache.maven.execution.MavenSession</code>.</li> <li><code>mavenProject</code> - an instance of <code>org.apache.maven.project.MavenProject</code>.</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/maven-usage.html ---------------------------------------------------------------------- diff --git a/documentation/development/maven-usage.html b/documentation/development/maven-usage.html index da2c549..d487d07 100644 --- a/documentation/development/maven-usage.html +++ b/documentation/development/maven-usage.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Maven Usage - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Apache Sling uses Maven as a build tool. This page documents some of the choices that we made when using Maven.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Apache Sling uses Maven as a build tool. This page documents some of the choices that we made when using Maven.</p> <h2><a href="#parent-pom" name="parent-pom">Parent POM</a></h2> <p>We separate the reactor POM from the parent POM. While the reactor POM functions as a simple aggregator, the parent POM, currently located at <a href="http://svn.apache.org/repos/asf/sling/trunk/parent/pom.xml">parent/pom.xml</a>, holds the common build configuration for all modules.</p> <p>The reference to the parent POM is usually set to a released version since we don't deploy it as a SNAPSHOT during the build process. That reference must also contain an empty parentPath element, otherwise recent version of Maven will try to find it in the local filesystem, disregarding the version if the groupId and artifactId match. An example of how to reference the parent POM is</p> @@ -92,7 +94,9 @@ <li>maven-bundle-plugin: value of the Bundle-RequiredExecutionEnvironment header</li> </ul> <h2><a href="#dependency-management" name="dependency-management">Dependency management</a></h2> -<p>See <a href="/documentation/development/dependency-management.html">Dependency Management</a></p></section></div></div> +<p>See <a href="/documentation/development/dependency-management.html">Dependency Management</a></p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/maventipsandtricks.html ---------------------------------------------------------------------- diff --git a/documentation/development/maventipsandtricks.html b/documentation/development/maventipsandtricks.html index 533ce0c..48940e8 100644 --- a/documentation/development/maventipsandtricks.html +++ b/documentation/development/maventipsandtricks.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> MavenTipsAndTricks - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Here's our collection of tips and tricks for building Sling with <a href="http://maven.apache.org">Maven</a>.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/maven.html" class="label">maven</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Here's our collection of tips and tricks for building Sling with <a href="http://maven.apache.org">Maven</a>.</p> <h1><a href="#maven-local-repository" name="maven-local-repository">Maven local repository</a></h1> <p>The first time you run a Maven build, or when Maven needs additional build components, it downloads plugins and dependencies under its <em>local repository</em> folder on your computer. By default, this folder is named <em>.m2/repository</em> in your home directory.</p> <p>Maven uses this repository as a cache for artifacts that it might need for future builds, which means that the first Sling build usually takes much longer than usual, as Maven needs to download many tools and dependencies into its local repository while the build progresses.</p> @@ -102,7 +104,9 @@ Does anyone have a similar command-line option that works under Windows? </code></pre> <p>And then connect to port 30303 with a remote JVM debugger (most IDEs do this).</p> <h2><a href="#avoid-spaces-in-maven-repository-and-workspace-paths" name="avoid-spaces-in-maven-repository-and-workspace-paths">Avoid spaces in Maven repository and workspace paths</a></h2> -<p>Some Maven plugins do not like spaces in paths. It is better to avoid putting your Maven repository, or your code, under paths like <em>Documents and Settings</em>, for example.</p></section></div></div> +<p>Some Maven plugins do not like spaces in paths. It is better to avoid putting your Maven repository, or your code, under paths like <em>Documents and Settings</em>, for example.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/monitoring-requests.html ---------------------------------------------------------------------- diff --git a/documentation/development/monitoring-requests.html b/documentation/development/monitoring-requests.html index ec830c5..978f04d 100644 --- a/documentation/development/monitoring-requests.html +++ b/documentation/development/monitoring-requests.html @@ -72,11 +72,15 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Monitoring Requests - </h1><div class="tags"><a href="/tags/operations.html" class="label">operations</a> <a href="/tags/requests.html" class="label">requests</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling provides a simple OSGi console plugin to monitor recent requests. This is quite useful when debugging and to understand how things work, though it's obviously not a replacement for full-blown HTTP trafic monitoring tools.</p> + </h1><div class="tags"><a href="/tags/operations.html" class="label">operations</a> <a href="/tags/requests.html" class="label">requests</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling provides a simple OSGi console plugin to monitor recent requests. This is quite useful when debugging and to understand how things work, though it's obviously not a replacement for full-blown HTTP trafic monitoring tools.</p> <p>The console plugin is available at /system/console/requests, listed as <em>Recent Requests</em> in the console menu.</p> <p>The plugin keeps track of the latest 20 requests processed by Sling, and displays the information provided by the RequestProgressTracker, for the selected request. The screenshot below shows an example.</p> <p>Any information that's added to the RequestProgressTracker (which is available from the SlingHttpServletRequest object) during request processing will be displayed by this plugin.</p> -<p><img src="sling-requests-plugin.jpg" /></p></section></div></div> +<p><img src="sling-requests-plugin.jpg" /></p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/osgi-mock.html ---------------------------------------------------------------------- diff --git a/documentation/development/osgi-mock.html b/documentation/development/osgi-mock.html index c812e2d..a2a17d7 100644 --- a/documentation/development/osgi-mock.html +++ b/documentation/development/osgi-mock.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> OSGi Mocks - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/testing.html" class="label">testing</a> <a href="/tags/mocks.html" class="label">mocks</a> <a href="/tags/osgi.html" class="label">osgi</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Mock implementation of selected OSGi APIs for easier testing.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/testing.html" class="label">testing</a> <a href="/tags/mocks.html" class="label">mocks</a> <a href="/tags/osgi.html" class="label">osgi</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Mock implementation of selected OSGi APIs for easier testing.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#maven-dependency" name="maven-dependency">Maven Dependency</a></h2> @@ -204,7 +206,9 @@ public OsgiContext context = new OsgiContextBuilder().plugin(MY_PLUGIN).build(); <ul> <li><a href="https://github.com/apache/sling/blob/trunk/contrib/extensions/contextaware-config/testing/mocks/caconfig-mock-plugin/src/main/java/org/apache/sling/testing/mock/caconfig/ContextPlugins.java">Apache Sling Context-Aware Configuration Mock Plugin</a></li> <li><a href="https://github.com/apache/sling/blob/trunk/contrib/extensions/contextaware-config/testing/mocks/caconfig-mock-plugin/src/test/java/org/apache/sling/testing/mock/caconfig/ContextPluginsTest.java">Apache Sling Context-Aware Configuration Mock Plugin Test</a></li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/development/release-management.html ---------------------------------------------------------------------- diff --git a/documentation/development/release-management.html b/documentation/development/release-management.html index a2661ef..c950310 100644 --- a/documentation/development/release-management.html +++ b/documentation/development/release-management.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/development.html">Development</a> » </div> <h1 class="pagetitle"> Release Management - </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/pmc.html" class="label">pmc</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling releases (and SNAPSHOTS) are deployed to the <a href="http://repository.apache.org">Nexus repository</a> instead of the traditional deployment via the Maven 2 mirrors source on <code>people.apache.org</code>. This makes the release process much leaner and simpler. In addtion we can benefit from the Apache Parent POM 6, which has most of the release profile setup built-in.</p> + </h1><div class="tags"><a href="/tags/development.html" class="label">development</a> <a href="/tags/pmc.html" class="label">pmc</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling releases (and SNAPSHOTS) are deployed to the <a href="http://repository.apache.org">Nexus repository</a> instead of the traditional deployment via the Maven 2 mirrors source on <code>people.apache.org</code>. This makes the release process much leaner and simpler. In addtion we can benefit from the Apache Parent POM 6, which has most of the release profile setup built-in.</p> <p>Most of the hard work of preparing and deploying the release is done by Maven.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> @@ -514,7 +516,9 @@ $ rm the_module-version.jar the_module-version.pom <li> <p>Check the results at <a href="http://sling.apache.org/components/">http://sling.apache.org/components/</a></p></li> </ol> -<p>For background information about this process see the <a href="http://maven.apache.org/developers/website/deploy-component-reference-documentation.html">Maven components reference documentation</a>.</p></section></div></div> +<p>For background information about this process see the <a href="http://maven.apache.org/developers/website/deploy-component-reference-documentation.html">Maven components reference documentation</a>.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
