Refactor the poms to clean up unused tags and move to odl parent
[lispflowmapping.git] / mappingservice / northbound / pom.xml
index ffe5aeb20fe10ceae2e127f40ef85f1e5b06dfea..4b912bf3ebdcca382d4125e3dc9f5532cf428bd2 100644 (file)
@@ -1,47 +1,59 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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.2.0-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>mappingservice.northbound</artifactId>
-        <name>LISP Flow Mapping Northbound APIs</name>
-       <packaging>bundle</packaging>
-       <scm>
-               <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
-               <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
-               <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
-               <tag>HEAD</tag>
-       </scm>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.codehaus.enunciate</groupId>
-                               <artifactId>maven-enunciate-plugin</artifactId>
-                               <version>${enunciate.version}</version>
-                               <!-- <dependencies> <dependency> <groupId>org.opendaylight.controller</groupId> 
-                                       <artifactId>sal</artifactId> <version>0.5.0</version> </dependency> 
-                                       <dependency> <groupId>org.opendaylight.controller</groupId> <artifactId>clustering.services</artifactId> 
-                                       <version>0.4.0</version> </dependency> <dependency> <groupId>org.opendaylight.controller</groupId> 
-                                       <artifactId>configuration</artifactId> <version>0.4.0</version> 
-                                       </dependency> <dependency> <groupId>org.opendaylight.controller</groupId> 
-                                       <artifactId>switchmanager</artifactId> <version>0.7.0</version> 
-                                       </dependency> </dependencies> -->
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <version>2.4.0</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <instructions>
-                                               <Export-Package>
-                                               </Export-Package>
-                                               <Import-Package>
-                                                       org.opendaylight.controller.sal.core,
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.opendaylight.lispflowmapping</groupId>
+    <artifactId>mappingservice-parent</artifactId>
+    <version>1.2.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>mappingservice.northbound</artifactId>
+  <packaging>bundle</packaging>
+  <name>LISP Flow Mapping Northbound APIs</name>
+  <dependencies>
+
+    <dependency>
+      <groupId>org.codehaus.enunciate</groupId>
+      <artifactId>enunciate-core-annotations</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>commons.northbound</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>containermanager</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>sal</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.opendaylight.controller.thirdparty</groupId>
+      <artifactId>com.sun.jersey.jersey-servlet</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.opendaylight.lispflowmapping</groupId>
+      <artifactId>mappingservice.api</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.opendaylight.lispflowmapping</groupId>
+      <artifactId>mappingservice.yangmodel</artifactId>
+    </dependency>
+
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package></Export-Package>
+            <Import-Package>org.opendaylight.controller.sal.core,
                                                        org.opendaylight.controller.sal.utils,
                                                        org.opendaylight.controller.containermanager,
                                                        org.opendaylight.controller.switchmanager,
                                                        org.apache.commons.lang3.builder,
                                                        org.osgi.service.component,
                                                        org.eclipse.osgi.framework.console,
-                                                       org.osgi.framework
-                                               </Import-Package>
-                                               <Bundle-Activator>
-                                                       org.opendaylight.lispflowmapping.northbound.Activator
-                                               </Bundle-Activator>
-
-                                               <Export-Package>
-                                               </Export-Package>
-                                               <Web-ContextPath>/lispflowmapping/nb/v2</Web-ContextPath>
-                                               <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
-                                       </instructions>
-                                       <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-
-               <dependency>
-                       <groupId>org.opendaylight.lispflowmapping</groupId>
-                       <artifactId>mappingservice.yangmodel</artifactId>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.opendaylight.lispflowmapping</groupId>
-                       <artifactId>mappingservice.api</artifactId>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.opendaylight.controller</groupId>
-                       <artifactId>sal</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.opendaylight.controller</groupId>
-                       <artifactId>containermanager</artifactId>
-                       <version>0.6.0-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.opendaylight.controller</groupId>
-                       <artifactId>commons.northbound</artifactId>
-                       <version>0.5.0-SNAPSHOT</version>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.opendaylight.controller.thirdparty</groupId>
-                       <artifactId>com.sun.jersey.jersey-servlet</artifactId>
-                       <version>1.17</version>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.codehaus.enunciate</groupId>
-                       <artifactId>enunciate-core-annotations</artifactId>
-                       <version>${enunciate.version}</version>
-               </dependency>
+                                                       org.osgi.framework</Import-Package>
+            <Bundle-Activator>org.opendaylight.lispflowmapping.northbound.Activator</Bundle-Activator>
 
-       </dependencies>
+            <Export-Package></Export-Package>
+            <Web-ContextPath>/lispflowmapping/nb/v2</Web-ContextPath>
+            <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
+          </instructions>
+          <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.enunciate</groupId>
+        <artifactId>maven-enunciate-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
 </project>