Author: buildbot
Date: Thu Nov 3 08:59:25 2016
New Revision: 1000425
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/development/ide-tooling/ide-tooling-incremental-build.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Nov 3 08:59:25 2016
@@ -1 +1 @@
-1767834
+1767843
Modified:
websites/staging/sling/trunk/content/documentation/development/ide-tooling/ide-tooling-incremental-build.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/development/ide-tooling/ide-tooling-incremental-build.html
(original)
+++
websites/staging/sling/trunk/content/documentation/development/ide-tooling/ide-tooling-incremental-build.html
Thu Nov 3 08:59:25 2016
@@ -140,12 +140,12 @@ Depending on which maven plugins you use
<h4 id="maven-bundle-plugin-since-version-320">maven-bundle-plugin since
version 3.2.0<a class="headerlink"
href="#maven-bundle-plugin-since-version-320" title="Permanent
link">¶</a></h4>
<p>Natively supports incremental builds for the <code>manifest</code> goal (<a
href="https://issues.apache.org/jira/browse/FELIX-4009">FELIX-4009</a>) which
needs to be explicitly configured as outlined in the <a
href="http://felix.apache.org/documentation/faqs/apache-felix-bundle-plugin-faq.html#use-scr-metadata-generated-by-bnd-in-unit-tests">maven-bundle-plugin
FAQ</a>. m2e-tycho is incompatible with that version, because it leads to
errors like <code>Duplicate bundle executions found. Please remove any
explicitly defined bundle executions in your pom.xml.</code> and
<code>Duplicate manifest executions found. Please remove any explicitly defined
manifest executions in your pom.xml.</code> (compare with <a
href="https://github.com/tesla/m2eclipse-tycho/issues/31">issue 31</a>).
Therefore uninstall m2eclipse-tycho if you want to use newer versions of the
<code>maven-bundle-plugin</code>.</p>
<h3 id="bnd-maven-plugin">bnd-maven-plugin<a class="headerlink"
href="#bnd-maven-plugin" title="Permanent link">¶</a></h3>
-<p>The <a
href="https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin">bnd-maven-plugin</a>
is developed from the bnd team and is based on bnd as well. It is versioned in
parallel with bnd and bndtools. It natively supports incremental builds since
version 3.1.0 <a href="https://github.com/bndtools/bnd/issues/1180">issue
1180</a>.</p>
+<p>The <a
href="https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin">bnd-maven-plugin</a>
is developed from the bnd team and is based on bnd as well. It is versioned in
parallel with bnd and bndtools. It natively supports incremental builds since
version 3.1.0 (<a href="https://github.com/bndtools/bnd/issues/1180">issue
1180</a>).</p>
<h2 id="service-description-and-metatype-resources">Service Description and
Metatype Resources<a class="headerlink"
href="#service-description-and-metatype-resources" title="Permanent
link">¶</a></h2>
<p>OSGi component and metatype annotations (for OSGi 6) are natively supported
through bnd (and therefore automatically generated through both
maven-bundle-plugin and bnd-maven-plugin). You don't need to configure anything
explicitly since version 3.0.0 of bnd (<a
href="https://github.com/bndtools/bnd/issues/1041">issue 1041</a>).</p>
<p>The maven-bundle-plugin can be optionally coupled with the <a
href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html">maven-scr-plugin</a>.
Both maven-bundle-plugin as well as bnd-maven-plugin can be optionally coupled
with the <a
href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-bndtools-use.html">scr-bnd-plugin</a>.
Both approaches can be used to generate components descriptions and metatype
resources out of the <a
href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html">Felix
SCR annotations</a>. The recommended way for new projects though is to rely on
OSGi 6 annotations. However if you need to rely on Felix SCR annotations though
it is recommended to rather use the scr-bnd-plugin over the maven-scr-plugin,
as the former is nicely integrated into bnd and therefore means less overhead
during the build.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1767834 by kwin on Thu, 3 Nov 2016 08:34:59 +0000
+ Rev. 1767843 by kwin on Thu, 3 Nov 2016 08:59:16 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project