You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2011/10/05 08:55:14 UTC
svn commit: r1179065 -
/karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/kar.conf
Author: jbonofre
Date: Wed Oct 5 06:55:14 2011
New Revision: 1179065
URL: http://svn.apache.org/viewvc?rev=1179065&view=rev
Log:
[KARAF-773] Update the KAR documentation
Modified:
karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/kar.conf
Modified: karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/kar.conf
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/kar.conf?rev=1179065&r1=1179064&r2=1179065&view=diff
==============================================================================
--- karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/kar.conf (original)
+++ karaf/branches/karaf-2.2.x/manual/src/main/webapp/users-guide/kar.conf Wed Oct 5 06:55:14 2011
@@ -18,7 +18,7 @@ h2. Create a kar archive
You can create a kar file by hand, just by zip compressing a directory representing the kar content.
-You can also use the Karaf features maven plugin. The features maven plugin provides an archive-kar goal.
+You can also use the Karaf features maven plugin. The features maven plugin provides an create-kar goal.
The kar-archive goal:
1. Reads all features specified in the features descriptor.
@@ -43,12 +43,12 @@ For instance, you can use the following
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
- <version>2.1.99-SNAPSHOT</version>
+ <version>2.2.4</version>
<executions>
<execution>
- <id>archive-kar</id>
+ <id>create-kar</id>
<goals>
- <goal>archive-kar</goal>
+ <goal>create-kar</goal>
</goals>
<configuration>
<featuresFile>src/main/resources/features.xml</featuresFile>
@@ -89,7 +89,7 @@ Karaf provides a KAR deployer:
{code}
karaf@root> la|grep -i archive
-[ 12] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Karaf Archive (.kar) (2.1.99.SNAPSHOT)
+[ 12] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Karaf Archive (.kar) (2.2.4)
{code}
It's a core deployer (you don't need to install additional features).