servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksobkow...@apache.org
Subject svn commit: r1595363 [6/9] - in /servicemix/site/production/docs/5.0.x: activemq/ activiti/ camel/ camel/deployment/ commands/ developers-guide/ karaf/ quickstart/ user/ users-guide/
Date Fri, 16 May 2014 21:50:34 GMT
Modified: servicemix/site/production/docs/5.0.x/commands/shell-sleep.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/shell-sleep.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/shell-sleep.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/shell-sleep.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="shellsleep">shell:sleep</h1><h2 id="Description">Description</h2><p>Sleeps for a bit then wakes up.</p><h2 id="Syntax">Syntax</h2><p>shell:sleep [options] duration </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> duration </td><td class="confluenceTd"> The amount of time to sleep. The default time unit is millisecond, use -s option to use second instead. </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -s, --second </td><td class="confluenceTd"> Use a duration time in seconds instead of milliseconds. </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></d
 iv>
+                              <h1 id="shellsleep">shell:sleep</h1><h2 id="Description">Description</h2><p>Sleeps for a bit then wakes up.</p><h2 id="Syntax">Syntax</h2><p>shell:sleep [options] duration </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> duration </td><td class="confluenceTd"> The amount of time to sleep. The default time unit is millisecond, use -s option to use second instead. </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -s, --second </td><td class="confluenceTd"> Use a duration time in seconds instead of milliseconds. </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr><
 /table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/shell-sort.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/shell-sort.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/shell-sort.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/shell-sort.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="shellsort">shell:sort</h1><h2 id="Description">Description</h2><p>Writes sorted concatenation of all files to standard output.</p><h2 id="Syntax">Syntax</h2><p>shell:sort [options] [files] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> files </td><td class="confluenceTd"> A list of files separated by whitespaces </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -n, --numeric-sort </td><td class="confluenceTd"> compare according to string numerical value </td></tr><tr><td class="confluenceTd"> -t, --field-separator </td><td class="confluenceTd"> use SEP instead of non-blank to blank transition </td></tr><tr><td class="confl
 uenceTd"> -b, --ignore-leading-blanks </td><td class="confluenceTd"> ignore leading blanks </td></tr><tr><td class="confluenceTd"> -f, -ignore-case </td><td class="confluenceTd"> fold lower case to upper case characters </td></tr><tr><td class="confluenceTd"> -r, --reverse </td><td class="confluenceTd"> reverse the result of comparisons </td></tr><tr><td class="confluenceTd"> -k, --key </td><td class="confluenceTd"> Fields to use for sorting separated by whitespaces </td></tr><tr><td class="confluenceTd"> -u, --unique </td><td class="confluenceTd"> output only the first of an equal run </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
+                              <h1 id="shellsort">shell:sort</h1><h2 id="Description">Description</h2><p>Writes sorted concatenation of all files to standard output.</p><h2 id="Syntax">Syntax</h2><p>shell:sort [options] [files] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> files </td><td class="confluenceTd"> A list of files separated by whitespaces </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -n, --numeric-sort </td><td class="confluenceTd"> compare according to string numerical value </td></tr><tr><td class="confluenceTd"> -t, --field-separator </td><td class="confluenceTd"> use SEP instead of non-blank to blank transition </td></tr><tr><td cl
 ass="confluenceTd"> -b, --ignore-leading-blanks </td><td class="confluenceTd"> ignore leading blanks </td></tr><tr><td class="confluenceTd"> -f, -ignore-case </td><td class="confluenceTd"> fold lower case to upper case characters </td></tr><tr><td class="confluenceTd"> -r, --reverse </td><td class="confluenceTd"> reverse the result of comparisons </td></tr><tr><td class="confluenceTd"> -k, --key </td><td class="confluenceTd"> Fields to use for sorting separated by whitespaces </td></tr><tr><td class="confluenceTd"> -u, --unique </td><td class="confluenceTd"> output only the first of an equal run </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/shell-source.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/shell-source.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/shell-source.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/shell-source.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="shellsource">shell:source</h1><h2 id="Description">Description</h2><p>Run a script</p><h2 id="Syntax">Syntax</h2><p>shell:source [options] script [args] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> script </td><td class="confluenceTd"> A URI pointing to the script </td></tr><tr><td class="confluenceTd"> args </td><td class="confluenceTd"> Arguments for the script </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
