Move HashMapDb to its own bundle
[lispflowmapping.git] / mappingservice / implementation / pom.xml
index 61a4e7625af44f8bf5570a182c19d57b80ba5647..8376d852a2379255cd29bd4a1dc3d437857268af 100644 (file)
@@ -1,75 +1,57 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
-       xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.opendaylight.lispflowmapping</groupId>
-               <artifactId>mappingservice-parent</artifactId>
-               <version>0.1.0-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>mappingservice.implementation</artifactId>
-       <version>0.1.0-SNAPSHOT</version>
-       <packaging>bundle</packaging>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <!--version>2.3.6</version -->
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <instructions>
-                                               <Export-Package>
-                                                       org.opendaylight.lispflowmapping.implementation.serializer,
-                                                       org.opendaylight.lispflowmapping.implementation.util
-                                               </Export-Package>
-                                               <Import-Package>
-                                                       org.opendaylight.controller.sal.core,
-                                                       org.apache.felix.dm,
-                                                       org.apache.commons.lang3.builder,
-                                                       org.osgi.service.component,
-                                                       org.slf4j,
-                                                       org.eclipse.osgi.framework.console,
-                                                       org.osgi.framework,
-                                                       org.opendaylight.lispflowmapping.interfaces.dao,
-                                                       org.opendaylight.lispflowmapping.interfaces.lisp,
-                                                       org.opendaylight.lispflowmapping.type,
-                                                       org.opendaylight.lispflowmapping.type.lisp,
-                                                       org.opendaylight.lispflowmapping.type.lisp.address,
-                                                       org.opendaylight.controller.clustering.services,
-                                                       javax.crypto,
-                                                       javax.crypto.spec,
-                                                       org.apache.tomcat.util.buf
-                                               </Import-Package>
-                                               <Bundle-Activator>
-                                                       org.opendaylight.lispflowmapping.implementation.Activator
-                                               </Bundle-Activator>
-                                               <Service-Component>
-                                               </Service-Component>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <dependency>
-                       <groupId>org.hamcrest</groupId>
-                       <artifactId>hamcrest-core</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.opendaylight.controller</groupId>
-                       <artifactId>clustering.services</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.opendaylight.controller</groupId>
-                       <artifactId>sal</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.opendaylight.lispflowmapping</groupId>
-                       <artifactId>mappingservice.api</artifactId>
-                       <version>0.1.0-SNAPSHOT</version>
-               </dependency>
-       </dependencies>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.opendaylight.lispflowmapping</groupId>
+    <artifactId>mappingservice-parent</artifactId>
+    <version>1.3.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>mappingservice.implementation</artifactId>
+  <packaging>bundle</packaging>
+  <name>Mapping Service Implementation</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>mappingservice.api</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>mappingservice.inmemorydb</artifactId>
+        <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>mappingservice.yangmodel</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
+    <!-- needed for osgi console -->
+    <dependency>
+      <groupId>equinoxSDK381</groupId>
+      <artifactId>org.eclipse.osgi</artifactId>
+    </dependency>
+  </dependencies>
+
+  <build>
+     <plugins>
+       <plugin>
+         <groupId>org.apache.felix</groupId>
+         <artifactId>maven-bundle-plugin</artifactId>
+         <extensions>true</extensions>
+         <configuration>
+           <instructions>
+             <Export-Package>
+               org.opendaylight.lispflowmapping.implementation,
+               org.opendaylight.lispflowmapping.implementation.serializer,
+               org.opendaylight.lispflowmapping.implementation.util
+             </Export-Package>
+           </instructions>
+         </configuration>
+       </plugin>
+     </plugins>
+   </build>
 </project>