You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by dj...@apache.org on 2011/04/10 23:35:24 UTC

svn commit: r1090894 - in /karaf/trunk: ./ tooling/karaf-maven-plugin/ tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ tooling/karaf-maven-plugin/src/main/resources/META-INF/plexus/ tooling/karaf-maven-plugin/src/site/ tooli...

Author: djencks
Date: Sun Apr 10 21:35:24 2011
New Revision: 1090894

URL: http://svn.apache.org/viewvc?rev=1090894&view=rev
Log:
KARAF-424 add some documentation for the site plugin

Added:
    karaf/trunk/tooling/karaf-maven-plugin/src/site/
    karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/
    karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/index.apt
    karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/usage.apt
    karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml   (with props)
Modified:
    karaf/trunk/pom.xml
    karaf/trunk/tooling/karaf-maven-plugin/pom.xml
    karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateFeaturesXmlMojo2.java
    karaf/trunk/tooling/karaf-maven-plugin/src/main/resources/META-INF/plexus/components.xml

Modified: karaf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/pom.xml?rev=1090894&r1=1090893&r2=1090894&view=diff
==============================================================================
--- karaf/trunk/pom.xml (original)
+++ karaf/trunk/pom.xml Sun Apr 10 21:35:24 2011
@@ -1260,6 +1260,11 @@
                     <artifactId>build-helper-maven-plugin</artifactId>
                     <version>1.5</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-site-plugin</artifactId>
+                    <version>3.0-beta-3</version>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
@@ -1340,22 +1345,22 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.4</version>
+                <version>2.7</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jxr-plugin</artifactId>
-                <version>2.0</version>
+                <version>2.1</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
-                <version>2.1</version>
+                <version>3.0-beta-3</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-report-plugin</artifactId>
-                <version>2.5</version>
+                <version>2.6</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

Modified: karaf/trunk/tooling/karaf-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/pom.xml?rev=1090894&r1=1090893&r2=1090894&view=diff
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/pom.xml (original)
+++ karaf/trunk/tooling/karaf-maven-plugin/pom.xml Sun Apr 10 21:35:24 2011
@@ -29,10 +29,10 @@
 
     <artifactId>karaf-maven-plugin</artifactId>
     <packaging>maven-plugin</packaging>
-    <name>Apache Karaf :: Tooling :: Maven2 Karaf plugin</name>
+    <name>Apache Karaf :: Tooling :: Maven3 Karaf plugin</name>
 
     <description>
-        A Maven 2 plugin for working with karaf.
+        A Maven 3 plugin for working with karaf.
     </description>
 
     <properties>
@@ -181,51 +181,13 @@
         </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>java5</id>
-            <activation>
-                <jdk>[1.5,1.6)</jdk>
-            </activation>
-            <dependencies>
-                <dependency>
-                    <groupId>org.apache.geronimo.specs</groupId>
-                    <artifactId>geronimo-stax-api_1.2_spec</artifactId>
-                    <version>1.0</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.apache.geronimo.specs</groupId>
-                    <artifactId>geronimo-activation_1.1_spec</artifactId>
-                    <version>1.1</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.codehaus.woodstox</groupId>
-                    <artifactId>wstx-asl</artifactId>
-                    <version>3.2.9</version>
-                </dependency>
-                <dependency>
-                    <groupId>org.apache.geronimo.specs</groupId>
-                    <artifactId>geronimo-jaxb_2.1_spec</artifactId>
-                    <version>1.0</version>
-                </dependency>
-                <dependency>
-                    <groupId>com.sun.xml.bind</groupId>
-                    <artifactId>jaxb-impl</artifactId>
-                    <version>2.1.12</version>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>javax.xml.bind</groupId>
-                            <artifactId>jaxb-api</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
-                <dependency>
-                    <groupId>com.sun.xml.bind</groupId>
-                    <artifactId>jaxb-xjc</artifactId>
-                    <version>2.1.12</version>
-                </dependency>
-            </dependencies>
-        </profile>
-    </profiles>
-
+    <reporting>
+        <!--<outputDirectory>target/site</outputDirectory>-->
+        <plugins>
+            <plugin>
+                <artifactId>maven-plugin-plugin</artifactId>
+                <version>2.5.1</version>
+            </plugin>
+        </plugins>
+    </reporting>
 </project>

