You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2008/03/01 22:26:20 UTC
[Commons Wiki] Update of "CommonsOsgi" by NiallPemberton
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The following page has been changed by NiallPemberton:
http://wiki.apache.org/commons/CommonsOsgi
------------------------------------------------------------------------------
|| net || 1.4.1 || || ||
|| pool || 1.3 || 1.4 (m1, manual) || ||
|| primitives || 1.0 || || ||
- || proxy || No yet released || 1.0 pending || ||
+ || proxy || No yet released || 1.0 (m2, bundle plugin) || ||
|| scxml || 0.7 || || ||
|| transaction || 1.2 || || ||
|| validator || 1.3.1 || || ||
@@ -56, +56 @@
== Configuring OSGi with Maven2 ==
There are two ways to do this:
- * ''Bundle Plugin'' - using the Apache Felix project's bundle Plugin
+ * ''Bundle Plugin'' - using the Apache Felix project's [http://felix.apache.org/site/maven-bundle-plugin-bnd.html bundle Plugin]
* ''Manually'' - configuring the {{{maven-jar-plugin}}} with OSGi manifest entries
+
+ '''N.B''' version 8 of the commons-parent pom includes configuration for the felix bundle plugin which should be sufficient for most components. To use that a component needs to do the following:
+ * use version 9 of commons-parent
+ * specify {{{<packaging>bundle</packaging>}}}
+ * add a ''property'' with the component's name in lower case
=== Felix's Maven2 Bundle Plugin ===
To configure the plugin, specify a {{{ <packaging>bundle</packaging> }}} element in the pom
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org