Updating develop poms back to pre merge state
[cdmlib.git] / cdmlib-services / pom.xml
index 54ca3c7c1df909794e4ad31531c4986c36dde367..7650c22d21a5a8242366cf63d8d7e1c5ef2aa0c7 100644 (file)
@@ -6,7 +6,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>cdmlib-parent</artifactId>
-    <version>4.8.0-SNAPSHOT</version>
+    <version>5.6.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 
   <artifactId>cdmlib-services</artifactId>    
   <name>CDM Services</name>
   <description>EDIT CDM library services. The local API and basis for webservices too.</description>
-  <scm>
-    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-service/</connection>
-    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdmlib/cdmlib-service/</developerConnection>
-    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdmlib/cdmlib-service/</url>
-  </scm>
+  <!-- 
+        cdmlib/services as osgi bundle?
+       see https://dev.e-taxonomy.eu/redmine/issues/5302 and https://dev.e-taxonomy.eu/redmine/issues/6695 
+  -->
+  <packaging>bundle</packaging>
+
   <build>
     <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>3.3.0</version>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>eu.etaxonomy.cdm.api.service</Export-Package>
+            <Bundle-SymbolicName>eu.etaxonomy.cdm.services</Bundle-SymbolicName>
+            <Bundle-Activator>eu.etaxonomy.cdm.services.impl.Activator</Bundle-Activator>
+          </instructions>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
    </plugins>
   </build>
   <dependencies>
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.osgi.core</artifactId>
+      <version>1.0.0</version>
+    </dependency>
     <dependency>
       <groupId>eu.etaxonomy</groupId>
       <artifactId>cdmlib-persistence</artifactId>