felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfre...@apache.org
Subject svn commit: r551579 - in /felix/trunk/mosgi: mosgi.console.component/ mosgi.console.gui/ mosgi.console.ifc/ mosgi.doc/ mosgi.jmx.agent/ mosgi.jmx.httpconnector/ mosgi.jmx.registry/ mosgi.jmx.remotelogger/ mosgi.jmx.rmiconnector/ mosgi.managedelements.b...
Date Thu, 28 Jun 2007 14:37:14 GMT
Author: sfrenot
Date: Thu Jun 28 07:37:13 2007
New Revision: 551579

URL: http://svn.apache.org/viewvc?view=rev&rev=551579
Log:
FELIX-307
---------
Moving all poms to maven-bundle-plugin



Modified:
    felix/trunk/mosgi/mosgi.console.component/pom.xml
    felix/trunk/mosgi/mosgi.console.gui/pom.xml
    felix/trunk/mosgi/mosgi.console.ifc/pom.xml
    felix/trunk/mosgi/mosgi.doc/config.properties.core
    felix/trunk/mosgi/mosgi.doc/config.properties.jmxconsole
    felix/trunk/mosgi/mosgi.doc/core.sh
    felix/trunk/mosgi/mosgi.doc/jmxconsole.sh
    felix/trunk/mosgi/mosgi.jmx.agent/pom.xml
    felix/trunk/mosgi/mosgi.jmx.httpconnector/pom.xml
    felix/trunk/mosgi/mosgi.jmx.registry/pom.xml
    felix/trunk/mosgi/mosgi.jmx.remotelogger/pom.xml
    felix/trunk/mosgi/mosgi.jmx.rmiconnector/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.bundlesprobes.tab/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.bundlesprobes/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.memoryprobe/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/src/main/java/org/apache/felix/mosgi/managedelements/obrprobe/tab/ObrProbeTabUI.java
    felix/trunk/mosgi/mosgi.managedelements.obrprobe/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.osgiprobes.tab/pom.xml
    felix/trunk/mosgi/mosgi.managedelements.osgiprobes/pom.xml

Modified: felix/trunk/mosgi/mosgi.console.component/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.console.component/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.console.component/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.console.component/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX Console GUI component</name>
   <artifactId>org.apache.felix.mosgi.console.component</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -24,57 +24,22 @@
       <scope>provided</scope>
     </dependency>
   </dependencies>
-  
+
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-	    <!--bundleManifestVersion>2</bundleManifestVersion-->
-	    <!--bundleClassPath></bundleClassPath-->
-            <bundleName>MOSGi JMX Console main GUI component</bundleName>
-	    <!--bundleVersion>
-	      Default value is {pom.version}.
-	      For exemple : 0.9.3-SNAPSHOT -> Bundle-Version=0.9.3.SNAPSHOT
-	      But if we specify a ${*} value with extension "-SNAPSHOT" or a value with char '-'
-	      it will be misunderstood
-	    </bundleVersion-->
-            <bundleDescription>MOSGi JMX Console main GUI component</bundleDescription>
-	    <!--bundleVendor>Stephane FRENOT</bundleVendor-->
-	    <!--bundleDate></bundleDate-->
-	    <!--bundleUpdateLocation>
-	      This value doesn't resolve "null" messages (when we update a bundle)...
-	    <bundleUpdateLocation-->
-	    <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-	    <!--bundleCategory></bundleCategory-->
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-	    <!--exportPackage></exportPackage-->
-	    <importPackage>
-	      org.apache.felix.mosgi.console.ifc;specification-version="1.0.0",
-	      javax.management;specification-version="1.0.0",
-	      javax.swing;specification-version="1.0.0",
-	      javax.swing.table;specification-version="1.0.0",
-	      org.osgi.framework;specification-version="1.0.0",
-	      javax.swing.tree;specification-version="1.0.0"
-	    </importPackage>
-	    <!--dynamicImportPackage></dynamicImportPackage-->
-	    <!--metadataLocation></metadataLocation-->
-	    <!--bundleCopyright></bundleCopyright-->
-	    <!--bundleNativeCode></bundleNativeCode-->
-	    <!--bundleContactAdress></bundleContactAdress-->
-	    <!--bundleRequiredExecutionEnvironment></bundleRequiredExecutionEnvironment-->
-	    <!--bundleLocalization></bundleLocalization-->
-	    <!--requireBundle></requireBundle-->
-	    <!--fragmentHost></fragmentHost-->
-	    <!--serviceComponent></serviceComponent-->
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX Console main GUI component</Bundle-Name>
+            <Bundle-Description>MOSGi JMX Console main GUI component</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.console.component.Activator</Bundle-Activator>
+	    <Private-Package>${pom.artifactId}</Private-Package>
+
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.console.gui/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.console.gui/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.console.gui/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.console.gui/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX Console Main GUI</name>
   <artifactId>org.apache.felix.mosgi.console.gui</artifactId>
   <groupId>org.apache.felix</groupId>
