You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by gc...@apache.org on 2011/09/06 17:31:03 UTC

svn commit: r795389 - in /websites/production/aries: ./ content/modules/ebamavenpluginproject.html

Author: gcc
Date: Tue Sep  6 15:31:03 2011
New Revision: 795389

Log:
Publishing merge to aries site by gcc

Modified:
    websites/production/aries/   (props changed)
    websites/production/aries/content/modules/ebamavenpluginproject.html

Propchange: websites/production/aries/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Sep  6 15:31:03 2011
@@ -1 +1 @@
-/websites/staging/aries/trunk:782169-795025
+/websites/staging/aries/trunk:782169-795388

Modified: websites/production/aries/content/modules/ebamavenpluginproject.html
==============================================================================
--- websites/production/aries/content/modules/ebamavenpluginproject.html (original)
+++ websites/production/aries/content/modules/ebamavenpluginproject.html Tue Sep  6 15:31:03 2011
@@ -328,13 +328,49 @@ follows.  The text inside the elements i
 </pre></div>
 
 
+<p><a name="EBAMavenPluginProject-AddingUseBundleheader"></a></p>
+<h2 id="adding_the_use-bundle_header">Adding the Use-Bundle header</h2>
+<p>The application Use-Bundle header can be set as
+follows.  The text inside the elements is included as-is.</p>
+<div class="codehilite"><pre><span class="nt">&lt;configuration&gt;</span>
+  <span class="nt">&lt;instructions&gt;</span>
+    <span class="nt">&lt;Use-Bundle&gt;</span>...<span class="nt">&lt;/Use-Bundle&gt;</span>
+  <span class="nt">&lt;/instructions&gt;</span>
+<span class="nt">&lt;/configuration&gt;</span>
+</pre></div>
+
+
 <p><a name="EBAMavenPluginProject-Includingtransitivedependencies"></a></p>
-<h2 id="including_transitive_dependencies">Including transitive dependencies</h2>
+<h2 id="including_transitive_dependencies_deprecated">Including transitive dependencies (deprecated)</h2>
+<p>This configuration option is deprecated in favor of <archiveContent />.</p>
 <p>By default, the archive will only include the direct dependencies of the
 project.  Transitive dependencies can be includes as follows:</p>
 <div class="codehilite"><pre><span class="nt">&lt;configuration&gt;</span>
   <span class="nt">&lt;useTransitiveDependencies&gt;</span>true<span class="nt">&lt;/useTransitiveDependencies&gt;</span>
 <span class="nt">&lt;/configuration&gt;</span>
+</pre></div>
+
+
+<p><a name="EBAMavenPluginProject-Archivecontent"></a></p>
+<h2 id="including_bundles_in_the_archive">Including bundles in the archive</h2>
+<p>By default, the archive will only include the direct dependencies of the project.  The <code>&lt;archiveContent/&gt;</code> element can be used to control the archive artifact contents.  The following shows how to include all direct and transitive dependencies.</p>
+<div class="codehilite"><pre><span class="nt">&lt;configuration&gt;</span>
+  <span class="nt">&lt;archiveContent&gt;</span>all<span class="nt">&lt;/archiveContent&gt;</span>
+<span class="nt">&lt;/configuration&gt;</span>
+</pre></div>
+
+
+<p>The following shows how to exclude all dependencies from the archive.  This is useful if you just want the application definition and will use a bundle repository to provision the bundles during deployment.</p>
+<div class="codehilite"><pre><span class="nt">&lt;configuration&gt;</span>
+  <span class="nt">&lt;archiveContent&gt;</span>none<span class="nt">&lt;/archiveContent&gt;</span>
+<span class="nt">&lt;/configuration&gt;</span>
+</pre></div>
+
+
+<p>The following specifies the default of including only the direct dependencies (assumes the application contents and direct dependencies are the same).</p>
+<div class="codehilite"><pre><span class="nt">&lt;configuration&gt;</span>
+  <span class="nt">&lt;archiveContent&gt;</span>applicationContent<span class="nt">&lt;/archiveContent&gt;</span>
+<span class="nt">&lt;/configuration&gt;</span>
 </pre></div></div>
             <!-- Content -->
           </td>