Modified: karaf/site/production/manual/latest/commands/wrapper-install.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/wrapper-install.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/commands/wrapper-install.html (original) +++ karaf/site/production/manual/latest/commands/wrapper-install.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -101,7 +101,7 @@ </td> <td height="100%" width="100%"> <div class="wiki-content"> -<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"> -i, --include </td><td class="confluenceTd"> Specify include statement for JSW wrapper conf. To specify multiple include statement, specify this flag multiple times. </td></tr><tr><td class="confluenceTd"> --help </td><td class="confluenceTd"> Display this help message </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) </td></tr><tr><td class="conflu enceTd"> -n, --name </td><td class="confluenceTd"> The service name that will be used when installing the service. (Default: karaf) </td></tr><tr><td class="confluenceTd"> -D, --description </td><td class="confluenceTd"> The description of the service. </td></tr><tr><td class="confluenceTd"> -e, --env </td><td class="confluenceTd"> Specify environment variable and values. To specify multiple environment variable and values, specify this flag multiple times. </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"> --help </td><td class="confluenceTd"> Display this help message </td></tr><tr><td class="confluenceTd"> -d, --display </td><td class="confluenceTd"> The display name of the service. </td></tr><tr><td class="confluenceTd"> -i, --include </td><td class="confluenceTd"> Specify include statement for JSW wrapper conf. To specify multiple include statement, specify this flag multiple times. </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) </td></tr><tr><td class="conflu enceTd"> -n, --name </td><td class="confluenceTd"> The service name that will be used when installing the service. (Default: karaf) </td></tr><tr><td class="confluenceTd"> -D, --description </td><td class="confluenceTd"> The description of the service. </td></tr><tr><td class="confluenceTd"> -e, --env </td><td class="confluenceTd"> Specify environment variable and values. To specify multiple environment variable and values, specify this flag multiple times. </td></tr></table></div> </div> </td> </tr>
Modified: karaf/site/production/manual/latest/developers-guide/archetypes.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/archetypes.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/archetypes.html (original) +++ karaf/site/production/manual/latest/developers-guide/archetypes.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/branding.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/branding.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/branding.html (original) +++ karaf/site/production/manual/latest/developers-guide/branding.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -163,7 +163,7 @@ welcome = \ \u001B[36m / /| |/ /_/ / / / /_/ / __/ \u001B[0m\r\n\ \u001B[36m /_/ |_|\\__,_/_/ \\__,_/_/ \u001B[0m\r\n\ \r\n\ -\u001B[1m Apache Karaf\u001B[0m (4.0.1-SNAPSHOT)\r\n\ +\u001B[1m Apache Karaf\u001B[0m (4.0.2-SNAPSHOT)\r\n\ \r\n\ Hit '\u001B[1m<tab>\u001B[0m' for a list of available commands\r\n\ and '\u001B[1m[cmd] --help\u001B[0m' for help on a specific command.\r\n\ Modified: karaf/site/production/manual/latest/developers-guide/connect.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/connect.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/connect.html (original) +++ karaf/site/production/manual/latest/developers-guide/connect.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/creating-bundles.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/creating-bundles.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/creating-bundles.html (original) +++ karaf/site/production/manual/latest/developers-guide/creating-bundles.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/custom-distribution.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/custom-distribution.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/custom-distribution.html (original) +++ karaf/site/production/manual/latest/developers-guide/custom-distribution.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -112,7 +112,7 @@ <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf-minimal</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> <packaging>karaf-assembly</packaging> <name>Apache Karaf :: Assemblies :: Minimal Distribution</name> @@ -121,7 +121,7 @@ <!-- scope is compile so all features (there is only one) are installed into startup.properties and the feature repo itself is not added in etc/org.apache.karaf.features.cfg file --> <groupId>org.apache.karaf.features</groupId> <artifactId>framework</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> <type>kar</type> </dependency> <dependency> @@ -299,20 +299,20 @@ <name>My Unix Custom Karaf Distribution</name> <properties> - <karaf.version>4.0.1-SNAPSHOT</karaf.version> + <karaf.version>4.0.2-SNAPSHOT</karaf.version> </properties> <dependencies> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> <type>tar.gz</type> </dependency> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> <type>xml</type> <classifier>features</classifier> </dependency> @@ -345,7 +345,7 @@ <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>features-maven-plugin</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> <executions> <execution> <id>add-features-to-repo</id> @@ -355,7 +355,7 @@ </goals> <configuration> <descriptors> - <descriptor>mvn:org.apache.karaf/apache-karaf/4.0.1-SNAPSHOT/xml/features</descriptor> + <descriptor>mvn:org.apache.karaf/apache-karaf/4.0.2-SNAPSHOT/xml/features</descriptor> <descriptor>file:/home/jbonofre/Workspace/karaf/manual/target/classes/my-features.xml</descriptor> </descriptors> <features> @@ -437,7 +437,7 @@ # # Comma separated list of features repositories to register by default # -featuresRepositories=mvn:org.apache.karaf/apache-karaf/4.0.1-SNAPSHOT/xml/features,mvn:my.groupId/my-features/4.0.1-SNAPSHOT/xml/features +featuresRepositories=mvn:org.apache.karaf/apache-karaf/4.0.2-SNAPSHOT/xml/features,mvn:my.groupId/my-features/4.0.2-SNAPSHOT/xml/features # # Comma separated list of features to install at startup @@ -548,7 +548,7 @@ org.osgi.framework.system.packages.extra <!-- Expanded Karaf Standard Distribution --> <fileSet> - <directory>target/dependencies/apache-karaf-4.0.1-SNAPSHOT</directory> + <directory>target/dependencies/apache-karaf-4.0.2-SNAPSHOT</directory> <outputDirectory>/</outputDirectory> <excludes> <exclude>**/demos/**</exclude> @@ -568,7 +568,7 @@ org.osgi.framework.system.packages.extra <!-- Copy over bin/* separately to get the correct file mode --> <fileSet> - <directory>target/dependencies/apache-karaf-4.0.1-SNAPSHOT</directory> + <directory>target/dependencies/apache-karaf-4.0.2-SNAPSHOT</directory> <outputDirectory>/</outputDirectory> <includes> <include>bin/admin</include> @@ -609,7 +609,7 @@ org.osgi.framework.system.packages.extra <files> <file> - <source>/home/jbonofre/Workspace/karaf/manual/target/dependencies/apache-karaf-4.0.1-SNAPSHOT/bin/karaf</source> + <source>/home/jbonofre/Workspace/karaf/manual/target/dependencies/apache-karaf-4.0.2-SNAPSHOT/bin/karaf</source> <outputDirectory>/bin/</outputDirectory> <destName>my-custom</destName> <fileMode>0755</fileMode> @@ -617,8 +617,8 @@ org.osgi.framework.system.packages.extra </file> <file> <source>/home/jbonofre/Workspace/karaf/manual/target/classes/features.xml</source> - <outputDirectory>/system/my.groupid/my-features/4.0.1-SNAPSHOT</outputDirectory> - <destName>my-features-4.0.1-SNAPSHOT-features.xml</destName> + <outputDirectory>/system/my.groupid/my-features/4.0.2-SNAPSHOT</outputDirectory> + <destName>my-features-4.0.2-SNAPSHOT-features.xml</destName> <fileMode>0644</fileMode> <lineEnding>unix</lineEnding> </file> Modified: karaf/site/production/manual/latest/developers-guide/debugging.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/debugging.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/debugging.html (original) +++ karaf/site/production/manual/latest/developers-guide/debugging.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/developer-commands.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/developer-commands.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/developer-commands.html (original) +++ karaf/site/production/manual/latest/developers-guide/developer-commands.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/extending.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/extending.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/extending.html (original) +++ karaf/site/production/manual/latest/developers-guide/extending.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -130,7 +130,7 @@ Define value for package: : org.apache.k <dependency> <groupId>org.apache.karaf.shell</groupId> <artifactId>org.apache.karaf.shell.console</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> </dependency> <dependency> <groupId>junit</groupId> Modified: karaf/site/production/manual/latest/developers-guide/github-contributions.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/github-contributions.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/github-contributions.html (original) +++ karaf/site/production/manual/latest/developers-guide/github-contributions.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/index.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/index.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/index.html (original) +++ karaf/site/production/manual/latest/developers-guide/index.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-commands-generate-help.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-commands-generate-help.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-commands-generate-help.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-commands-generate-help.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -101,7 +101,7 @@ </td> <td height="100%" width="100%"> <div class="wiki-content"> -<h2 id="Goalkarafcommandsgeneratehelp">Goal <tt>karaf:commands-generate-help</tt></h2><p>The <tt>karaf:commands-generate-help</tt> goal generates documentation containing Karaf commands help.</p><p>It looks for Karaf commands in the current project class loader and generates the help as displayed with the --help<br/>option in the Karaf shell console.</p><h3 id="Example">Example</h3><p>The example below generates help for the commands in the current project:</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4. 0.1-SNAPSHOT<span class="nt"></version></span>

 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>document-commands<span class="nt"></id></span>
 <span class="nt"><phase></span>generate-resources<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>commands-generate-help<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><targetFolder></span>/home/jbonofre/Workspace/karaf/manual/target/docbook/sources<span class="nt"></targetFolder></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 ; <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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>targetFolder</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The directory where the documentation output files are to be generated <br/> Default value: /home/jbonofre/Workspace/karaf/manual/target/docbkx/sources </td></tr><tr><td class="confluenceTd"> <tt>format</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The output format (docbx or conf) of the commands documentation. <br/> Default val ue: docbx </td></tr><tr><td class="confluenceTd"> <tt>classLoader</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The class loader to use in loading the commands. <br/> Default value: $ </td></tr></table></div> +<h2 id="Goalkarafcommandsgeneratehelp">Goal <tt>karaf:commands-generate-help</tt></h2><p>The <tt>karaf:commands-generate-help</tt> goal generates documentation containing Karaf commands help.</p><p>It looks for Karaf commands in the current project class loader and generates the help as displayed with the --help<br/>option in the Karaf shell console.</p><h3 id="Example">Example</h3><p>The example below generates help for the commands in the current project:</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4. 0.2-SNAPSHOT<span class="nt"></version></span>

 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>document-commands<span class="nt"></id></span>
 <span class="nt"><phase></span>generate-resources<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>commands-generate-help<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><targetFolder></span>/home/jbonofre/Workspace/karaf/manual/target/docbook/sources<span class="nt"></targetFolder></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 ; <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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>targetFolder</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The directory where the documentation output files are to be generated <br/> Default value: /home/jbonofre/Workspace/karaf/manual/target/docbkx/sources </td></tr><tr><td class="confluenceTd"> <tt>format</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The output format (docbx or conf) of the commands documentation. <br/> Default val ue: docbx </td></tr><tr><td class="confluenceTd"> <tt>classLoader</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The class loader to use in loading the commands. <br/> Default value: $ </td></tr></table></div> </div> </td> </tr> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-add-to-repository.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-add-to-repository.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-add-to-repository.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-add-to-repository.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -101,7 +101,7 @@ </td> <td height="100%" width="100%"> <div class="wiki-content"> -<h2 id="Goalkaraffeaturesaddtorepository">Goal <tt>karaf:features-add-to-repository</tt></h2><p>Consider using the karaf-assembly packaging which makes it easy to assemble a custom distribution in one step instead of this individual goal.</p><p>The <tt>karaf:features-add-to-repository</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"><project></span>
 <span class="nt"><build></span>
 <span class="nt">< ;plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.1-SNAPSHOT<span class="nt"></version></span>

 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>features-add-to-repo<span class="nt"></id></span>
 <span class="nt"><phase></span>generate-resources<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>features-add-to-repository<span class="nt"></goal></span>
 <span class="nt"></goals></s pan>
 <span class="nt"><configuration></span>
 <span class="nt"><descriptors></span> 
 <span class="nt"><descriptor></span>mvn:org.apache.karaf.features/standard/4.0.0/xml/features<span class="nt"></descriptor></span>
 <span class="nt"><descriptor></span>mvn:my.groupid/my.artifactid/1.0.0/xml/features<span class="nt"></descriptor></span>
 <span class="nt"></descriptors></span>
 <span class="nt"><features></span>
 <span class="nt"><feature></span>spring<span class="nt"></feature></span>
 <span class="nt"><feature></span>war<span class="nt"></feature></span>
 <span class="nt"><feature></span>my<span class="nt"></feature></span>
 <span class="nt"></features></span>
 <span c lass="nt"><repository></span>target/features-repo<span class="nt"></repository></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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 </td></tr><tr><td class="confluenceTd"> <tt>features</tt> </td><td cla ss="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> List of features that bundles should be copied to the repository directory </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></table></div> +<h2 id="Goalkaraffeaturesaddtorepository">Goal <tt>karaf:features-add-to-repository</tt></h2><p>Consider using the karaf-assembly packaging which makes it easy to assemble a custom distribution in one step instead of this individual goal.</p><p>The <tt>karaf:features-add-to-repository</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"><project></span>
 <span class="nt"><build></span>
 <span class="nt">< ;plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.2-SNAPSHOT<span class="nt"></version></span>

 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>features-add-to-repo<span class="nt"></id></span>
 <span class="nt"><phase></span>generate-resources<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>features-add-to-repository<span class="nt"></goal></span>
 <span class="nt"></goals></s pan>
 <span class="nt"><configuration></span>
 <span class="nt"><descriptors></span> 
 <span class="nt"><descriptor></span>mvn:org.apache.karaf.features/standard/4.0.0/xml/features<span class="nt"></descriptor></span>
 <span class="nt"><descriptor></span>mvn:my.groupid/my.artifactid/1.0.0/xml/features<span class="nt"></descriptor></span>
 <span class="nt"></descriptors></span>
 <span class="nt"><features></span>
 <span class="nt"><feature></span>spring<span class="nt"></feature></span>
 <span class="nt"><feature></span>war<span class="nt"></feature></span>
 <span class="nt"><feature></span>my<span class="nt"></feature></span>
 <span class="nt"></features></span>
 <span c lass="nt"><repository></span>target/features-repo<span class="nt"></repository></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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 </td></tr><tr><td class="confluenceTd"> <tt>features</tt> </td><td cla ss="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> List of features that bundles should be copied to the repository directory </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></table></div> </div> </td> </tr> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-create-kar.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-create-kar.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-create-kar.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-create-kar.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -101,7 +101,7 @@ </td> <td height="100%" width="100%"> <div class="wiki-content"> -<h2 id="Goalkarafkar">Goal <tt>karaf:kar</tt></h2><p>Except in unusual circumstances, use the <packaging>kar</packaging> to run this goal.</p><p>The <tt>karaf:kar</tt> goal assembles a KAR archive from a features XML descriptor file, normally generated in the same project with the <tt>karaf:features-generate-descriptor</tt> mojo.</p><h2 id="karlayout">kar layout</h2><p>There are two important directories in a kar:<br/>repository/ contains a Maven structured repository of artifacts to be copied into the Karaf repository. The features descriptor and all the bundles mentioned in it are installed in this directory.<br/>resources/ contains other resources to be copied over the Karaf installation.</p><p>Everything in target/classes is copied into the kar. Therefore resources you want installed into Karaf need to be in e.g. src/main/resources/resources. This choice is so other resources such as legal files from the maven-remote-resources-plugin can be included under META-INF in th e kar, without getting installed into Karaf.</p><h3 id="Example">Example</h3><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
...
 <span class="nt"><packaging></span>kar<span class="nt"></packaging></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.1-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><extensions></span>true<span class="nt"></extensions></span>
 <span class="c"><!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful --></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</div> +<h2 id="Goalkarafkar">Goal <tt>karaf:kar</tt></h2><p>Except in unusual circumstances, use the <packaging>kar</packaging> to run this goal.</p><p>The <tt>karaf:kar</tt> goal assembles a KAR archive from a features XML descriptor file, normally generated in the same project with the <tt>karaf:features-generate-descriptor</tt> mojo.</p><h2 id="karlayout">kar layout</h2><p>There are two important directories in a kar:<br/>repository/ contains a Maven structured repository of artifacts to be copied into the Karaf repository. The features descriptor and all the bundles mentioned in it are installed in this directory.<br/>resources/ contains other resources to be copied over the Karaf installation.</p><p>Everything in target/classes is copied into the kar. Therefore resources you want installed into Karaf need to be in e.g. src/main/resources/resources. This choice is so other resources such as legal files from the maven-remote-resources-plugin can be included under META-INF in th e kar, without getting installed into Karaf.</p><h3 id="Example">Example</h3><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
...
 <span class="nt"><packaging></span>kar<span class="nt"></packaging></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.2-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><extensions></span>true<span class="nt"></extensions></span>
 <span class="c"><!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful --></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</div> </div> </td> </tr> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-generate-descriptor.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-generate-descriptor.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-generate-descriptor.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-generate-descriptor.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -103,7 +103,7 @@ <div class="wiki-content"> <h2 id="Goalkaraffeaturesgeneratedescriptor">Goal <tt>karaf:features-generate-descriptor</tt></h2><p>Except in unusual circumstances, use the <packaging>feature</packaging> to run this goal.</p><p>The <tt>karaf:features-generate-descriptor</tt> goal generates a features XML file based on the Maven dependencies. By default, it will follow Maven transitive dependencies, stopping when it encounters bundles already present in features that are Maven dependencies.</p><p>A record of the dependency tree search can be found in target/history/treeListing.txt.</p><p>You can track dependency changes and warn or fail on change.</p><h2 id="Configuration">Configuration</h2><p>Specify the packaging as a top level element</p><pre> <packaging>feature</packaging> -</pre><p>You can supply a feature descriptor to extend in src/main/feature/feature.xml.</p><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Parameter Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> aggregateFeatures </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> Specifies processing of feature repositories that are (transitive) Maven dependencies. If false, all features in these repositories become dependencies of the generated feature. If true, all features in these repositories are copied into the generated feature repository. </td></tr><tr><td class="confluenceTd"> startLevel </td><td class="confluenceTd"> int </td><td class="confluenceTd"> The start level for the bundles determined from Maven dependencies. This can be overridden by specifying the bundle in the source feature.xml with the desired startlevel. </td></tr><tr><td class="conf luenceTd"> includeTransitiveDependency </td><td class="confluenceTd"> boolean (true) </td><td class="confluenceTd"> Whether to follow Maven transitive dependencies. </td></tr><tr><td class="confluenceTd"> checkDependencyChange </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> Whether to record dependencies in src/main/history.dependencies.xml for change tracking. </td></tr><tr><td class="confluenceTd"> warnOnDependencyChange </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> whether to fail on changed dependencies (false, default) or warn in the build output (true). </td></tr><tr><td class="confluenceTd"> logDependencyChanges </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> If true, added and removed dependencies are shown in target/history. </td></tr><tr><td class="confluenceTd"> overwriteChangedDependencies </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> If true, the s rc/main/history/dependencies.xml file will be overwritten if it has changed. </td></tr></table></div><h3 id="Example">Example</h3><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
...
 <span class="nt"><packaging></span>feature<span class="nt"></packaging></span>
 <span class="nt"><dependencies></span>
 <span class="nt"><dependency></span>
 <span class="nt"><groupId></span>org.apache<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>bundle1<span class="nt"></artifactId></span>
 <span class="nt"><version></span>1.0<span class="nt"></version></span>
 <span class="nt"></dependency></span>
 <span class="nt"></dependencies></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></s pan>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.1-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><extensions></span>true<span class="nt"></extensions></span>
 <span class="nt"><configuration></span>
 <span class="nt"><startLevel></span>80<span class="nt"></startLevel></span>
 <span class="nt"><aggregateFeatures></span>true<span class="nt"></aggregateFeatures></span>
 <span class="nt"></configuration></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt">< /project></span>
</pre></div>
</div> +</pre><p>You can supply a feature descriptor to extend in src/main/feature/feature.xml.</p><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Parameter Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> aggregateFeatures </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> Specifies processing of feature repositories that are (transitive) Maven dependencies. If false, all features in these repositories become dependencies of the generated feature. If true, all features in these repositories are copied into the generated feature repository. </td></tr><tr><td class="confluenceTd"> startLevel </td><td class="confluenceTd"> int </td><td class="confluenceTd"> The start level for the bundles determined from Maven dependencies. This can be overridden by specifying the bundle in the source feature.xml with the desired startlevel. </td></tr><tr><td class="conf luenceTd"> includeTransitiveDependency </td><td class="confluenceTd"> boolean (true) </td><td class="confluenceTd"> Whether to follow Maven transitive dependencies. </td></tr><tr><td class="confluenceTd"> checkDependencyChange </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> Whether to record dependencies in src/main/history.dependencies.xml for change tracking. </td></tr><tr><td class="confluenceTd"> warnOnDependencyChange </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> whether to fail on changed dependencies (false, default) or warn in the build output (true). </td></tr><tr><td class="confluenceTd"> logDependencyChanges </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> If true, added and removed dependencies are shown in target/history. </td></tr><tr><td class="confluenceTd"> overwriteChangedDependencies </td><td class="confluenceTd"> boolean (false) </td><td class="confluenceTd"> If true, the s rc/main/history/dependencies.xml file will be overwritten if it has changed. </td></tr></table></div><h3 id="Example">Example</h3><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
...
 <span class="nt"><packaging></span>feature<span class="nt"></packaging></span>
 <span class="nt"><dependencies></span>
 <span class="nt"><dependency></span>
 <span class="nt"><groupId></span>org.apache<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>bundle1<span class="nt"></artifactId></span>
 <span class="nt"><version></span>1.0<span class="nt"></version></span>
 <span class="nt"></dependency></span>
 <span class="nt"></dependencies></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></s pan>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.2-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><extensions></span>true<span class="nt"></extensions></span>
 <span class="nt"><configuration></span>
 <span class="nt"><startLevel></span>80<span class="nt"></startLevel></span>
 <span class="nt"><aggregateFeatures></span>true<span class="nt"></aggregateFeatures></span>
 <span class="nt"></configuration></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt">< /project></span>
</pre></div>
</div> </div> </td> </tr> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-validate-descriptor.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-validate-descriptor.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-validate-descriptor.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-features-validate-descriptor.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -101,7 +101,7 @@ </td> <td height="100%" width="100%"> <div class="wiki-content"> -<h2 id="Goalkaraffeaturesvalidatedescriptor">Goal <tt>karaf:features-validate-descriptor</tt></h2><p>The <tt>karaf:features-validate-descriptor</tt> goal validates a features XML descriptor by checking if all the required imports for the bundles defined in the features can be matched to a provided export.</p><p>By default, the plugin tries to add the Karaf core features (standard and enterprise) in the repositories set.<br/>It means that it's not required to explicitly define the Karaf features descriptor in the repository section of your features descriptor.</p><h3 id="Example">Example</h3><p>The example below validates the features defined in the <tt>target/features.xml</tt> by checking all the imports and exports. It reads the definition for the packages that are exported by the system bundle from the <tt>src/main/resources/config.properties</tt> file.</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build&g t;</span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.1-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>validate<span class="nt"></id></span>
 <span class="nt"><phase></span>process-resources<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>features-validate-descriptor<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><file></span>target/features.xml<span class="nt"></file></span>
 <span class="nt"><karafConfig></span>src/main/resources/config.properties<span class="nt"></karafConfig></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"><dependencies></span>
 <span class="nt"><dependency></span>
 <span class="nt"><groupId></span>org.slf4j<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>slf4j-simple<span class="nt"></artifactId></span>
 <span class="nt"><version></span>1.4.3<span class="nt"> </version></span>
 <span class="nt"></dependency></span>
 <span class="nt"></dependencies></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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>file</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The features XML descriptor file to validate. <br/> Default value: <tt>/home/jbonofre/Workspace/karaf/manual/target/classes/features.xml</tt> </td></tr><tr><td class="confluenceTd"> <tt>karafConfig</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The Karaf <tt>config.properties</tt> file to use during the validation process <br/> Default value: <tt>config.properties</tt> </td></tr><tr><td class="confluenceTd"> <tt>jreVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The JRE version that is used during the validation process <br/> Default value: {{jre-1.5}) </td></tr><tr><td class="confluenceTd"> <tt>karafVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The target Karaf version used to get the Karaf core features (standard and enterprise) <br/> Default is the version of the plugin </td></tr><tr><td class="confluenceTd"> <tt>repositories</tt> </td><td class="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> Additional features XML descriptors that will be used during the validation process </td></tr></table></div> +<h2 id="Goalkaraffeaturesvalidatedescriptor">Goal <tt>karaf:features-validate-descriptor</tt></h2><p>The <tt>karaf:features-validate-descriptor</tt> goal validates a features XML descriptor by checking if all the required imports for the bundles defined in the features can be matched to a provided export.</p><p>By default, the plugin tries to add the Karaf core features (standard and enterprise) in the repositories set.<br/>It means that it's not required to explicitly define the Karaf features descriptor in the repository section of your features descriptor.</p><h3 id="Example">Example</h3><p>The example below validates the features defined in the <tt>target/features.xml</tt> by checking all the imports and exports. It reads the definition for the packages that are exported by the system bundle from the <tt>src/main/resources/config.properties</tt> file.</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build&g t;</span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.2-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>validate<span class="nt"></id></span>
 <span class="nt"><phase></span>process-resources<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>features-validate-descriptor<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><file></span>target/features.xml<span class="nt"></file></span>
 <span class="nt"><karafConfig></span>src/main/resources/config.properties<span class="nt"></karafConfig></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"><dependencies></span>
 <span class="nt"><dependency></span>
 <span class="nt"><groupId></span>org.slf4j<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>slf4j-simple<span class="nt"></artifactId></span>
 <span class="nt"><version></span>1.4.3<span class="nt"> </version></span>
 <span class="nt"></dependency></span>
 <span class="nt"></dependencies></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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>file</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The features XML descriptor file to validate. <br/> Default value: <tt>/home/jbonofre/Workspace/karaf/manual/target/classes/features.xml</tt> </td></tr><tr><td class="confluenceTd"> <tt>karafConfig</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The Karaf <tt>config.properties</tt> file to use during the validation process <br/> Default value: <tt>config.properties</tt> </td></tr><tr><td class="confluenceTd"> <tt>jreVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The JRE version that is used during the validation process <br/> Default value: {{jre-1.5}) </td></tr><tr><td class="confluenceTd"> <tt>karafVersion</tt> </td><td class="confluenceTd"> <tt>String</tt> </td><td class="confluenceTd"> The target Karaf version used to get the Karaf core features (standard and enterprise) <br/> Default is the version of the plugin </td></tr><tr><td class="confluenceTd"> <tt>repositories</tt> </td><td class="confluenceTd"> <tt>String[]</tt> </td><td class="confluenceTd"> Additional features XML descriptors that will be used during the validation process </td></tr></table></div> </div> </td> </tr> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -101,7 +101,7 @@ </td> <td height="100%" width="100%"> <div class="wiki-content"> -<h2 id="Goalkarafarchive">Goal <tt>karaf:archive</tt></h2><p>Normally this is run as part of the karaf-assembly packaging.</p><p>The <tt>karaf:archive</tt> goal packages a Karaf instance archive from a given assembled instance.</p><p>Both tar.gz and zip formats are generated in the destination folder.</p><h3 id="Example">Example</h3><p>The example below create archives for the given Karaf instance:</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.1-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>generate<span class="nt"></id></span>
 <span class="nt"><phase></span>package<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>archive<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><destDir></span>/home/jbonofre/Workspace/karaf/manual/target<span class="nt"></destDir></span>
 <span class="nt"><targetServerDirectory></span>/home/jbonofre/Workspace/karaf/manual/target/assembly<span class="nt"></targetServerDirectory></span>
 <span class="nt"><targetFile>< /span>/home/jbonofre/Workspace/karaf/manual/pom.xml<span class="nt"></targetFile></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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>destDir</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target directory of the project. <br/> Default value: /home/jbonofre/Workspace/karaf/manual/target </td></tr><tr><td class="confluence Td"> <tt>targetServerDirectory</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The location of the server repository. <br/> Default value: /home/jbonofre/Workspace/karaf/manual/target/assembly </td></tr><tr><td class="confluenceTd"> <tt>targetFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target file to set as the project's artifact. <br/> Default value: /home/jbonofre/Workspace/karaf/manual/pom.xml </td></tr></table></div> +<h2 id="Goalkarafarchive">Goal <tt>karaf:archive</tt></h2><p>Normally this is run as part of the karaf-assembly packaging.</p><p>The <tt>karaf:archive</tt> goal packages a Karaf instance archive from a given assembled instance.</p><p>Both tar.gz and zip formats are generated in the destination folder.</p><h3 id="Example">Example</h3><p>The example below create archives for the given Karaf instance:</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>4.0.2-SNAPSHOT<span class="nt"></version></span>
 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>generate<span class="nt"></id></span>
 <span class="nt"><phase></span>package<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>archive<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><destDir></span>/home/jbonofre/Workspace/karaf/manual/target<span class="nt"></destDir></span>
 <span class="nt"><targetServerDirectory></span>/home/jbonofre/Workspace/karaf/manual/target/assembly<span class="nt"></targetServerDirectory></span>
 <span class="nt"><targetFile>< /span>/home/jbonofre/Workspace/karaf/manual/pom.xml<span class="nt"></targetFile></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</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>destDir</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target directory of the project. <br/> Default value: /home/jbonofre/Workspace/karaf/manual/target </td></tr><tr><td class="confluence Td"> <tt>targetServerDirectory</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The location of the server repository. <br/> Default value: /home/jbonofre/Workspace/karaf/manual/target/assembly </td></tr><tr><td class="confluenceTd"> <tt>targetFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target file to set as the project's artifact. <br/> Default value: /home/jbonofre/Workspace/karaf/manual/pom.xml </td></tr></table></div> </div> </td> </tr> Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html (original) +++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> @@ -108,7 +108,7 @@ <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> - <version>4.0.1-SNAPSHOT</version> + <version>4.0.2-SNAPSHOT</version> <extensions>true</extensions> </plugin> </plugins> Modified: karaf/site/production/manual/latest/developers-guide/scripting.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/scripting.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/scripting.html (original) +++ karaf/site/production/manual/latest/developers-guide/scripting.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/security-framework.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/security-framework.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/security-framework.html (original) +++ karaf/site/production/manual/latest/developers-guide/security-framework.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body> Modified: karaf/site/production/manual/latest/developers-guide/services.html URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/services.html?rev=1700779&r1=1700778&r2=1700779&view=diff ============================================================================== --- karaf/site/production/manual/latest/developers-guide/services.html (original) +++ karaf/site/production/manual/latest/developers-guide/services.html Wed Sep 2 12:11:47 2015 @@ -8,7 +8,7 @@ <link href="../css/style.css" rel="stylesheet" type="text/css"/> <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/> <title> - Apache Karaf 4.0.1-SNAPSHOT Guides + Apache Karaf 4.0.2-SNAPSHOT Guides </title> </head> <body>