@@ -39,29 +39,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX Console main GUI</bundleName>
-            <bundleDescription>MOSGi JMX Console main GUI</bundleDescription>
-	    <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-	    <importPackage>
-	      org.osgi.framework;specification-version="1.0.0",
-	      javax.swing;specification-version="1.0.0",
-	      javax.swing.event;specification-version="1.0.0",
-	      javax.swing.tree;specification-version="1.0.0",
-	      javax.management;specification-version="1.0.0",
-	      javax.management.remote;specification-version="1.0.0",
-	      org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-	    </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX Console main GUI</Bundle-Name>
+            <Bundle-Description>MOSGi JMX Console main GUI</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.console.gui.Activator</Bundle-Activator>
+	    <Private-Package>${pom.artifactId}</Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.console.ifc/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.console.ifc/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.console.ifc/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.console.ifc/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX Console Interface</name>
   <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -28,22 +28,16 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX Console  Ifc</bundleName>
-            <bundleDescription>MOSGi JMX Console Ifc</bundleDescription>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-	      ${pom.artifactId};specification-version="1.0.0"
-            </exportPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX Console  Ifc</Bundle-Name>
+            <Bundle-Description>MOSGi JMX Console Ifc</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.doc/config.properties.core
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.doc/config.properties.core?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.doc/config.properties.core (original)
+++ felix/trunk/mosgi/mosgi.doc/config.properties.core Thu Jun 28 07:37:13 2007
@@ -16,24 +16,25 @@
  file:bundle/org.apache.felix.shell.tui-0.9.0-incubator-SNAPSHOT.jar \
  file:bundle/org.apache.felix.bundlerepository-0.9.0-incubator-SNAPSHOT.jar \
  http://ares.insa-lyon.fr/~sfrenot/devel/mosgi/insajmx/trunk/lib/log.jar \
- file:../mosgi.jmx.remotelogger/target/org.apache.felix.mosgi.jmx.remotelogger-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.jmx.agent/target/org.apache.felix.mosgi.jmx.agent-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.jmx.registry/target/org.apache.felix.mosgi.jmx.registry-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.jmx.rmiconnector/target/org.apache.felix.mosgi.jmx.rmiconnector-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.console.ifc/target/org.apache.felix.mosgi.console.ifc-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.managedelements.osgiprobes/target/org.apache.felix.mosgi.managedelements.osgiprobes-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.managedelements.bundlesprobes/target/org.apache.felix.mosgi.managedelements.bundlesprobes-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.managedelements.memoryprobe/target/org.apache.felix.mosgi.managedelements.memoryprobe-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.managedelements.obrprobe/target/org.apache.felix.mosgi.managedelements.obrprobe-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.jmx.remotelogger/target/org.apache.felix.mosgi.jmx.remotelogger-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.jmx.agent/target/org.apache.felix.mosgi.jmx.agent-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.jmx.registry/target/org.apache.felix.mosgi.jmx.registry-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.jmx.rmiconnector/target/org.apache.felix.mosgi.jmx.rmiconnector-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.console.ifc/target/org.apache.felix.mosgi.console.ifc-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.managedelements.osgiprobes/target/org.apache.felix.mosgi.managedelements.osgiprobes-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.managedelements.bundlesprobes/target/org.apache.felix.mosgi.managedelements.bundlesprobes-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.managedelements.obrprobe/target/org.apache.felix.mosgi.managedelements.obrprobe-0.9.0-incubator-SNAPSHOT.jar \
  http://perso.citi.insa-lyon.fr/sfrenot/devel/mosgi/managedelements/trunk/mosgi.managedelements.linuxprobes/target/org.apache.felix.mosgi.managedelements.linuxprobes-0.8.0-SNAPSHOT.jar
 