+                              <h1 id="shellsource">shell:source</h1><h2 id="Description">Description</h2><p>Run a script</p><h2 id="Syntax">Syntax</h2><p>shell:source [options] script [args] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> script </td><td class="confluenceTd"> A URI pointing to the script </td></tr><tr><td class="confluenceTd"> args </td><td class="confluenceTd"> Arguments for the script </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/shell-tac.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/shell-tac.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/shell-tac.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/shell-tac.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="shelltac">shell:tac</h1><h2 id="Description">Description</h2><p>Captures the STDIN and returns it as a string. Optionally writes the content to a file.</p><h2 id="Syntax">Syntax</h2><p>shell:tac [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -f </td><td class="confluenceTd"> Outputs the content to the given file </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
+                              <h1 id="shelltac">shell:tac</h1><h2 id="Description">Description</h2><p>Captures the STDIN and returns it as a string. Optionally writes the content to a file.</p><h2 id="Syntax">Syntax</h2><p>shell:tac [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -f </td><td class="confluenceTd"> Outputs the content to the given file </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/shell-tail.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/shell-tail.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/shell-tail.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/shell-tail.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="shelltail">shell:tail</h1><h2 id="Description">Description</h2><p>Displays the last lines of a file.</p><h2 id="Syntax">Syntax</h2><p>shell:tail [options] [path or url] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> path or url </td><td class="confluenceTd"> A file path or url to display. </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -n </td><td class="confluenceTd"> The number of lines to display, starting at 1. </td></tr><tr><td class="confluenceTd"> -s </td><td class="confluenceTd"> Sleep interval (used for follow) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help messag
 e </td></tr><tr><td class="confluenceTd"> -f </td><td class="confluenceTd"> Follow file changes </td></tr></table></div>
+                              <h1 id="shelltail">shell:tail</h1><h2 id="Description">Description</h2><p>Displays the last lines of a file.</p><h2 id="Syntax">Syntax</h2><p>shell:tail [options] [path or url] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> path or url </td><td class="confluenceTd"> A file path or url to display. </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -n </td><td class="confluenceTd"> The number of lines to display, starting at 1. </td></tr><tr><td class="confluenceTd"> -s </td><td class="confluenceTd"> Sleep interval (used for follow) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this h
 elp message </td></tr><tr><td class="confluenceTd"> -f </td><td class="confluenceTd"> Follow file changes </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/shell-watch.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/shell-watch.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/shell-watch.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/shell-watch.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="shellwatch">shell:watch</h1><h2 id="Description">Description</h2><p>Watches &amp; refreshes the output of a command</p><h2 id="Syntax">Syntax</h2><p>shell:watch [options] command </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> command </td><td class="confluenceTd"> The command to watch / refresh </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr><tr><td class="confluenceTd"> -n, --interval </td><td class="confluenceTd"> The interval between executions of the command in seconds (defaults to 1) </td></tr></table></div>
+                              <h1 id="shellwatch">shell:watch</h1><h2 id="Description">Description</h2><p>Watches &amp; refreshes the output of a command</p><h2 id="Syntax">Syntax</h2><p>shell:watch [options] command </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> command </td><td class="confluenceTd"> The command to watch / refresh </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr><tr><td class="confluenceTd"> -n, --interval </td><td class="confluenceTd"> The interval between executions of the command in seconds (defaults to 1) </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/ssh-ssh.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/ssh-ssh.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/ssh-ssh.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/ssh-ssh.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="sshssh">ssh:ssh</h1><h2 id="Description">Description</h2><p>Connects to a remote SSH server</p><h2 id="Syntax">Syntax</h2><p>ssh:ssh [options] hostname [command] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> hostname </td><td class="confluenceTd"> The host name to connect to via SSH </td></tr><tr><td class="confluenceTd"> command </td><td class="confluenceTd"> Optional command to execute </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -p, --port </td><td class="confluenceTd"> The port to use for SSH connection (defaults to 22) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this hel
 p message </td></tr><tr><td class="confluenceTd"> -l, --username </td><td class="confluenceTd"> The user name for remote login </td></tr></table></div>
+                              <h1 id="sshssh">ssh:ssh</h1><h2 id="Description">Description</h2><p>Connects to a remote SSH server</p><h2 id="Syntax">Syntax</h2><p>ssh:ssh [options] hostname [command] </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> hostname </td><td class="confluenceTd"> The host name to connect to via SSH </td></tr><tr><td class="confluenceTd"> command </td><td class="confluenceTd"> Optional command to execute </td></tr></table></div><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -p, --port </td><td class="confluenceTd"> The port to use for SSH connection (defaults to 22) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Displa
 y this help message </td></tr><tr><td class="confluenceTd"> -l, --username </td><td class="confluenceTd"> The user name for remote login </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/ssh-sshd.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/ssh-sshd.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/ssh-sshd.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/ssh-sshd.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="sshsshd">ssh:sshd</h1><h2 id="Description">Description</h2><p>Creates a SSH server</p><h2 id="Syntax">Syntax</h2><p>ssh:sshd [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -p, --port </td><td class="confluenceTd"> The port to setup the SSH server (Default: 8101) (defaults to 8101) </td></tr><tr><td class="confluenceTd"> -b, --background </td><td class="confluenceTd"> The service will run in the background (Default: true) (defaults to true) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
+                              <h1 id="sshsshd">ssh:sshd</h1><h2 id="Description">Description</h2><p>Creates a SSH server</p><h2 id="Syntax">Syntax</h2><p>ssh:sshd [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -p, --port </td><td class="confluenceTd"> The port to setup the SSH server (Default: 8101) (defaults to 8101) </td></tr><tr><td class="confluenceTd"> -b, --background </td><td class="confluenceTd"> The service will run in the background (Default: true) (defaults to true) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/toc.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/toc.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/toc.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/toc.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <!-- TODO: generate this file automatically, this is just a subset of the available commands for demo purposes -->
+                              <!-- TODO: generate this file automatically, this is just a subset of the available commands for demo purposes -->
 <ul>
   <li id="comfig-commands">
     <a href="#">Using ConfigAdmin</a>

Modified: servicemix/site/production/docs/5.0.x/commands/web-list.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/web-list.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/web-list.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/web-list.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="weblist">web:list</h1><h2 id="Description">Description</h2><p>Lists details for war bundles.</p><h2 id="Syntax">Syntax</h2><p>web:list [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
+                              <h1 id="weblist">web:list</h1><h2 id="Description">Description</h2><p>Lists details for war bundles.</p><h2 id="Syntax">Syntax</h2><p>web:list [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/commands/wrapper-install.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/commands/wrapper-install.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/commands/wrapper-install.html (original)
+++ servicemix/site/production/docs/5.0.x/commands/wrapper-install.html Fri May 16 21:50:31 2014
@@ -138,7 +138,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="wrapperinstall">wrapper:install</h1><h2 id="Description">Description</h2><p>Install the container as a system service in the OS.</p><h2 id="Syntax">Syntax</h2><p>wrapper:install [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -d, --display </td><td class="confluenceTd"> The display name of the service. </td></tr><tr><td class="confluenceTd"> -s, --start-type </td><td class="confluenceTd"> Mode in which the service is installed. AUTO_START or DEMAND_START (Default: AUTO_START) (defaults to AUTO_START) </td></tr><tr><td class="confluenceTd"> -n, --name </td><td class="confluenceTd"> The service name that will be used when installing the service. (Default: karaf) (defaults to karaf) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </td></tr
 ><tr><td class="confluenceTd"> -D, --description </td><td class="confluenceTd"> The description of the service. (defaults to ) </td></tr></table></div>
+                              <h1 id="wrapperinstall">wrapper:install</h1><h2 id="Description">Description</h2><p>Install the container as a system service in the OS.</p><h2 id="Syntax">Syntax</h2><p>wrapper:install [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -d, --display </td><td class="confluenceTd"> The display name of the service. </td></tr><tr><td class="confluenceTd"> -s, --start-type </td><td class="confluenceTd"> Mode in which the service is installed. AUTO_START or DEMAND_START (Default: AUTO_START) (defaults to AUTO_START) </td></tr><tr><td class="confluenceTd"> -n, --name </td><td class="confluenceTd"> The service name that will be used when installing the service. (Default: karaf) (defaults to karaf) </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message
  </td></tr><tr><td class="confluenceTd"> -D, --description </td><td class="confluenceTd"> The description of the service. (defaults to ) </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/developers-guide/connect-console.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/connect-console.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/connect-console.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/connect-console.html Fri May 16 21:50:31 2014
@@ -94,7 +94,46 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="Programmaticallyconnecttotheconsole">Programmatically connect to the console</h1><p>A connection to the Karaf console can also be done programmatically.<br/>The following code is a simplified version of the code from the client library.</p><div class="syntax"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">org.apache.sshd.ClientChannel</span><span class="o">;</span>&#x000A;<span class="kn">import</span> <span class="nn">org.apache.sshd.ClientSession</span><span class="o">;</span>&#x000A;<span class="kn">import</span> <span class="nn">org.apache.sshd.SshClient</span><span class="o">;</span>&#x000A;<span class="kn">import</span> <span class="nn">org.apache.sshd.client.future.ConnectFuture</span><span class="o">;</span>&#x000A;&#x000A;<span class="kd">public</span> <span class="kd">class</span> <span class="nc">Main</span> <span class="o">{</span>&#x000A;&#x000A;    <span class="kd">public</span> <span class="kd">static</span> <sp
 an class="kt">void</span> <span class="nf">main</span><span class="o">(</span><span class="n">String</span><span class="o">[]</span> <span class="n">args</span><span class="o">)</span> <span class="kd">throws</span> <span class="n">Exception</span> <span class="o">{</span>&#x000A;        <span class="n">String</span> <span class="n">host</span> <span class="o">=</span> <span class="s">&quot;localhost&quot;</span><span class="o">;</span>&#x000A;        <span class="kt">int</span> <span class="n">port</span> <span class="o">=</span> <span class="mi">8101</span><span class="o">;</span>&#x000A;        <span class="n">String</span> <span class="n">user</span> <span class="o">=</span> <span class="s">&quot;karaf&quot;</span><span class="o">;</span>&#x000A;        <span class="n">String</span> <span class="n">password</span> <span class="o">=</span> <span class="s">&quot;karaf&quot;</span><span class="o">;</span>&#x000A;&#x000A;        <span class="n">SshClient</span> <span class="n">clien
 t</span> <span class="o">=</span> <span class="kc">null</span><span class="o">;</span>&#x000A;        <span class="k">try</span> <span class="o">{</span>&#x000A;            <span class="n">client</span> <span class="o">=</span> <span class="n">SshClient</span><span class="o">.</span><span class="na">setUpDefaultClient</span><span class="o">();</span>&#x000A;            <span class="n">client</span><span class="o">.</span><span class="na">start</span><span class="o">();</span>&#x000A;            <span class="n">ConnectFuture</span> <span class="n">future</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="na">connect</span><span class="o">(</span><span class="n">host</span><span class="o">,</span> <span class="n">port</span><span class="o">);</span>&#x000A;            <span class="n">future</span><span class="o">.</span><span class="na">await</span><span class="o">();</span>&#x000A;            <span class="n">ClientSession</span> <span cl
 ass="n">session</span> <span class="o">=</span> <span class="n">future</span><span class="o">.</span><span class="na">getSession</span><span class="o">();</span>&#x000A;            <span class="n">session</span><span class="o">.</span><span class="na">authPassword</span><span class="o">(</span><span class="n">user</span><span class="o">,</span> <span class="n">password</span><span class="o">);</span>&#x000A;            <span class="n">ClientChannel</span> <span class="n">channel</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="na">createChannel</span><span class="o">(</span><span class="s">&quot;shell&quot;</span><span class="o">);</span>&#x000A;            <span class="n">channel</span><span class="o">.</span><span class="na">setIn</span><span class="o">(</span><span class="n">System</span><span class="o">.</span><span class="na">in</span><span class="o">);</span>&#x000A;            <span class="n">channel</span><span class="o">.</s
 pan><span class="na">setOut</span><span class="o">(</span><span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">);</span>&#x000A;            <span class="n">channel</span><span class="o">.</span><span class="na">setErr</span><span class="o">(</span><span class="n">System</span><span class="o">.</span><span class="na">err</span><span class="o">);</span>&#x000A;            <span class="n">channel</span><span class="o">.</span><span class="na">open</span><span class="o">();</span>&#x000A;            <span class="n">channel</span><span class="o">.</span><span class="na">waitFor</span><span class="o">(</span><span class="n">ClientChannel</span><span class="o">.</span><span class="na">CLOSED</span><span class="o">,</span> <span class="mi">0</span><span class="o">);</span>&#x000A;        <span class="o">}</span> <span class="k">catch</span> <span class="o">(</span><span class="n">Throwable</span> <span class="n">t</span><span class="o">)</span> <sp
 an class="o">{</span>&#x000A;            <span class="n">t</span><span class="o">.</span><span class="na">printStackTrace</span><span class="o">();</span>&#x000A;            <span class="n">System</span><span class="o">.</span><span class="na">exit</span><span class="o">(</span><span class="mi">1</span><span class="o">);</span>&#x000A;        <span class="o">}</span> <span class="k">finally</span> <span class="o">{</span>&#x000A;            <span class="k">try</span> <span class="o">{</span>&#x000A;                <span class="n">client</span><span class="o">.</span><span class="na">stop</span><span class="o">();</span>&#x000A;            <span class="o">}</span> <span class="k">catch</span> <span class="o">(</span><span class="n">Throwable</span> <span class="n">t</span><span class="o">)</span> <span class="o">{</span> <span class="o">}</span>&#x000A;        <span class="o">}</span>&#x000A;        <span class="n">System</span><span class="o">.</span><span class="na">exit</span><spa
 n class="o">(</span><span class="mi">0</span><span class="o">);</span>&#x000A;    <span class="o">}</span>&#x000A;&#x000A;<span class="o">}</span>&#x000A;</pre></div>&#x000A;</div><p>You can find a more complete example at the <a href="http://svn.apache.org/repos/asf/karaf/trunk/client/src/main/java/org/apache/karaf/client/Main.java">following location</a>.</p>
+                              <h1 id="Programmaticallyconnecttotheconsole">Programmatically connect to the console</h1><p>A connection to the Karaf console can also be done programmatically.<br/>The following code is a simplified version of the code from the client library.</p><div class="syntax"><pre name='code' class='brush: java; gutter: false;'><code>
+import org.apache.sshd.ClientChannel;
+import org.apache.sshd.ClientSession;
+import org.apache.sshd.SshClient;
+import org.apache.sshd.client.future.ConnectFuture;
+
+public class Main {
+
+    public static void main(String[] args) throws Exception {
+        String host = &quot;localhost&quot;;
+        int port = 8101;
+        String user = &quot;karaf&quot;;
+        String password = &quot;karaf&quot;;
+
+        SshClient client = null;
+        try {
+            client = SshClient.setUpDefaultClient();
+            client.start();
+            ConnectFuture future = client.connect(host, port);
+            future.await();
+            ClientSession session = future.getSession();
+            session.authPassword(user, password);
+            ClientChannel channel = session.createChannel(&quot;shell&quot;);
+            channel.setIn(System.in);
+            channel.setOut(System.out);
+            channel.setErr(System.err);
+            channel.open();
+            channel.waitFor(ClientChannel.CLOSED, 0);
+        } catch (Throwable t) {
+            t.printStackTrace();
+            System.exit(1);
+        } finally {
+            try {
+                client.stop();
+            } catch (Throwable t) { }
+        }
+        System.exit(0);
+    }
+
+}</code></pre></div><p>You can find a more complete example at the <a href="http://svn.apache.org/repos/asf/karaf/trunk/client/src/main/java/org/apache/karaf/client/Main.java">following location</a>.</p>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/developers-guide/creating-bundles.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/creating-bundles.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/creating-bundles.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/creating-bundles.html Fri May 16 21:50:31 2014
@@ -94,7 +94,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="Addextendedinformationtobundles">Add extended information to bundles</h1><p>Karaf supports a OSGI-INF/bundle.info file in a bundle.</p><p>This file is extended description of the bundle. It supports ASCII character declarations (for adding color, formatting, etc).</p><p>For instance, you can define a bundle like this (using Apache Felix maven-bundle-plugin):</p><pre>
+                              <h1 id="Addextendedinformationtobundles">Add extended information to bundles</h1><p>Karaf supports a OSGI-INF/bundle.info file in a bundle.</p><p>This file is extended description of the bundle. It supports ASCII character declarations (for adding color, formatting, etc).</p><p>For instance, you can define a bundle like this (using Apache Felix maven-bundle-plugin):</p><pre>
 &lt;?xml version="1.0" encoding="UTF-8"?>
 &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Modified: servicemix/site/production/docs/5.0.x/developers-guide/custom-distribution.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/custom-distribution.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/custom-distribution.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/custom-distribution.html Fri May 16 21:50:31 2014
@@ -94,7 +94,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="Customdistributions">Custom distributions</h1><p>As Karaf is an OSGi container, it's heavily used as an application and middleware kernel.</p><p>You may wish to construct your own Karaf distribution preconfigured to your requirements.<br/>This custom distribution could contain:</p><ul style="list-style: square"><li><p>branding to change the Karaf console look-and-feel</p></li><li><p>configuration files (in the etc folder) altered to your requirements</p></li><li><p>pre-packaged artifacts in the deploy folder</p></li><li><p>a pre-populated system repository (containing your own bundle and features descriptor)</p></li><li><p>renamed or specific scripts in the bin folder</p></li><li><p>system documentation files</p></li></ul><h2 id="Mavenassembly">Maven assembly</h2><p>Basically a Karaf custom distribution involves:<br/>1. Uncompressing a standard Karaf distribution in a given directory.<br/>2. Populating the system repo with your features.<br/>3. Populating
  the lib directory with your branding or other system bundle jar files.<br/>4. Overriding the configuration files in the etc folder.</p><p>These tasks could be performed using scripting, or more easily and portable, using Apache Maven and a set of Maven plugins.</p><p>For instance, the Maven POM could look like:</p><pre>
+                              <h1 id="Customdistributions">Custom distributions</h1><p>As Karaf is an OSGi container, it's heavily used as an application and middleware kernel.</p><p>You may wish to construct your own Karaf distribution preconfigured to your requirements.<br/>This custom distribution could contain:</p><ul style="list-style: square"><li><p>branding to change the Karaf console look-and-feel</p></li><li><p>configuration files (in the etc folder) altered to your requirements</p></li><li><p>pre-packaged artifacts in the deploy folder</p></li><li><p>a pre-populated system repository (containing your own bundle and features descriptor)</p></li><li><p>renamed or specific scripts in the bin folder</p></li><li><p>system documentation files</p></li></ul><h2 id="Mavenassembly">Maven assembly</h2><p>Basically a Karaf custom distribution involves:<br/>1. Uncompressing a standard Karaf distribution in a given directory.<br/>2. Populating the system repo with your features.<br/>3. 
 Populating the lib directory with your branding or other system bundle jar files.<br/>4. Overriding the configuration files in the etc folder.</p><p>These tasks could be performed using scripting, or more easily and portable, using Apache Maven and a set of Maven plugins.</p><p>For instance, the Maven POM could look like:</p><pre>
 &lt;?xml version="1.0" encoding="UTF-8"?>
 &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM http://maven.apache.org/xsd/maven-4.0.0.xsd">
 

Modified: servicemix/site/production/docs/5.0.x/developers-guide/debugging.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/debugging.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/debugging.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/debugging.html Fri May 16 21:50:31 2014
@@ -94,7 +94,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="TroubleshootingDebuggingProfilingandMonitoring">Troubleshooting, Debugging, Profiling, and Monitoring</h1><h2 id="Troubleshooting">Troubleshooting</h2><h3 id="Logging">Logging</h3><p>Logging is easy to control through the console, with commands grouped under <em>log</em> shell. To learn about the available logging commands type:</p><pre>
+                              <h1 id="TroubleshootingDebuggingProfilingandMonitoring">Troubleshooting, Debugging, Profiling, and Monitoring</h1><h2 id="Troubleshooting">Troubleshooting</h2><h3 id="Logging">Logging</h3><p>Logging is easy to control through the console, with commands grouped under <em>log</em> shell. To learn about the available logging commands type:</p><pre>
 karaf@root> log&lt;tab>
 
 log:display              log:display-exception    log:get                  log:set

Modified: servicemix/site/production/docs/5.0.x/developers-guide/developer-commands.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/developer-commands.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/developer-commands.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/developer-commands.html Fri May 16 21:50:31 2014
@@ -94,7 +94,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="Developercommands">Developer commands</h1><p>Karaf provides a set of commands specific for developer use.</p><p>They allow for getting detailed detailed information about the Karaf instance and the applications running in them.</p><h2 id="Diagnosticdumpcommand">Diagnostic dump command</h2><p>Karaf provides a <tt>dev:create-dump</tt> command which creates a dump files containing diagnostic information. The dumps can be<br/>packaged in a zip archive (default) or directly into a given directory.</p><pre>
+                              <h1 id="Developercommands">Developer commands</h1><p>Karaf provides a set of commands specific for developer use.</p><p>They allow for getting detailed detailed information about the Karaf instance and the applications running in them.</p><h2 id="Diagnosticdumpcommand">Diagnostic dump command</h2><p>Karaf provides a <tt>dev:create-dump</tt> command which creates a dump files containing diagnostic information. The dumps can be<br/>packaged in a zip archive (default) or directly into a given directory.</p><pre>
 karaf@root> dev:create-dump
 Diagnostic dump created.
 </pre><p>The previous command generates a zip archive in the KARAF_HOME (by default the name is the generation timestamp).</p><p>The following dumps are available in the zip archive:</p><ul><li><p><tt>features.txt</tt> provides an overview of the features. It means:</p><ul><li><p>the repository list</p></li><li><p>the feature list including bundles URL</p></li></ul></li><li><p><tt>bundles.txt</tt> provides an overview of the installed bundles, with the ID and the state of each bundle.</p></li><li><p><tt>threads.txt</tt> provides a complete threads dump. It describe all threads running in Karaf and their current state (blocked,<br/>waiting, etc) with the associated class hierarchy.</p></li></ul><p>These dumps are very helpful when you would like to take a snapshot of a current Karaf running instance.</p><h2 id="Dynamicimport">Dynamic import</h2><p>The <tt>dev:dynamic-import</tt> command allows you to enable or disable the dynamic import of a given bundle:</p><pre>

Modified: servicemix/site/production/docs/5.0.x/developers-guide/extending-console.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/extending-console.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/extending-console.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/extending-console.html Fri May 16 21:50:31 2014
@@ -94,7 +94,7 @@
 </ul>
         </div>
         <div id="body">
-                    <h1 id="Extendingtheconsole">Extending the console</h1><p>This chapter will guide you through the steps needed to extend the console and create a new shell.  <br/>We will leverage Maven, Blueprint and OSGi, so you will need some knowledge of those products.</p><p>You may also find some information about the console at <a href="http://felix.apache.org/site/rfc-147-overview.html">http://felix.apache.org/site/rfc-147-overview.html</a>.</p><h2 id="Createtheprojectusingmaven">Create the project using maven</h2><p>We first need to create a project using Maven.  Let's leverage Maven archetypes for that.</p><h3 id="Commandline">Command line</h3><p>Using the command line, we can create our project:</p><pre>
+                              <h1 id="Extendingtheconsole">Extending the console</h1><p>This chapter will guide you through the steps needed to extend the console and create a new shell.  <br/>We will leverage Maven, Blueprint and OSGi, so you will need some knowledge of those products.</p><p>You may also find some information about the console at <a href="http://felix.apache.org/site/rfc-147-overview.html">http://felix.apache.org/site/rfc-147-overview.html</a>.</p><h2 id="Createtheprojectusingmaven">Create the project using maven</h2><p>We first need to create a project using Maven.  Let's leverage Maven archetypes for that.</p><h3 id="Commandline">Command line</h3><p>Using the command line, we can create our project:</p><pre>
 mvn archetype:create \
   -DarchetypeArtifactId=maven-archetype-quickstart \
   -DgroupId=org.apache.karaf.shell.samples \
@@ -108,13 +108,94 @@ Define value for groupId: : org.apache.k
 Define value for artifactId: : shell-sample-commands
 Define value for version:  1.0-SNAPSHOT: : 
 Define value for package: : org.apache.karaf.shell.samples
-</pre><h3 id="Manualcreation">Manual creation</h3><p>Alternatively, you can simply create the directory <tt>shell-sample-commands</tt> and create the <tt>pom.xml</tt> file inside it:</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;project</span> <span class="na">xmlns=</span><span class="s">&quot;http://maven.apache.org/POM/4.0.0&quot;</span> <span class="na">xmlns:xsi=</span><span class="s">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span> <span class="na">xsi:schemaLocation=</span><span class="s">&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;</span><span class="nt">&gt;</span>&#x000A;&#x000A;  <span class="nt">&lt;modelVersion&gt;</span>4.0.0<span class="nt">&lt;/modelVersion&gt;</span>&#x000A;&#x000A;  <span class="nt">&lt;groupId&gt;</span>org.apache.karaf.shell.samples<span class="nt">&lt;/groupId&gt;</span>&#x000A;  <span class="nt">&lt;artifactId&gt;</span>shell-sample-commands<span class="nt">&lt;a
 rtifactId&gt;</span>&#x000A;  <span class="nt">&lt;packaging&gt;</span>bundle<span class="nt">&lt;/packaging&gt;</span>&#x000A;  <span class="nt">&lt;version&gt;</span>1.0-SNAPSHOT<span class="nt">&lt;/version&gt;</span>&#x000A;  <span class="nt">&lt;name&gt;</span>shell-sample-commmands<span class="nt">&lt;/name&gt;</span>&#x000A;&#x000A;&#x000A;  <span class="nt">&lt;dependencies&gt;</span>&#x000A;    <span class="nt">&lt;dependency&gt;</span>&#x000A;      <span class="nt">&lt;groupId&gt;</span>org.apache.karaf.shell<span class="nt">&lt;/groupId&gt;</span>&#x000A;      <span class="nt">&lt;artifactId&gt;</span>org.apache.karaf.shell.console<span class="nt">&lt;/artifactId&gt;</span>&#x000A;      <span class="nt">&lt;version&gt;</span>2.3.0<span class="nt">&lt;/version&gt;</span>&#x000A;    <span class="nt">&lt;/dependency&gt;</span>&#x000A;    <span class="nt">&lt;dependency&gt;</span>&#x000A;      <span class="nt">&lt;groupId&gt;</span>junit<span class="nt">&lt;/groupId&gt;</span
 >&#x000A;      <span class="nt">&lt;artifactId&gt;</span>junit<span class="nt">&lt;/artifactId&gt;</span>&#x000A;      <span class="nt">&lt;version&gt;</span>3.8.1<span class="nt">&lt;/version&gt;</span>&#x000A;      <span class="nt">&lt;scope&gt;</span>test<span class="nt">&lt;/scope&gt;</span>&#x000A;    <span class="nt">&lt;/dependency&gt;</span>&#x000A;  <span class="nt">&lt;/dependencies&gt;</span>&#x000A;&#x000A;  <span class="nt">&lt;build&gt;</span>&#x000A;    <span class="nt">&lt;plugins&gt;</span>&#x000A;      <span class="nt">&lt;plugin&gt;</span>&#x000A;        <span class="nt">&lt;groupId&gt;</span>org.apache.felix<span class="nt">&lt;/groupId&gt;</span>&#x000A;        <span class="nt">&lt;artifactId&gt;</span>maven-bundle-plugin<span class="nt">&lt;/artifactId&gt;</span>&#x000A;        <span class="nt">&lt;version&gt;</span>2.3.7<span class="nt">&lt;/version&gt;</span>&#x000A;        <span class="nt">&lt;configuration&gt;</span>&#x000A;          <span class="nt">&lt;in
 structions&gt;</span>&#x000A;            <span class="nt">&lt;Import-Package&gt;</span>&#x000A;              org.apache.felix.service.command,&#x000A;              org.apache.felix.gogo.commands,&#x000A;              org.apache.karaf.shell.console,&#x000A;              *&#x000A;            <span class="nt">&lt;/Import-Package&gt;</span>&#x000A;          <span class="nt">&lt;/instructions&gt;</span>&#x000A;        <span class="nt">&lt;/configuration&gt;</span>&#x000A;      <span class="nt">&lt;/plugin&gt;</span>&#x000A;    <span class="nt">&lt;/plugins&gt;</span>&#x000A;  <span class="nt">&lt;/build&gt;</span>&#x000A;&#x000A;<span class="nt">&lt;/project&gt;</span>&#x000A;</pre></div>&#x000A;</div><h2 id="ConfiguringforJava5">Configuring for Java 5</h2><p>We are using annotations to define commands, so we need to ensure Maven will actually use JDK 1.5 to compile the jar.<br/>Just add the following snippet after the <tt>dependencies</tt> section.</p><div class="syntax"><div class="hig
 hlight"><pre><span class="nt">&lt;build&gt;</span>&#x000A;  <span class="nt">&lt;plugins&gt;</span>&#x000A;    <span class="nt">&lt;plugin&gt;</span>&#x000A;      <span class="nt">&lt;groupId&gt;</span>org.apache.maven.plugins<span class="nt">&lt;/groupId&gt;</span>&#x000A;      <span class="nt">&lt;artifactId&gt;</span>maven-compiler-plugin<span class="nt">&lt;/artifactId&gt;</span>&#x000A;      <span class="nt">&lt;configuration&gt;</span>&#x000A;        <span class="nt">&lt;target&gt;</span>1.5<span class="nt">&lt;/target&gt;</span>&#x000A;        <span class="nt">&lt;source&gt;</span>1.5<span class="nt">&lt;/source&gt;</span>&#x000A;      <span class="nt">&lt;/configuration&gt;</span>&#x000A;    <span class="nt">&lt;/plugin&gt;</span>&#x000A;  <span class="nt">&lt;/plugins&gt;</span>&#x000A;<span class="nt">&lt;/build&gt;</span>&#x000A;</pre></div>&#x000A;</div><h2 id="LoadingtheprojectinyourIDE">Loading the project in your IDE</h2><p>We can use Maven to generate the needed file
 s for your IDE:</p><p>Inside the project, run the following command</p><pre>
+</pre><h3 id="Manualcreation">Manual creation</h3><p>Alternatively, you can simply create the directory <tt>shell-sample-commands</tt> and create the <tt>pom.xml</tt> file inside it:</p><div class="syntax"><pre name='code' class='brush: xml; gutter: false;'><code>
+&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
+
+  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
+
+  &lt;groupId&gt;org.apache.karaf.shell.samples&lt;/groupId&gt;
+  &lt;artifactId&gt;shell-sample-commands&lt;artifactId&gt;
+  &lt;packaging&gt;bundle&lt;/packaging&gt;
+  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
+  &lt;name&gt;shell-sample-commmands&lt;/name&gt;
+
+
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.karaf.shell&lt;/groupId&gt;
+      &lt;artifactId&gt;org.apache.karaf.shell.console&lt;/artifactId&gt;
+      &lt;version&gt;2.3.0&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;junit&lt;/groupId&gt;
+      &lt;artifactId&gt;junit&lt;/artifactId&gt;
+      &lt;version&gt;3.8.1&lt;/version&gt;
+      &lt;scope&gt;test&lt;/scope&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.3.7&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;instructions&gt;
+            &lt;Import-Package&gt;
+              org.apache.felix.service.command,
+              org.apache.felix.gogo.commands,
+              org.apache.karaf.shell.console,
+              *
+            &lt;/Import-Package&gt;
+          &lt;/instructions&gt;
+        &lt;/configuration&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+
+&lt;/project&gt;</code></pre></div><h2 id="ConfiguringforJava5">Configuring for Java 5</h2><p>We are using annotations to define commands, so we need to ensure Maven will actually use JDK 1.5 to compile the jar.<br/>Just add the following snippet after the <tt>dependencies</tt> section.</p><div class="syntax"><pre name='code' class='brush: xml; gutter: false;'><code>
+&lt;build&gt;
+  &lt;plugins&gt;
+    &lt;plugin&gt;
+      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
+      &lt;configuration&gt;
+        &lt;target&gt;1.5&lt;/target&gt;
+        &lt;source&gt;1.5&lt;/source&gt;
+      &lt;/configuration&gt;
+    &lt;/plugin&gt;
+  &lt;/plugins&gt;
+&lt;/build&gt;</code></pre></div><h2 id="LoadingtheprojectinyourIDE">Loading the project in your IDE</h2><p>We can use Maven to generate the needed files for your IDE:</p><p>Inside the project, run the following command</p><pre>
 mvn eclipse:eclipse
 </pre><p>or</p><pre>
 mvn idea:idea
-</pre><p>The project files for your IDE should now be created.  Just open the IDE and load the project.</p><h2 id="Creatingabasiccommandclass">Creating a basic command class</h2><p>We can now create the command class <tt>HelloShellCommand.java</tt></p><div class="syntax"><div class="highlight"><pre><span class="kn">package</span> <span class="n">org</span><span class="o">.</span><span class="na">apache</span><span class="o">.</span><span class="na">karaf</span><span class="o">.</span><span class="na">shell</span><span class="o">.</span><span class="na">samples</span><span class="o">;</span>&#x000A;&#x000A;<span class="kn">import</span> <span class="nn">org.apache.felix.gogo.commands.Command</span><span class="o">;</span>&#x000A;<span class="kn">import</span> <span class="nn">org.apache.karaf.shell.console.OsgiCommandSupport</span><span class="o">;</span>&#x000A;&#x000A;<span class="nd">@Command</span><span class="o">(</span><span class="n">scope</span> <span class="o">=</span> <span
  class="s">&quot;test&quot;</span><span class="o">,</span> <span class="n">name</span> <span class="o">=</span> <span class="s">&quot;hello&quot;</span><span class="o">,</span> <span class="n">description</span><span class="o">=</span><span class="s">&quot;Says hello&quot;</span><span class="o">)</span>&#x000A;<span class="kd">public</span> <span class="kd">class</span> <span class="nc">HelloShellCommand</span> <span class="kd">extends</span> <span class="n">OsgiCommandSupport</span> <span class="o">{</span>&#x000A;&#x000A;    <span class="nd">@Override</span>&#x000A;    <span class="kd">protected</span> <span class="n">Object</span> <span class="nf">doExecute</span><span class="o">()</span> <span class="kd">throws</span> <span class="n">Exception</span> <span class="o">{</span>&#x000A;        <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">&quot;Executing H
 ello command&quot;</span><span class="o">);</span>&#x000A;        <span class="k">return</span> <span class="kc">null</span><span class="o">;</span>&#x000A;    <span class="o">}</span>&#x000A;<span class="o">}</span>&#x000A;</pre></div>&#x000A;</div><h2 id="Creatingtheassociatedblueprintconfigurationfiles">Creating the associated blueprint configuration files</h2><p>The blueprint configuration file will be used to create the command and register it in the OSGi registry, which is the way to make the command available to Karaf console.  This blueprint file must be located in the <tt>OSGI-INF/blueprint/</tt> directory inside the bundle.</p><p>If you don't have the <tt>src/main/resources</tt> directory yet, create it.</p><pre>
+</pre><p>The project files for your IDE should now be created.  Just open the IDE and load the project.</p><h2 id="Creatingabasiccommandclass">Creating a basic command class</h2><p>We can now create the command class <tt>HelloShellCommand.java</tt></p><div class="syntax"><pre name='code' class='brush: java; gutter: false;'><code>
+package org.apache.karaf.shell.samples;
+
+import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.console.OsgiCommandSupport;
+
+@Command(scope = &quot;test&quot;, name = &quot;hello&quot;, description=&quot;Says hello&quot;)
+public class HelloShellCommand extends OsgiCommandSupport {
+
+    @Override
+    protected Object doExecute() throws Exception {
+        System.out.println(&quot;Executing Hello command&quot;);
+        return null;
+    }
+}</code></pre></div><h2 id="Creatingtheassociatedblueprintconfigurationfiles">Creating the associated blueprint configuration files</h2><p>The blueprint configuration file will be used to create the command and register it in the OSGi registry, which is the way to make the command available to Karaf console.  This blueprint file must be located in the <tt>OSGI-INF/blueprint/</tt> directory inside the bundle.</p><p>If you don't have the <tt>src/main/resources</tt> directory yet, create it.</p><pre>
 mkdir src/main/resources
-</pre><p>Then, re-generate the IDE project files and reload it so that this folder is now recognized as a source folder.</p><p>Inside this directory, create the <tt>OSGI-INF/blueprint/</tt> directory and put the following file inside (the name of this file has no impact at all):</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;blueprint</span> <span class="na">xmlns=</span><span class="s">&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot;</span><span class="nt">&gt;</span>&#x000A;&#x000A;    <span class="nt">&lt;command-bundle</span> <span class="na">xmlns=</span><span class="s">&quot;http://karaf.apache.org/xmlns/shell/v1.0.0&quot;</span><span class="nt">&gt;</span>&#x000A;        <span class="nt">&lt;command</span> <span class="na">name=</span><span class="s">&quot;test/hello&quot;</span><span class="nt">&gt;</span>&#x000A;            <span class="nt">&lt;action</span> <span class="na">class=</span><span class="s">&quot;org.apache.karaf.shell.samples.Hel
 loShellCommand&quot;</span><span class="nt">/&gt;</span>&#x000A;        <span class="nt">&lt;/command&gt;</span>&#x000A;    <span class="nt">&lt;/command-bundle&gt;</span>&#x000A;&#x000A;<span class="nt">&lt;/blueprint&gt;</span>&#x000A;</pre></div>&#x000A;</div><h2 id="Compilingthejar">Compiling the jar</h2><p>Let's try to build the jar.  Remove the test classes and sample classes if you used the artifact, then from the command line, run:</p><pre>
+</pre><p>Then, re-generate the IDE project files and reload it so that this folder is now recognized as a source folder.</p><p>Inside this directory, create the <tt>OSGI-INF/blueprint/</tt> directory and put the following file inside (the name of this file has no impact at all):</p><div class="syntax"><pre name='code' class='brush: xml; gutter: false;'><code>
+&lt;blueprint xmlns=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot;&gt;
+
+    &lt;command-bundle xmlns=&quot;http://karaf.apache.org/xmlns/shell/v1.0.0&quot;&gt;
+        &lt;command name=&quot;test/hello&quot;&gt;
+            &lt;action class=&quot;org.apache.karaf.shell.samples.HelloShellCommand&quot;/&gt;
+        &lt;/command&gt;
+    &lt;/command-bundle&gt;
+
+&lt;/blueprint&gt;</code></pre></div><h2 id="Compilingthejar">Compiling the jar</h2><p>Let's try to build the jar.  Remove the test classes and sample classes if you used the artifact, then from the command line, run:</p><pre>
 mvn install
 </pre><p>The end of the maven output should look like:</p><pre>
 [INFO] ------------------------------------------------------------------------

Modified: servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-add.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-add.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-add.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-add.html Fri May 16 21:50:31 2014
@@ -94,7 +94,40 @@
 </ul>
         </div>
         <div id="body">
-                    <h2 id="Goalfeaturesaddfeaturestorepo">Goal <tt>features:add-features-to-repo</tt></h2><p>The <tt>features:add-features-to-repo</tt> goal adds all the required bundles for a given set of features into directory.  You can use this goal to create a <tt>/system</tt> directory for building your own Karaf-based distribution.</p><p>By default, the Karaf core features descriptors (standard and enterprise) are automatically included in the descriptors set.</p><h3 id="Example">Example</h3><p>The example below copies the bundles for the <tt>spring</tt> and <tt>war</tt> features defined in the Karaf features XML descriptor into the <tt>target/features-repo</tt> directory.</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;project&gt;</span>&#x000A;  <span class="nt">&lt;build&gt;</span>&#x000A;    <span class="nt">&lt;plugins&gt;</span>&#x000A;      <span class="nt">&lt;plugin&gt;</span>&#x000A;        <span class="nt">&lt;groupId&gt;</span>org.apache.k
 araf.tooling<span class="nt">&lt;/groupId&gt;</span>&#x000A;        <span class="nt">&lt;artifactId&gt;</span>features-maven-plugin<span class="nt">&lt;/artifactId&gt;</span>&#x000A;        <span class="nt">&lt;version&gt;</span>2.3.0<span class="nt">&lt;/version&gt;</span>&#x000A;&#x000A;        <span class="nt">&lt;executions&gt;</span>&#x000A;          <span class="nt">&lt;execution&gt;</span>&#x000A;            <span class="nt">&lt;id&gt;</span>add-features-to-repo<span class="nt">&lt;/id&gt;</span>&#x000A;            <span class="nt">&lt;phase&gt;</span>generate-resources<span class="nt">&lt;/phase&gt;</span>&#x000A;            <span class="nt">&lt;goals&gt;</span>&#x000A;              <span class="nt">&lt;goal&gt;</span>add-features-to-repo<span class="nt">&lt;/goal&gt;</span>&#x000A;            <span class="nt">&lt;/goals&gt;</span>&#x000A;            <span class="nt">&lt;configuration&gt;</span>&#x000A;              <span class="nt">&lt;descriptors&gt;</span>&#x000A;        
         <span class="nt">&lt;descriptor&gt;</span>mvn:my.groupid/my.artifactid/1.0.0/xml/features<span class="nt">&lt;/descriptor&gt;</span>&#x000A;              <span class="nt">&lt;/descriptors&gt;</span>&#x000A;              <span class="nt">&lt;features&gt;</span>&#x000A;                <span class="nt">&lt;feature&gt;</span>spring<span class="nt">&lt;/feature&gt;</span>&#x000A;                <span class="nt">&lt;feature&gt;</span>war<span class="nt">&lt;/feature&gt;</span>&#x000A;                <span class="nt">&lt;feature&gt;</span>my<span class="nt">&lt;/feature&gt;</span>&#x000A;                <span class="nt">&lt;feature&gt;</span>other/1.0-SNAPSHOT<span class="nt">&lt;/feature&gt;</span>&#x000A;              <span class="nt">&lt;/features&gt;</span>&#x000A;              <span class="nt">&lt;repository&gt;</span>target/features-repo<span class="nt">&lt;/repository&gt;</span>&#x000A;            <span class="nt">&lt;/configuration&gt;</span>&#x000A;          <span class="n
 t">&lt;/execution&gt;</span>&#x000A;        <span class="nt">&lt;/executions&gt;</span>&#x000A;      <span class="nt">&lt;/plugin&gt;</span>&#x000A;    <span class="nt">&lt;/plugins&gt;</span>&#x000A;  <span class="nt">&lt;/build&gt;</span>  &#x000A;<span class="nt">&lt;/project&gt;</span>&#x000A;</pre></div>&#x000A;</div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>descriptors</tt> </td><td class="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> List of features XML descriptors where the features are defined <br/> NB: Karaf core features descriptors (standard and enterprise) are automatically added in this list </td></tr><tr><td class="confluenceTd"> <tt>features</tt> </td><td class="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> List of features that
  bundles should be copied to the repository directory. A feature could be just a feature name or a name/version. If it's just a name, the features-maven-plugin will take the first feature with the given name, whatever the version is. </td></tr><tr><td class="confluenceTd"> <tt>repository</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The directory where the bundles will be copied by the plugin goal </td></tr><tr><td class="confluenceTd"> <tt>karafVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> Target Karaf version to use to resolve the Karaf core features descriptors (standard and enterprise) </td></tr></table></div>
+                              <h2 id="Goalfeaturesaddfeaturestorepo">Goal <tt>features:add-features-to-repo</tt></h2><p>The <tt>features:add-features-to-repo</tt> goal adds all the required bundles for a given set of features into directory.  You can use this goal to create a <tt>/system</tt> directory for building your own Karaf-based distribution.</p><p>By default, the Karaf core features descriptors (standard and enterprise) are automatically included in the descriptors set.</p><h3 id="Example">Example</h3><p>The example below copies the bundles for the <tt>spring</tt> and <tt>war</tt> features defined in the Karaf features XML descriptor into the <tt>target/features-repo</tt> directory.</p><div class="syntax"><pre name='code' class='brush: xml; gutter: false;'><code>
+&lt;project&gt;
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.karaf.tooling&lt;/groupId&gt;
+        &lt;artifactId&gt;features-maven-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.3.0&lt;/version&gt;
+
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;id&gt;add-features-to-repo&lt;/id&gt;
+            &lt;phase&gt;generate-resources&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;add-features-to-repo&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+              &lt;descriptors&gt;
+                &lt;descriptor&gt;mvn:my.groupid/my.artifactid/1.0.0/xml/features&lt;/descriptor&gt;
+              &lt;/descriptors&gt;
+              &lt;features&gt;
+                &lt;feature&gt;spring&lt;/feature&gt;
+                &lt;feature&gt;war&lt;/feature&gt;
+                &lt;feature&gt;my&lt;/feature&gt;
+                &lt;feature&gt;other/1.0-SNAPSHOT&lt;/feature&gt;
+              &lt;/features&gt;
+              &lt;repository&gt;target/features-repo&lt;/repository&gt;
+            &lt;/configuration&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;  
+&lt;/project&gt;</code></pre></div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>descriptors</tt> </td><td class="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> List of features XML descriptors where the features are defined <br/> NB: Karaf core features descriptors (standard and enterprise) are automatically added in this list </td></tr><tr><td class="confluenceTd"> <tt>features</tt> </td><td class="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> List of features that bundles should be copied to the repository directory. A feature could be just a feature name or a name/version. If it's just a name, the features-maven-plugin will take the first feature with the given name, whatever the version is. </td></tr><tr><td class="confluenceTd"> <tt>repository<
 /tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The directory where the bundles will be copied by the plugin goal </td></tr><tr><td class="confluenceTd"> <tt>karafVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> Target Karaf version to use to resolve the Karaf core features descriptors (standard and enterprise) </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-create-kar.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-create-kar.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-create-kar.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-create-kar.html Fri May 16 21:50:31 2014
@@ -94,7 +94,29 @@
 </ul>
         </div>
         <div id="body">
-                    <h2 id="Goalfeaturescreatekar">Goal <tt>features:create-kar</tt></h2><p>The <tt>features:create-kar</tt> goal creates a kar file from a given features XML.<br/>A kar file is a zip archive shipping all bundles and configuration files containing in features of a features XML, and the features XML itself.<br/>You can deploy a kar file just by copying it in the deploy folder, all resources will be loaded from the kar file.</p><h3 id="Example">Example</h3><p>The example below generates a kar file from a given features XML. The generated kar will be in the target folder with the manual-2.3.0.kar name.</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;project&gt;</span>&#x000A;  <span class="nt">&lt;build&gt;</span>&#x000A;    <span class="nt">&lt;plugins&gt;</span>&#x000A;      <span class="nt">&lt;plugin&gt;</span>&#x000A;        <span class="nt">&lt;groupId&gt;</span>org.apache.karaf.tooling<span class="nt">&lt;/groupId&gt;</span>&#x000A;       
  <span class="nt">&lt;artifactId&gt;</span>features-maven-plugin<span class="nt">&lt;/artifactId&gt;</span>&#x000A;        <span class="nt">&lt;version&gt;</span>2.3.0<span class="nt">&lt;/version&gt;</span>&#x000A;          <span class="nt">&lt;executions&gt;</span>&#x000A;            <span class="nt">&lt;execution&gt;</span>&#x000A;              <span class="nt">&lt;id&gt;</span>create-kar<span class="nt">&lt;/id&gt;</span>&#x000A;              <span class="nt">&lt;goals&gt;</span>&#x000A;                <span class="nt">&lt;goal&gt;</span>create-kar<span class="nt">&lt;/goal&gt;</span>&#x000A;              <span class="nt">&lt;/goals&gt;</span>&#x000A;              <span class="nt">&lt;configuration&gt;</span>&#x000A;                <span class="nt">&lt;featuresFile&gt;</span>/x1/asf/karaf-2.3.x/target/checkout/manual/src/main/resources/features.xml<span class="nt">&lt;/featuresFile&gt;</span>&#x000A;              <span class="nt">&lt;/configuration&gt;</span>&#x000A;            
 <span class="nt">&lt;/execution&gt;</span>&#x000A;          <span class="nt">&lt;/executions&gt;</span>&#x000A;        <span class="nt">&lt;/plugin&gt;</span>&#x000A;    <span class="nt">&lt;/plugins&gt;</span>&#x000A;  <span class="nt">&lt;/build&gt;</span>&#x000A;<span class="nt">&lt;/project&gt;</span>&#x000A;</pre></div>&#x000A;</div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>featuresFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The features XML used to generate the KAR file <br/> Default value: <tt>/x1/asf/karaf-2.3.x/target/checkout/manual/target/feature/feature.xml</tt> </td></tr><tr><td class="confluenceTd"> {{resourcesDir} </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> Location of resources directory for 
 additional content to include in the KAR. Note that it includes everything under classes so as to include maven-remote-resources <br/> Default value: /x1/asf/karaf-2.3.x/target/checkout/manual/target/classes}} </td></tr><tr><td class="confluenceTd"> <tt>finalName</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> Name of the generated kar <br/> Default value: <tt>manual-2.3.0</tt> </td></tr><tr><td class="confluenceTd"> <tt>outputDirectory</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> Directory containing the generated archive <br/> Default value: <tt>/x1/asf/karaf-2.3.x/target/checkout/manual/target</tt> </td></tr></table></div>
+                              <h2 id="Goalfeaturescreatekar">Goal <tt>features:create-kar</tt></h2><p>The <tt>features:create-kar</tt> goal creates a kar file from a given features XML.<br/>A kar file is a zip archive shipping all bundles and configuration files containing in features of a features XML, and the features XML itself.<br/>You can deploy a kar file just by copying it in the deploy folder, all resources will be loaded from the kar file.</p><h3 id="Example">Example</h3><p>The example below generates a kar file from a given features XML. The generated kar will be in the target folder with the manual-2.3.0.kar name.</p><div class="syntax"><pre name='code' class='brush: xml; gutter: false;'><code>
+&lt;project&gt;
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.karaf.tooling&lt;/groupId&gt;
+        &lt;artifactId&gt;features-maven-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.3.0&lt;/version&gt;
+          &lt;executions&gt;
+            &lt;execution&gt;
+              &lt;id&gt;create-kar&lt;/id&gt;
+              &lt;goals&gt;
+                &lt;goal&gt;create-kar&lt;/goal&gt;
+              &lt;/goals&gt;
+              &lt;configuration&gt;
+                &lt;featuresFile&gt;/x1/asf/karaf-2.3.x/target/checkout/manual/src/main/resources/features.xml&lt;/featuresFile&gt;
+              &lt;/configuration&gt;
+            &lt;/execution&gt;
+          &lt;/executions&gt;
+        &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+&lt;/project&gt;</code></pre></div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>featuresFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The features XML used to generate the KAR file <br/> Default value: <tt>/x1/asf/karaf-2.3.x/target/checkout/manual/target/feature/feature.xml</tt> </td></tr><tr><td class="confluenceTd"> {{resourcesDir} </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> Location of resources directory for additional content to include in the KAR. Note that it includes everything under classes so as to include maven-remote-resources <br/> Default value: /x1/asf/karaf-2.3.x/target/checkout/manual/target/classes}} </td></tr><tr><td class="confluenceTd"> <tt>finalName</tt> </td><td class="confluenceTd"> <tt>S
 tring</tt> </td><td class="confluenceTd"> Name of the generated kar <br/> Default value: <tt>manual-2.3.0</tt> </td></tr><tr><td class="confluenceTd"> <tt>outputDirectory</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> Directory containing the generated archive <br/> Default value: <tt>/x1/asf/karaf-2.3.x/target/checkout/manual/target</tt> </td></tr></table></div>
         </div>
       
           </div>

Modified: servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-generate.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-generate.html?rev=1595363&r1=1595362&r2=1595363&view=diff
==============================================================================
--- servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-generate.html (original)
+++ servicemix/site/production/docs/5.0.x/developers-guide/features-maven-plugin-generate.html Fri May 16 21:50:31 2014
@@ -94,7 +94,39 @@
 </ul>
         </div>
         <div id="body">
-                    <h2 id="Goalfeaturesgenerate">Goal <tt>features:generate</tt></h2><p>The <tt>features:generate</tt> goal generates a features XML file for every bundle listed in the project's dependencies.  In order to satisfy the required imports in these bundles, the plugin will add bundles:</p><ul style="list-style: square"><li><p>bundles provided by Apache Karaf</p></li><li><p>a explicit list of bundles</p></li><li><p>bundles discovered in the POM's transitive dependencies</p></li></ul><p>Afterwards, the generated file will be attached to the build as an additional build artifact (by default as <tt>group:artifact:version:xml:features</tt>).</p><h3 id="Example">Example</h3><p>The example below generates one feature that installs bundle <tt>mvn:org.apache:bundle1:1.0</tt> in a features XML file called <tt>target/features.xml</tt>.  It will find bundle in Apache Karaf 2.3.0, the transitive dependencies for this POM and the bundles listed in <tt>src/main/resources/bundles.proper
 ties</tt>. </p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;project&gt;</span>&#x000A;  <span class="nt">&lt;dependencies&gt;</span>&#x000A;    <span class="nt">&lt;dependency&gt;</span>&#x000A;      <span class="nt">&lt;groupId&gt;</span>org.apache<span class="nt">&lt;/groupId&gt;</span>&#x000A;      <span class="nt">&lt;artifactId&gt;</span>bundle1<span class="nt">&lt;/artifactId&gt;</span>&#x000A;      <span class="nt">&lt;version&gt;</span>1.0<span class="nt">&lt;/version&gt;</span>&#x000A;    <span class="nt">&lt;/dependency&gt;</span>&#x000A;  <span class="nt">&lt;/dependencies&gt;</span>&#x000A;  <span class="nt">&lt;build&gt;</span>&#x000A;    <span class="nt">&lt;plugins&gt;</span>&#x000A;      <span class="nt">&lt;plugin&gt;</span>&#x000A;        <span class="nt">&lt;groupId&gt;</span>org.apache.karaf.tooling<span class="nt">&lt;/groupId&gt;</span>&#x000A;        <span class="nt">&lt;artifactId&gt;</span>features-maven-plugin<span class="nt">&lt;/ar
 tifactId&gt;</span>&#x000A;        <span class="nt">&lt;version&gt;</span>2.3.0<span class="nt">&lt;/version&gt;</span>&#x000A;          <span class="nt">&lt;executions&gt;</span>&#x000A;            <span class="nt">&lt;execution&gt;</span>&#x000A;              <span class="nt">&lt;id&gt;</span>generate<span class="nt">&lt;/id&gt;</span>&#x000A;              <span class="nt">&lt;phase&gt;</span>generate-resources<span class="nt">&lt;/phase&gt;</span>&#x000A;              <span class="nt">&lt;goals&gt;</span>&#x000A;                <span class="nt">&lt;goal&gt;</span>generate<span class="nt">&lt;/goal&gt;</span>&#x000A;              <span class="nt">&lt;/goals&gt;</span>&#x000A;              <span class="nt">&lt;configuration&gt;</span>&#x000A;                <span class="nt">&lt;bundles&gt;</span>src/main/resources/bundles.properties<span class="nt">&lt;/bundles&gt;</span>&#x000A;                <span class="nt">&lt;kernelVersion&gt;</span>2.3.0<span class="nt">&lt;/kernelVersion&gt
 ;</span>&#x000A;                <span class="nt">&lt;outputFile&gt;</span>target/features.xml<span class="nt">&lt;/outputFile&gt;</span>&#x000A;              <span class="nt">&lt;/configuration&gt;</span>&#x000A;            <span class="nt">&lt;/execution&gt;</span>&#x000A;          <span class="nt">&lt;/executions&gt;</span>&#x000A;        <span class="nt">&lt;/plugin&gt;</span>&#x000A;    <span class="nt">&lt;/plugins&gt;</span>&#x000A;  <span class="nt">&lt;/build&gt;</span>  &#x000A;<span class="nt">&lt;/project&gt;</span>&#x000A;</pre></div>&#x000A;</div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>outputFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> Name of the features XML file that is being generated <br/> Default value: <tt>/x1/asf/kara
 f-2.3.x/target/checkout/manual/target/classes/feature.xml</tt> </td></tr><tr><td class="confluenceTd"> <tt>attachmentArtifactType</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The artifact type for attaching the generated file to the project <br/> Default value: {{xml}) </td></tr><tr><td class="confluenceTd"> <tt>attachmentArtifactClassifier</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The artifact classifier for attaching the generated file to the project <br/> Default value: <tt>features</tt> </td></tr><tr><td class="confluenceTd"> <tt>kernelVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The version of Karaf that is used to determine system bundles and default provided features </td></tr><tr><td class="confluenceTd"> <tt>bundles</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> A properties file that contains a list of bundles that w
 ill be used to generate the features.xml file </td></tr></table></div>
+                              <h2 id="Goalfeaturesgenerate">Goal <tt>features:generate</tt></h2><p>The <tt>features:generate</tt> goal generates a features XML file for every bundle listed in the project's dependencies.  In order to satisfy the required imports in these bundles, the plugin will add bundles:</p><ul style="list-style: square"><li><p>bundles provided by Apache Karaf</p></li><li><p>a explicit list of bundles</p></li><li><p>bundles discovered in the POM's transitive dependencies</p></li></ul><p>Afterwards, the generated file will be attached to the build as an additional build artifact (by default as <tt>group:artifact:version:xml:features</tt>).</p><h3 id="Example">Example</h3><p>The example below generates one feature that installs bundle <tt>mvn:org.apache:bundle1:1.0</tt> in a features XML file called <tt>target/features.xml</tt>.  It will find bundle in Apache Karaf 2.3.0, the transitive dependencies for this POM and the bundles listed in <tt>src/main/resources/bund
 les.properties</tt>. </p><div class="syntax"><pre name='code' class='brush: xml; gutter: false;'><code>
+&lt;project&gt;
+  &lt;dependencies&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache&lt;/groupId&gt;
+      &lt;artifactId&gt;bundle1&lt;/artifactId&gt;
+      &lt;version&gt;1.0&lt;/version&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.karaf.tooling&lt;/groupId&gt;
+        &lt;artifactId&gt;features-maven-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.3.0&lt;/version&gt;
+          &lt;executions&gt;
+            &lt;execution&gt;
+              &lt;id&gt;generate&lt;/id&gt;
+              &lt;phase&gt;generate-resources&lt;/phase&gt;
+              &lt;goals&gt;
+                &lt;goal&gt;generate&lt;/goal&gt;
+              &lt;/goals&gt;
+              &lt;configuration&gt;
+                &lt;bundles&gt;src/main/resources/bundles.properties&lt;/bundles&gt;
+                &lt;kernelVersion&gt;2.3.0&lt;/kernelVersion&gt;
+                &lt;outputFile&gt;target/features.xml&lt;/outputFile&gt;
+              &lt;/configuration&gt;
+            &lt;/execution&gt;
+          &lt;/executions&gt;
+        &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;  
+&lt;/project&gt;</code></pre></div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>outputFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> Name of the features XML file that is being generated <br/> Default value: <tt>/x1/asf/karaf-2.3.x/target/checkout/manual/target/classes/feature.xml</tt> </td></tr><tr><td class="confluenceTd"> <tt>attachmentArtifactType</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The artifact type for attaching the generated file to the project <br/> Default value: {{xml}) </td></tr><tr><td class="confluenceTd"> <tt>attachmentArtifactClassifier</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The artifact classifier for attaching the generated file to the pro
 ject <br/> Default value: <tt>features</tt> </td></tr><tr><td class="confluenceTd"> <tt>kernelVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The version of Karaf that is used to determine system bundles and default provided features </td></tr><tr><td class="confluenceTd"> <tt>bundles</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> A properties file that contains a list of bundles that will be used to generate the features.xml file </td></tr></table></div>
         </div>
       
           </div>



Mime
View raw message