Migrate to odlparent 1.9.0
[lispflowmapping.git] / mappingservice / pom.xml
index 0f481a6d2bc2ec309eed5639b210333550dfbfcb..5deca09ea940f88596acffba0b3bac9b1c0185dd 100644 (file)
@@ -3,17 +3,23 @@
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.opendaylight.controller</groupId>
-    <artifactId>config-parent</artifactId>
-    <version>0.5.0-SNAPSHOT</version>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>odlparent</artifactId>
+    <version>1.9.0</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.lispflowmapping</groupId>
   <artifactId>mappingservice-parent</artifactId>
-  <version>1.4.0-SNAPSHOT</version>
+  <version>1.6.0-SNAPSHOT</version>
   <packaging>pom</packaging>
-  <name>Mapping Service Parent POM</name>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: lispflowmapping :: ${project.artifactId}</name>
+
+  <properties>
+    <pmd.cpd.fail>true</pmd.cpd.fail>
+  </properties>
 
   <modules>
     <module>lisp-proto</module>
     <module>inmemorydb</module>
     <module>dsbackend</module>
     <module>mapcache</module>
+    <module>config</module>
     <module>implementation</module>
     <module>southbound</module>
-    <!--
     <module>neutron</module>
-    -->
     <module>shell</module>
   </modules>
 
       <dependency>
         <groupId>org.opendaylight.mdsal</groupId>
         <artifactId>mdsal-artifacts</artifactId>
-        <version>2.1.0-SNAPSHOT</version>
+        <version>2.3.0-SNAPSHOT</version>
         <type>pom</type>
         <scope>import</scope>
       </dependency>
       <dependency>
         <groupId>org.opendaylight.mdsal.model</groupId>
         <artifactId>mdsal-model-artifacts</artifactId>
-        <version>0.9.0-SNAPSHOT</version>
+        <version>0.11.0-SNAPSHOT</version>
         <type>pom</type>
         <scope>import</scope>
       </dependency>
@@ -56,6 +61,7 @@
         <groupId>${project.groupId}</groupId>
         <artifactId>common.unittest.tools</artifactId>
         <version>${project.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>junit-addons</groupId>
         <version>1.4</version>
         <scope>test</scope>
       </dependency>
-      <!--
-      <dependency>
-        <groupId>org.jmock</groupId>
-        <artifactId>jmock</artifactId>
-        <version>2.6.0</version>
-        <scope>test</scope>
-      </dependency>
-      -->
-      <!--
-      <dependency>
-        <groupId>org.opendaylight.neutron</groupId>
-        <artifactId>neutron-spi</artifactId>
-        <version>0.7.0-SNAPSHOT</version>
-      </dependency>
-      -->
     </dependencies>
   </dependencyManagement>
 
     </dependency>
   </dependencies>
 
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <!-- Enforce odlparent checkstyle -->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <configuration>
+            <includeTestSourceDirectory>true</includeTestSourceDirectory>
+            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
   <!--
       Maven Site Configuration