+#file:../mosgi/mosgi.managedelements.memoryprobe/target/org.apache.felix.mosgi.managedelements.memoryprobe-0.9.0-incubator-SNAPSHOT.jar \
+
 # if we need the http jmx connector
 # file:../mosgi.jmx.httpconnector/target/org.apache.felix.mosgi.jmx.httpconnector-0.8.0-SNAPSHOT.jar
 
 
-mosgi.jmxconsole.tab.url.osgiprobestab=file:../mosgi.managedelements.osgiprobes.tab/target/org.apache.felix.mosgi.managedelements.osgiprobes.tab-0.9.0-incubator-SNAPSHOT.jar
-mosgi.jmxconsole.tab.url.bundlesprobestab=file:../mosgi.managedelements.bundlesprobes.tab/target/org.apache.felix.mosgi.managedelements.bundlesprobes.tab-0.9.0-incubator-SNAPSHOT.jar
-mosgi.jmxconsole.tab.url.obrprobetab=file:../mosgi.managedelements.obrprobe.tab/target/org.apache.felix.mosgi.managedelements.obrprobe.tab-0.9.0-incubator-SNAPSHOT.jar
+mosgi.jmxconsole.tab.url.osgiprobestab=file:../mosgi/mosgi.managedelements.osgiprobes.tab/target/org.apache.felix.mosgi.managedelements.osgiprobes.tab-0.9.0-incubator-SNAPSHOT.jar
+mosgi.jmxconsole.tab.url.bundlesprobestab=file:../mosgi/mosgi.managedelements.bundlesprobes.tab/target/org.apache.felix.mosgi.managedelements.bundlesprobes.tab-0.9.0-incubator-SNAPSHOT.jar
+mosgi.jmxconsole.tab.url.obrprobetab=file:../mosgi/mosgi.managedelements.obrprobe.tab/target/org.apache.felix.mosgi.managedelements.obrprobe.tab-0.9.0-incubator-SNAPSHOT.jar
 mosgi.jmxconsole.tab.url.memoryprobetab=http://perso.citi.insa-lyon.fr/sfrenot/devel/mosgi/managedelements/trunk/mosgi.managedelements.memoryprobe.tab/target/org.apache.felix.mosgi.managedelements.memoryprobe.tab-0.8.0-SNAPSHOT.jar
 mosgi.jmxconsole.tab.url.linuxprobestab=http://perso.citi.insa-lyon.fr/sfrenot/devel/mosgi/managedelements/trunk/mosgi.managedelements.linuxprobes.tab/target/org.apache.felix.mosgi.managedelements.linuxprobes.tab-0.8.0-SNAPSHOT.jar
 

Modified: felix/trunk/mosgi/mosgi.doc/config.properties.jmxconsole
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.doc/config.properties.jmxconsole?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.doc/config.properties.jmxconsole (original)
+++ felix/trunk/mosgi/mosgi.doc/config.properties.jmxconsole Thu Jun 28 07:37:13 2007
@@ -15,9 +15,9 @@
  file:bundle/org.apache.felix.shell-0.9.0-incubator-SNAPSHOT.jar \
  file:bundle/org.apache.felix.shell.tui-0.9.0-incubator-SNAPSHOT.jar \
  file:bundle/org.apache.felix.bundlerepository-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.console.ifc/target/org.apache.felix.mosgi.console.ifc-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.console.gui/target/org.apache.felix.mosgi.console.gui-0.9.0-incubator-SNAPSHOT.jar \
- file:../mosgi.console.component/target/org.apache.felix.mosgi.console.component-0.9.0-incubator-SNAPSHOT.jar
+ file:../mosgi/mosgi.console.ifc/target/org.apache.felix.mosgi.console.ifc-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.console.gui/target/org.apache.felix.mosgi.console.gui-0.9.0-incubator-SNAPSHOT.jar \
+ file:../mosgi/mosgi.console.component/target/org.apache.felix.mosgi.console.component-0.9.0-incubator-SNAPSHOT.jar
 
 #possible values : both treeonly tableonly none (default=both)
 mosgi.jmxconsole.remotelogger.componentfilter=both

