Merge branch 'master' into topic/ietf_yang
[lispflowmapping.git] / mappingservice / pom.xml
index 4710bc124382bf2754f6f324da41847256c3ce16..aaee63b1593ad34645e77abb8b7ed04b316e92f3 100644 (file)
 <?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>lispflowmapping-code-commons</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
-               <relativePath>../commons/code-parent</relativePath>
-       </parent>
-       <artifactId>mappingservice-parent</artifactId>
-       <version>1.0.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-        <modules>
-               <module>yangmodel</module>
-                <module>api</module>
-                <module>config</module>
-                <module>implementation</module>
-                <module>southbound</module>
-                <module>northbound</module>
-                <module>integrationtest</module>
-        </modules>
-       <dependencies>
-               <dependency>
-                       <groupId>org.opendaylight.lispflowmapping</groupId>
-                       <artifactId>common.unittest.tools</artifactId>
-                       <version>${lispflowmapping.version}</version>
-                       <scope>test</scope>
-               </dependency>
-                       <dependency>
-                               <groupId>junit</groupId>
-                               <artifactId>junit</artifactId>
-                       </dependency>
-                       <dependency>
-                               <groupId>org.hamcrest</groupId>
-                               <artifactId>hamcrest-core</artifactId>
-                               <scope>test</scope>
-                       </dependency>
-                       <dependency>
-                               <groupId>org.jmock</groupId>
-                               <artifactId>jmock-junit4</artifactId>
-                               <scope>test</scope>
-                       </dependency>
-                       <dependency>
-                               <groupId>org.jmock</groupId>
-                               <artifactId>jmock-legacy</artifactId>
-                               <scope>test</scope>
-                       </dependency>
-                       <dependency>
-                               <groupId>junit-addons</groupId>
-                               <artifactId>junit-addons</artifactId>
-                               <scope>test</scope>
-                       </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.controller</groupId>
+    <artifactId>config-parent</artifactId>
+    <version>0.4.0-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
+
+  <groupId>org.opendaylight.lispflowmapping</groupId>
+  <artifactId>mappingservice-parent</artifactId>
+  <version>1.3.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>Mapping Service Parent POM</name>
+
+  <modules>
+    <module>lisp-proto</module>
+    <module>api</module>
+    <!--
+    <module>inmemorydb</module>
+    <module>implementation</module>
+    <module>southbound</module>
+    <module>neutron</module>
+    <module>shell</module>
+    -->
+  </modules>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.opendaylight.mdsal</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.opendaylight.mdsal.model</groupId>
+        <artifactId>mdsal-model-artifacts</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>lispflowmapping-artifacts</artifactId>
+        <version>${project.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>${project.groupId}</groupId>
+        <artifactId>common.unittest.tools</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>junit-addons</groupId>
+        <artifactId>junit-addons</artifactId>
+        <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.6.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>sal</artifactId>
+        <version>0.10.0-SNAPSHOT</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <!-- Temporarily override the odlparent checkstyle configuration.
+               We want to enforce some simple rules and add more as we clean up code -->
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <configuration>
+            <configLocation>checkstyle/java_rules.xml</configLocation>
+            <includeTestSourceDirectory>true</includeTestSourceDirectory>
+            <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
+            <failsOnError>true</failsOnError>
+            <consoleOutput>true</consoleOutput>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>common.build.tools</artifactId>
+              <version>${project.version}</version>
+            </dependency>
+          </dependencies>
+          <executions>
+            <execution>
+              <goals>
+                <goal>check</goal>
+              </goals>
+              <phase>process-sources</phase>
+            </execution>
+          </executions>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
 </project>