FELIX-370:
 - Moved maven-obr-plugin from clement sandbox to trunk 
 - Fixed problem with repository containg space in path (on Win32 is default)
 - Update maven-bundle-plugin in order to use maven-obr-plugin

General:
 - Some iPOJO module compiling as bundle where defined in the plugins profile
 - Wrong parent POM in some upnp module



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@578326 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/pom.xml b/bundleplugin/pom.xml
index f99debc..9869d4e 100644
--- a/bundleplugin/pom.xml
+++ b/bundleplugin/pom.xml
@@ -28,19 +28,27 @@
  </parent>
 
  <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.felix</groupId>
+
  <artifactId>maven-bundle-plugin</artifactId>
  <version>1.1.0-SNAPSHOT</version>
-
  <packaging>maven-plugin</packaging>
+ 
  <name>Maven Bundle Plugin</name>
- <description> provides a maven plugin that allows that builds the jar by
-  embedding packages from the classpath (wildcarded). Plus a zillion
-  other features. See http://www.aqute.biz/php/tools/bnd.php
-  </description>
+ <description>
+  Provides a maven plugin which allows the creation of an OSGi bundle by
+  embedding used packages as class or jars by inspecting the classpath used to
+  compile the bundle. Plus a zillion other features. 
+  The plugin relies on the bnd tools, so to gather more information you can look
+  at is documentation http://www.aqute.biz/php/tools/bnd.php
+ </description>
  
  <dependencies>
   <dependency>
+   <groupId>org.apache.felix</groupId>
+   <artifactId>maven-obr-plugin</artifactId>
+   <version>0.1.0-SNAPSHOT</version>
+  </dependency>
+  <dependency>
    <groupId>biz.aQute</groupId>
    <artifactId>bndlib</artifactId>
    <version>0.0.189</version>
diff --git a/bundleplugin/src/main/resources/META-INF/plexus/components.xml b/bundleplugin/src/main/resources/META-INF/plexus/components.xml
index 1eb9b8e..cfe5bbd 100644
--- a/bundleplugin/src/main/resources/META-INF/plexus/components.xml
+++ b/bundleplugin/src/main/resources/META-INF/plexus/components.xml
@@ -34,8 +34,14 @@
               <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile>
               <test>org.apache.maven.plugins:maven-surefire-plugin:test</test>
               <package>org.apache.felix:maven-bundle-plugin:bundle</package>
-              <install>org.apache.maven.plugins:maven-install-plugin:install</install>
-              <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+              <install>
+                org.apache.maven.plugins:maven-install-plugin:install,
+                org.apache.felix:maven-obr-plugin:repository
+		</install>
+              <deploy>
+                org.apache.maven.plugins:maven-deploy-plugin:deploy,
+                org.apache.felix:maven-obr-plugin:deploy
+              </deploy>
             </phases>
             <!-- END SNIPPET: bundle-lifecycle -->
           </lifecycle>