Modified: felix/trunk/mosgi/mosgi.doc/core.sh
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.doc/core.sh?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.doc/core.sh (original)
+++ felix/trunk/mosgi/mosgi.doc/core.sh Thu Jun 28 07:37:13 2007
@@ -2,8 +2,8 @@
 
 
 echo "cd into felix directory"
-cd ../main
+cd ../../main
 
 echo "lauching felix with core gateway properties"
-java -Dfelix.config.properties=file:../mosgi.doc/config.properties.core -jar bin/felix.jar
+java -Dfelix.config.properties=file:../mosgi/mosgi.doc/config.properties.core -jar bin/felix.jar
 

Modified: felix/trunk/mosgi/mosgi.doc/jmxconsole.sh
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.doc/jmxconsole.sh?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.doc/jmxconsole.sh (original)
+++ felix/trunk/mosgi/mosgi.doc/jmxconsole.sh Thu Jun 28 07:37:13 2007
@@ -1,6 +1,6 @@
 #!/bin/sh
 echo "cd into felix directory"
-cd ../main
+cd ../../main
 
 echo "lauching felix with jmxconsole properties"
-java -Dfelix.config.properties=file:../mosgi.doc/config.properties.jmxconsole -jar bin/felix.jar
+java -Dfelix.config.properties=file:../mosgi/mosgi.doc/config.properties.jmxconsole -jar bin/felix.jar

Modified: felix/trunk/mosgi/mosgi.jmx.agent/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.jmx.agent/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.jmx.agent/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.jmx.agent/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX agent</name>
   <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -33,32 +33,22 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX-MX4J Agent Service</bundleName>
-            <bundleDescription>MOSGi JMX-MX4J Agent Service</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              ${pom.artifactId};specification-version="1.0.0",
-              org.apache.felix.mosgi.jmx.agent.mx4j.server;specification-version="1.0.0",
-              org.apache.felix.mosgi.jmx.agent.mx4j.server.interceptor;specification-version="1.0.0",
-              org.apache.felix.mosgi.jmx.agent.mx4j.util;specification-version="1.0.0"
-            </exportPackage>
-            <importPackage>
-              org.osgi.service.log;specification-version="1.0.0",
-              org.osgi.framework;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              javax.management.loading;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX-MX4J Agent Service</Bundle-Name>
+            <Bundle-Description>MOSGi JMX-MX4J Agent Service</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.jmx.agent.AgentActivator</Bundle-Activator>
+            <Export-Package>${pom.artifactId},
+              org.apache.felix.mosgi.jmx.agent.mx4j.server,
+              org.apache.felix.mosgi.jmx.agent.mx4j.server.interceptor,
+              org.apache.felix.mosgi.jmx.agent.mx4j.util
+            </Export-Package>
+	    <Private-Package>${pom.artifactId}.*</Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.jmx.httpconnector/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.jmx.httpconnector/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.jmx.httpconnector/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.jmx.httpconnector/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX httpconnector</name>
   <artifactId>org.apache.felix.mosgi.jmx.httpconnector</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -38,32 +38,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX-MX4J http connector</bundleName>
-            <bundleDescription>MOSGi JMX-MX4J http connector</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <importPackage>
-              org.osgi.service.log;specification-version="1.0.0",
-              org.osgi.framework;specification-version="1.0.0",
-              org.apache.felix.mosgi.jmx.agent.mx4j.util;specification-version="1.0.0",
-              javax.management.loading;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              org.w3c.dom;specification-version="1.0.0",
-              javax.xml.parsers;specification-version="1.0.0",
-              javax.xml.transform;specification-version="1.0.0",
-              javax.xml.transform.stream;specification-version="1.0.0",
-              javax.xml.transform.dom;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX-MX4J http connector</Bundle-Name>
+            <Bundle-Description>MOSGi JMX-MX4J http connector</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.jmx.httpconnector.HttpConnectorActivator</Bundle-Activator>
+	    <Private-Package>${pom.artifactId}.*</Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.jmx.registry/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.jmx.registry/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.jmx.registry/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.jmx.registry/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX registry</name>
   <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -33,26 +33,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX rmiregistry</bundleName>