Modified: karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateFeaturesXmlMojo2.java
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateFeaturesXmlMojo2.java?rev=1090894&r1=1090893&r2=1090894&view=diff
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateFeaturesXmlMojo2.java (original)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateFeaturesXmlMojo2.java Sun Apr 10 21:35:24 2011
@@ -89,11 +89,12 @@ import static org.apache.karaf.deployer.
  * NB this requires a recent maven-install-plugin such as 2.3.1
  *
  * @version $Revision: 1.1 $
- * @goal generate-features-xml2
+ * @goal generate-features-xml
  * @phase compile
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
- * @description Generates the features XML file
+ * @description Generates the features XML file starting with an optional source feature.xml and adding
+ * project dependencies as bundles and feature/car dependencies
  */
 @SuppressWarnings("unchecked")
 public class GenerateFeaturesXmlMojo2 extends AbstractLogEnabled implements Mojo {
@@ -106,14 +107,14 @@ public class GenerateFeaturesXmlMojo2 ex
     private File inputFile;
 
     /**
-     * The filtered input file
+     * (internal) The filtered input file
      *
      * @parameter default-value="${project.build.directory}/feature/filteredInputFeature.xml"
      */
     private File filteredInputFile;
 
     /**
-     * The file to generate
+     * (internal) The file to generate
      *
      * @parameter default-value="${project.build.directory}/feature/feature.xml"
      */
@@ -127,14 +128,14 @@ public class GenerateFeaturesXmlMojo2 ex
     private String resolver;
 
     /**
-     * The artifact type for attaching the generated file to the project
+     * (internal) The artifact type for attaching the generated file to the project
      *
      * @parameter default-value="xml"
      */
     private String attachmentArtifactType = "xml";
 
     /**
-     * The artifact classifier for attaching the generated file to the project
+     * (internal) The artifact classifier for attaching the generated file to the project
      *
      * @parameter default-value="features"
      */
@@ -158,7 +159,7 @@ public class GenerateFeaturesXmlMojo2 ex
     //new
 
     /**
-     * The maven project.
+     * (internal) The maven project.
      *
      * @parameter expression="${project}"
      * @required
@@ -179,6 +180,8 @@ public class GenerateFeaturesXmlMojo2 ex
      * The entry point to Aether, i.e. the component doing all the work.
      *
      * @component
+     * @required
+     * @readonly
      */
     private RepositorySystem repoSystem;
 
@@ -186,6 +189,7 @@ public class GenerateFeaturesXmlMojo2 ex
      * The current repository/network configuration of Maven.
      *
      * @parameter default-value="${repositorySystemSession}"
+     * @required
      * @readonly
      */
     private RepositorySystemSession repoSession;
@@ -202,6 +206,7 @@ public class GenerateFeaturesXmlMojo2 ex
      * The project's remote repositories to use for the resolution of plugins and their dependencies.
      *
      * @parameter default-value="${project.remotePluginRepositories}"
+     * @required
      * @readonly
      */
     private List<RemoteRepository> pluginRepos;
@@ -496,7 +501,7 @@ public class GenerateFeaturesXmlMojo2 ex
     private boolean checkDependencyChange;
 
     /**
-     * Whether to fail on changed dependencies
+     * Whether to fail on changed dependencies (default, false) or warn (true)
      *
      * @parameter
      */
@@ -510,14 +515,14 @@ public class GenerateFeaturesXmlMojo2 ex
     private boolean logDependencyChanges;
 
     /**
-     * Whether to overwrite dependencies.xml if it has changed
+     * Whether to overwrite src/main/history/dependencies.xml if it has changed
      *
      * @parameter
      */
     private boolean overwriteChangedDependencies;
 
     /**
-     * Location of existing dependency file.
+     * (internal) Location of existing dependency file.
      *
      * @parameter expression="${basedir}/src/main/history/dependencies.xml"
      * @required
@@ -529,6 +534,7 @@ public class GenerateFeaturesXmlMojo2 ex
      *
      * @parameter expression="${basedir}/target/history/dependencies.xml"
      * @required
+     * @readonly
      */
     private File filteredDependencyFile;
 
@@ -543,13 +549,14 @@ public class GenerateFeaturesXmlMojo2 ex
     /**
      * @component role="org.apache.maven.shared.filtering.MavenResourcesFiltering" role-hint="default"
      * @required
+     * @readonly
      */
     protected MavenResourcesFiltering mavenResourcesFiltering;
 
     /**
      * @parameter expression="${session}"
-     * @readonly
      * @required
+     * @readonly
      */
     protected MavenSession session;
 
@@ -558,7 +565,6 @@ public class GenerateFeaturesXmlMojo2 ex
      * \${foo} will be replaced with ${foo}
      *
      * @parameter expression="${maven.resources.escapeString}"
-     * @since 2.3
      */
     protected String escapeString = "\\";
 
@@ -566,14 +572,17 @@ public class GenerateFeaturesXmlMojo2 ex
      * @plexus.requirement role-hint="default"
      * @component
      * @required
+     * @readonly
      */
     protected MavenFileFilter mavenFileFilter;
+
     /**
      * System properties.
      *
      * @parameter
      */
     protected Map<String, String> systemProperties;
+
     private Map<String, String> previousSystemProperties;
 
     private void checkChanges(Features newFeatures, ObjectFactory objectFactory) throws Exception, IOException, JAXBException, XMLStreamException {

Modified: karaf/trunk/tooling/karaf-maven-plugin/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/main/resources/META-INF/plexus/components.xml?rev=1090894&r1=1090893&r2=1090894&view=diff
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/main/resources/META-INF/plexus/components.xml (original)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/main/resources/META-INF/plexus/components.xml Sun Apr 10 21:35:24 2011
@@ -35,7 +35,7 @@
                                 org.apache.maven.plugins:maven-resources-plugin:resources
                             </process-resources>
                             <compile>
-                                org.apache.karaf.tooling:karaf-maven-plugin:generate-features-xml2
+                                org.apache.karaf.tooling:karaf-maven-plugin:generate-features-xml
                             </compile>
                             <install>
                                 org.apache.maven.plugins:maven-install-plugin:install
@@ -74,7 +74,7 @@
                                 org.apache.maven.plugins:maven-resources-plugin:resources
                             </process-resources>
                             <compile>
-                                org.apache.karaf.tooling:karaf-maven-plugin:generate-features-xml2
+                                org.apache.karaf.tooling:karaf-maven-plugin:generate-features-xml
                             </compile>
                             <package>
                                 org.apache.karaf.tooling:karaf-maven-plugin:archive-kar

Added: karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/index.apt?rev=1090894&view=auto
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/index.apt (added)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/index.apt Sun Apr 10 21:35:24 2011
@@ -0,0 +1,48 @@
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~ http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+
+  ------
+  Introduction
+  ------
+
+Introduction
+
+  The karaf-maven-plugin includes three packagings to produce karaf specific artifacts, and a number of other mojos for various purposes.
+
+Packagings
+
+* feature
+
+  The feature packaging generates a new or augments a supplied feature.xml file to produce a features descriptor.  The transitive maven dependencies of the project are used as the
+  bundles and feature and kar dependencies of a feature in the output feature.xml file.
+
+* kar
+
+  The kar packaging augments the feature packaging to generate a kar archive including the generated features.xml file, suitable resources from the project such as configuration files,
+  and optionally the bundle listed in the feature.xml file.
+
+* karaf-assembly
+
+  The karaf-assembly packaging assembles and packages a karaf server from the maven dependencies of the project. Kar dependencies are unpacked into the server.  Feature dependencies
+   (including those found in unpacked kar files) have their bundles installed into the karaf system directory and may have their bundles added at the specified startlevel to startup.properties.
+
+
+Mojos
+
+* cmdhelp
+

Added: karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/usage.apt?rev=1090894&view=auto
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/usage.apt (added)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/site/apt/usage.apt Sun Apr 10 21:35:24 2011
@@ -0,0 +1,187 @@
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~ http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+  ------
+  Usage
+  ------
+
+Usage
+
+Packagings
+
+  All packagings require that you mention the karaf-maven-plugin in pluginManagement or plugins with the extension element:
+
++---+
+                <plugin>
+                    <groupId>org.apache.karaf.tooling</groupId>
+                    <artifactId>karaf-maven-plugin</artifactId>
+                    <version>${karaf.version}</version>
+                    <extensions>true</extensions>
+                </plugin>
++---+
+
+  You will also need to mention the karaf-maven-plugin in some build/plugins section of your pom or ancestor pom.  The examples below assume extensions is set in
+  a pluginManagement section or an ancestor pom.
+
+* feature
+
+  The feature packaging lifecycle uses these mojos:
+
++---+
+                          <phases>
+                              <process-resources>
+                                  org.apache.maven.plugins:maven-resources-plugin:resources
+                              </process-resources>
+                              <compile>
+                                  org.apache.karaf.tooling:karaf-maven-plugin:generate-features-xml
+                              </compile>
+                              <install>
+                                  org.apache.maven.plugins:maven-install-plugin:install
+                              </install>
+                              <deploy>
+                                  org.apache.maven.plugins:maven-deploy-plugin:deploy
+                              </deploy>
+                          </phases>
++---+
+
+  Here's an example of a feature project with all configuration options set:
+
++---+
+            <plugin>
+                <groupId>org.apache.karaf.tooling</groupId>
+                <artifactId>karaf-maven-plugin</artifactId>
+                <configuration>
+                    <startLevel>50</startLevel>
+                    <aggregateFeatures>true</aggregateFeatures>
+                    <resolver>(OBR)</resolver>
+
+                    <checkDependencyChange>true</checkDependencyChange>
+                    <warnOnDependencyChange>true</warnOnDependencyChange>
+                    <logDependencyChanges>true</logDependencyChanges>
+                    <overwriteChangedDependencies>true</overwriteChangedDependencies>
+                </configuration>
+            </plugin>
++---+
+
+  This packaging results in a features xml descriptor including a feature with the project artifactId as name and project version as version.
+
+  The suitably scoped project jar dependencies are added to this feature as bundles.  Compile and provided scope result in the dependency attribute false (unset) and
+  runtime scope results in the dependency attribute set true.
+
+  startLevel determines the startLevel of bundles added to the constructed feature.
+
+  kar project dependencies are added to the constructed feature as dependencies.
+
+  If aggregate features is false or not set, feature project dependencies are added to the constructed feature as dependencies.  If aggregateFeatures is true,
+  the features of all feature project dependencies are extracted from the dependency feature xml files and added as features to the constructed features xml.
+
+  If a source src/main/feature/feature.xml file is provided then it is filtered and used as a base for the generated feature xml file.  If there is a feature of the appropriate name
+  it is extended with the project dependencies, otherwise one is created.  This allows you to specify alternate startLevels, configuration files, and configuration as well as
+  completely configuring the feature xml file by hand.
+
+  The dependency change options allow you to set up change tracking so you can be alerted if the transitive project dependencies included in the feature have changed.  To turn this  on set
+  checkDependencyChange true.  A stripped down feature xml file will be written to src/main/history/dependencies.xml that includes one feature with all the bundles from all the features.
+  Subsequent builds will compare this historical file with a similar current file.  If it has changed, the new dependencies.xml added and removed lists,
+  and a dependency tree will be written to target/history, and various options are available.
+  If warnOnDependencyChange is missing or false, the build will fail.
+  If logDependencyChanges is set, the added and removed lists will be shown in the maven build output.
+  If overwriteChangedDependencies is set the historical src/main/history/dependencies.xml file will be overwritten with the new contents.
+
+  While the determination of bundle transitive dependencies uses aether, just like maven, the algorithm is slightly different.  We traverse the entire dependency graph
+  and exclude bundle dependencies that are included as project dependencies of feature and kar dependencies.  Currently dependencies that are supplied in source feature xml
+  of dependent features and kars are not tracked.
+
+* kar
+
+  The kar packaging lifecycle uses these mojos:
+
++---+
+                        <phases>
+                            <process-resources>
+                                org.apache.maven.plugins:maven-resources-plugin:resources
+                            </process-resources>
+                            <compile>
+                                org.apache.karaf.tooling:karaf-maven-plugin:generate-features-xml
+                            </compile>
+                            <package>
+                                org.apache.karaf.tooling:karaf-maven-plugin:archive-kar
+                            </package>
+                            <install>
+                                org.apache.maven.plugins:maven-install-plugin:install
+                            </install>
+                            <deploy>
+                                org.apache.maven.plugins:maven-deploy-plugin:deploy
+                            </deploy>
+                        </phases>
++---+
+
+  kar packaging configuration is exactly the same as feature packaging configuration.  All bundles that are not marked as dependencies in the feature.xml output from the xml generation stage are
+  added to a maven-repo-like structure in the target kar.  In addition any resources from src are added.  Resources need to be under "resources" in the src resource directory in order to get
+  unpacked when the kar is installed.  For example with default maven-resource-plugin configuration src/main/resources/resources/etc/foo.cfg will result in resources/etc/foo.cfg in the kar and
+  etc/foo.cfg when installed in the server.
+
+
+* karaf-assembly
+
+  The karaf-assembly lifecycle uses these mojos:
+
++---+
+                        <phases>
+                            <process-resources>
+                                org.apache.maven.plugins:maven-resources-plugin:resources,
+                                org.apache.karaf.tooling:karaf-maven-plugin:install-kars
+                            </process-resources>
+                            <compile>
+                            </compile>
+                            <package>
+                                org.apache.karaf.tooling:karaf-maven-plugin:archive-server
+                            </package>
+                            <install>
+                                org.apache.maven.plugins:maven-install-plugin:install
+                            </install>
+                            <deploy>
+                                org.apache.maven.plugins:maven-deploy-plugin:deploy
+                            </deploy>
+                        </phases>
++---+
+
+  Here's an example of a karaf-assembly project with all configuration options set:
+
++---+
+            <plugin>
+                <groupId>org.apache.karaf.tooling</groupId>
+                <artifactId>karaf-maven-plugin</artifactId>
+                <configuration>
+                    <defaultStartLevel>50</defaultStartLevel>
+                </configuration>
+            </plugin>
++---+
+
+  defaultStartLevel determines the start level of bundles that do not have startLevel set in the feature xml descriptor. If not set, the default is 30.
+
+  This plugin:
+
+  - unpacks the resources content from project dependencies that are kars
+
+  - unpacks the system maven-repo-like structure from project dependencies that are kars
+
+  - locates and installs all the bundles mentioned in feature xml descriptors that are project dependencies or located in project dependencies that are kars
+
+  - constructs a startup.properties file that includes all the bundles mentioned in these feature descriptors and the specified or default start level.
+
+  The result is packed up into zip and tar.gz assemblies.  Normally to get a working server you would include at least the karaf-framework kar and most likely the karaf-full kar: these are used
+  to assemble the minimal and full server.
\ No newline at end of file

Added: karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml?rev=1090894&view=auto
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml (added)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml Sun Apr 10 21:35:24 2011
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License. 
+ *
+-->
+
+<project>
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="Goals" href="plugin-info.html"/>
+      <item name="Usage" href="usage.html"/>
+      <item name="FAQ" href="faq.html"/>
+    </menu>
+    <menu name="Examples">
+   	  <item name="A features project" href="examples/features.html"/>
+    </menu>
+    <menu name="Resources">
+      <!--<item name="Dependency Mechanism" href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html" />-->
+    </menu>
+	<menu ref="reports" />
+  </body>
+</project>

Propchange: karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/tooling/karaf-maven-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml