Added bundleactivator to XMLRouter.
[xmlrouter] / router / bundle / pom.xml
index ff189df3a922a766c355e036605e5405fd720f5d..ae2e913a99a518520e8efdad6dca0402f4916823 100644 (file)
             <groupId>org.wamblee</groupId>
             <artifactId>wamblee-support-general</artifactId>
         </dependency>
-       
+
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.compendium</artifactId>
+        </dependency>
+
+
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
@@ -35,7 +45,7 @@
             <artifactId>mockito-all</artifactId>
         </dependency>
     </dependencies>
-    
+
     <build>
         <plugins>
             <plugin>
@@ -44,6 +54,7 @@
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
+                        <Bundle-Activator>org.wamblee.xmlrouter.bundle.XmlrouterActivator</Bundle-Activator>
                         <Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
                         <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
                         <Embed-Directory>lib</Embed-Directory>