-            <bundleDescription>MOSGi JMX rmiregistry</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              ${pom.artifactId}.mx4j.tools.naming;specification-version="1.0.0"
-            </exportPackage>
-	    <dynamicImportPackage>
-	      *
-	    </dynamicImportPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX rmiregistry</Bundle-Name>
+            <Bundle-Description>MOSGi JMX rmiregistry</Bundle-Description>
+	    <Bundle-Activator>org.apache.felix.mosgi.jmx.registry.mx4j.tools.naming.NamingService</Bundle-Activator>
+            <Export-Package>${pom.artifactId}.mx4j.tools.naming</Export-Package>
+	    <DynamicImport-Package>*</DynamicImport-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.jmx.remotelogger/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.jmx.remotelogger/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.jmx.remotelogger/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.jmx.remotelogger/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX remotelogger</name>
   <artifactId>org.apache.felix.mosgi.jmx.remotelogger</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -23,36 +23,22 @@
       <artifactId>org.osgi.compendium</artifactId>
       <scope>provided</scope>
     </dependency>
-    <!--dependency>
-      <groupId>${pom.groupId}</groupId>
-      <artifactId>org.apache.felix.framework</artifactId>
-      <version>${pom.version}</version>
-      <scope>provided</scope>
-    </dependency-->
   </dependencies>
 
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX remote logger</bundleName>
-            <bundleDescription>MOSGi JMX remote logger</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-	    <importPackage>
-  	      org.osgi.service.log;specification-version="1.0.0",
-	      org.osgi.framework;specification-version="1.0.0",
-	      javax.management;specification-version="1.0.0"
-	    </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX remote logger</Bundle-Name>
+            <Bundle-Description>MOSGi JMX remote logger</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.jmx.remotelogger.Logger</Bundle-Activator>
+	    <Private-Package>${pom.artifactId}.*</Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.jmx.rmiconnector/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.jmx.rmiconnector/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.jmx.rmiconnector/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.jmx.rmiconnector/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX rmiconnector</name>
   <artifactId>org.apache.felix.mosgi.jmx.rmiconnector</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -43,35 +43,18 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX-MX4J RMI Connector</bundleName>
-            <bundleDescription>MOSGi JMX-MX4J RMI Connector</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.provider.rmi;specification-version="1.0.0"
-            </exportPackage>
-            <importPackage>
-              org.osgi.service.log;specification-version="1.0.0",
-              org.osgi.framework;specification-version="1.0.0",
-              org.apache.felix.mosgi.jmx.registry.mx4j.tools.naming;specification-version="1.0.0",
-              org.apache.felix.mosgi.jmx.agent.mx4j.util;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              javax.management.loading;specification-version="1.0.0",
-              javax.management.remote;specification-version="1.0.0",
-              javax.management.remote.rmi;specification-version="1.0.0",
-              javax.naming;specification-version="1.0.0",
-              javax.security.auth;specification-version="1.0.0"
-             </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX-MX4J RMI Connector</Bundle-Name>
+            <Bundle-Description>MOSGi JMX-MX4J RMI Connector</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.jmx.rmiconnector.RmiConnectorActivator</Bundle-Activator>
+            <Export-Package>org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.provider.rmi </Export-Package>
+	    <Private-Package>${pom.artifactId}.*</Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.bundlesprobes.tab/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.bundlesprobes.tab/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.bundlesprobes.tab/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.bundlesprobes.tab/pom.xml Thu Jun 28 07:37:13 2007
@@ -5,13 +5,13 @@
     <artifactId>felix</artifactId>
     <version>0.9.0-incubator-SNAPSHOT</version>
   </parent>
-  
+
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi Bundles management tab for the JMX console</name>
   <artifactId>org.apache.felix.mosgi.managedelements.bundlesprobes.tab</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
-  
+
   <dependencies>
     <dependency>
       <groupId>${pom.groupId}</groupId>
@@ -38,31 +38,16 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi Bundles management tab for the JMX console</bundleName>
-            <bundleDescription>MOSGi Bundles management tab for the JMX console</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              ${pom.artifactId};specification-version="1.0.0"
-            </exportPackage>
-            <importPackage>
-              javax.management;specification-version="1.0.0",
-              org.osgi.framework;specification-version="1.0.0",
-              javax.management.openmbean;specification-version="1.0.0",
-              javax.swing;specification-version="1.0.0",
-              javax.swing.table;specification-version="1.0.0",
-              org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi Bundles management tab for the JMX console</Bundle-Name>
+            <Bundle-Description>MOSGi Bundles management tab for the JMX console</Bundle-Description>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.bundlesprobes.tab.BundlesProbesTabUI</Bundle-Activator>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.bundlesprobes/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.bundlesprobes/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.bundlesprobes/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.bundlesprobes/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX MBean for OSGi bundles management</name>
   <artifactId>org.apache.felix.mosgi.managedelements.bundlesprobes</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -38,29 +38,16 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX MBean for OSGi bundles management</bundleName>
-            <bundleDescription>MOSGi JMX MBean for OSGi bundles management</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-	      ${pom.artifactId};specification-version="1.0.0"
-            </exportPackage>
-            <importPackage>
-              org.osgi.framework;specification-version="1.0.0",
-              org.osgi.service.log;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX MBean for OSGi bundles management</Bundle-Name>
+            <Bundle-Description>MOSGi JMX MBean for OSGi bundles management</Bundle-Description>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.bundlesprobes.BundlesProbes</Bundle-Activator>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.memoryprobe/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.memoryprobe/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.memoryprobe/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.memoryprobe/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX MBean for obr interaction</name>
   <artifactId>org.apache.felix.mosgi.managedelements.memoryprobe</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -43,25 +43,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX MBean for memory supervision</bundleName>
-            <bundleDescription>MOSGi JMX MBean for memory supervision</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <importPackage>
-              org.osgi.framework;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX MBean for memory supervision</Bundle-Name>
+            <Bundle-Description>MOSGi JMX MBean for memory supervision</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.memoryprobe.MemoryProbe</Bundle-Activator>
+	    <Private-Package>${pom.artifactId}</Private-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/pom.xml Thu Jun 28 07:37:13 2007
@@ -5,13 +5,13 @@
     <artifactId>felix</artifactId>
     <version>0.9.0-incubator-SNAPSHOT</version>
   </parent>
-  
+
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi obr remote manipulation tab for the JMX console</name>
   <artifactId>org.apache.felix.mosgi.managedelements.obrprobe.tab</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
-  
+
   <dependencies>
     <dependency>
       <groupId>${pom.groupId}</groupId>
@@ -38,31 +38,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi obr remote manipulation tab for the JMX console</bundleName>
-            <bundleDescription>MOSGi obr remote manipulation tab for the JMX console</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              ${pom.artifactId}
-            </exportPackage>
-            <importPackage>
-              javax.management,
-              org.osgi.framework,
-              javax.swing,
-              javax.swing.table,
-              org.osgi.service.obr,
-              org.apache.felix.mosgi.console.ifc
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi obr remote manipulation tab for the JMX console</Bundle-Name>
+            <Bundle-Description>MOSGi obr remote manipulation tab for the JMX console</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.obrprobe.tab.ObrProbeTabUI</Bundle-Activator>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/src/main/java/org/apache/felix/mosgi/managedelements/obrprobe/tab/ObrProbeTabUI.java
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/src/main/java/org/apache/felix/mosgi/managedelements/obrprobe/tab/ObrProbeTabUI.java?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/src/main/java/org/apache/felix/mosgi/managedelements/obrprobe/tab/ObrProbeTabUI.java (original)
+++ felix/trunk/mosgi/mosgi.managedelements.obrprobe.tab/src/main/java/org/apache/felix/mosgi/managedelements/obrprobe/tab/ObrProbeTabUI.java Thu Jun 28 07:37:13 2007
@@ -121,10 +121,10 @@
   public Component getGUI(){return this;}
 
   public void propertyChange(PropertyChangeEvent e){
-System.out.println("TEST"+e.getPropertyName());	
+//System.out.println("TEST"+e.getPropertyName());	
    if (e.getPropertyName().equals(Plugin.NEW_NODE_READY)){
      this.mbsc=(MBeanServerConnection)e.getNewValue();
-System.out.println("TESTE"+this.mbsc);	
+//System.out.println("TESTE"+this.mbsc);	
    }else if(e.getPropertyName().equals(Plugin.EMPTY_NODE)){
      this.mbsc=null;
    }

Modified: felix/trunk/mosgi/mosgi.managedelements.obrprobe/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.obrprobe/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.obrprobe/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.obrprobe/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,11 +7,11 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX MBean for obr interaction</name>
   <artifactId>org.apache.felix.mosgi.managedelements.obrprobe</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
-  
+
   <dependencies>
     <dependency>
       <groupId>${pom.groupId}</groupId>
@@ -43,30 +43,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX MBean for obr interaction</bundleName>
-            <bundleDescription>MOSGi JMX MBean for obr interaction</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              ${pom.artifactId};specification-version="1.0.0"
-            </exportPackage>
-            <importPackage>
-              org.osgi.framework;specification-version="1.0.0",
-              org.osgi.service.log;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              org.osgi.service.obr,
-              org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX MBean for obr interaction</Bundle-Name>
+            <Bundle-Description>MOSGi JMX MBean for obr interaction</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.obrprobe.ObrProbe</Bundle-Activator>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.osgiprobes.tab/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.osgiprobes.tab/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.osgiprobes.tab/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.osgiprobes.tab/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi OSGi gateway status tab for the JMX console</name>
   <artifactId>org.apache.felix.mosgi.managedelements.osgiprobes.tab</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -33,30 +33,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi OSGi gateway status tab for the JMX console</bundleName>
-            <bundleDescription>MOSGi OSGi gateway status tab for the JMX console</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-	      ${pom.artifactId};specification-version="1.0.0"
-            </exportPackage>
-	    <importPackage>
-	      javax.management;specification-version="1.0.0",
-	      org.osgi.framework;specification-version="1.0.0",
-	      javax.swing;specification-version="1.0.0",
-	      javax.swing.table;specification-version="1.0.0",
-	      org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-	    </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi OSGi gateway status tab for the JMX console</Bundle-Name>
+            <Bundle-Description>MOSGi OSGi gateway status tab for the JMX console</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.osgiprobes.tab.OsgiProbesTabUI</Bundle-Activator>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>

Modified: felix/trunk/mosgi/mosgi.managedelements.osgiprobes/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/mosgi/mosgi.managedelements.osgiprobes/pom.xml?view=diff&rev=551579&r1=551578&r2=551579
==============================================================================
--- felix/trunk/mosgi/mosgi.managedelements.osgiprobes/pom.xml (original)
+++ felix/trunk/mosgi/mosgi.managedelements.osgiprobes/pom.xml Thu Jun 28 07:37:13 2007
@@ -7,7 +7,7 @@
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
-  <packaging>osgi-bundle</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Felix MOSGi JMX MBean for OSGi gateway status</name>
   <artifactId>org.apache.felix.mosgi.managedelements.osgiprobes</artifactId>
   <version>0.9.0-incubator-SNAPSHOT</version>
@@ -38,29 +38,17 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.felix.plugins</groupId>
-        <artifactId>maven-osgi-plugin</artifactId>
-        <!--version>${felix.version}</version-->
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <osgiManifest>
-            <bundleName>MOSGi JMX MBean for OSGi gateway status</bundleName>
-            <bundleDescription>MOSGi JMX MBean for OSGi gateway status</bundleDescription>
-            <bundleActivator>auto-detect</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
-            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
-            <exportPackage>
-              ${pom.artifactId};specification-version="1.0.0"
-            </exportPackage>
-            <importPackage>
-              org.osgi.framework;specification-version="1.0.0",
-              org.osgi.service.log;specification-version="1.0.0",
-              javax.management;specification-version="1.0.0",
-              org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
-            </importPackage>
-          </osgiManifest>
+          <instructions>
+            <Bundle-Name>MOSGi JMX MBean for OSGi gateway status</Bundle-Name>
+            <Bundle-Description>MOSGi JMX MBean for OSGi gateway status</Bundle-Description>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+	    <Bundle-Activator>org.apache.felix.mosgi.managedelements.osgiprobes.OsgiProbes</Bundle-Activator>
+            <Export-Package>${pom.artifactId}</Export-Package>
+          </instructions>
         </configuration>
       </plugin>
     </plugins>



Mime
View raw message