Merge "Adding ttp features"
[integration/distribution.git] / pom.xml
diff --git a/pom.xml b/pom.xml
old mode 100755 (executable)
new mode 100644 (file)
index c115967..a10c6cc
--- a/pom.xml
+++ b/pom.xml
@@ -1,79 +1,71 @@
 <?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">
+<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>
   <prerequisites>
     <maven>3.0</maven>
   </prerequisites>
   <groupId>org.opendaylight.integration</groupId>
   <artifactId>root</artifactId>
-  <version>0.1.0-SNAPSHOT</version>
+  <version>0.2.0-SNAPSHOT</version>
   <name>OpenDaylight Integration Project</name>
   <packaging>pom</packaging>
   <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
   <scm>
-    <connection>scm:git:https://git.opendaylight.org/gerrit/p/integration.git</connection>
+    <connection>scm:git:ssh://git.opendaylight.org:29418/integration.git</connection>
+    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration.git</developerConnection>
+    <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
+    <tag>HEAD</tag>
   </scm>
   <properties>
     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <feature.mdsal.version>1.1-SNAPSHOT</feature.mdsal.version>
+    <feature.flow.version>1.1-SNAPSHOT</feature.flow.version>
+    <feature.yangtools.version>0.6.2-SNAPSHOT</feature.yangtools.version>
+    <feature.adsal.version>0.8.1-SNAPSHOT</feature.adsal.version>
+    <feature.nsf.version>0.4.2-SNAPSHOT</feature.nsf.version>
+    <feature.ovsdb.version>1.0.0-SNAPSHOT</feature.ovsdb.version>
+    <feature.ovsdb.openstack.version>1.0.0-SNAPSHOT</feature.ovsdb.openstack.version>
+    <feature.lispflowmapping.version>1.1.11-SNAPSHOT</feature.lispflowmapping.version>
+    <feature.ttp.version>0.0.1-SNAPSHOT</feature.ttp.version>
+    <feature.vtn-manager.version>0.2.0-SNAPSHOT</feature.vtn-manager.version>
+    <feature.bgp.version>0.3.1-SNAPSHOT</feature.bgp.version>
+    <karaf.branding.version>1.0.0-SNAPSHOT</karaf.branding.version>
+    <karaf.version>3.0.1</karaf.version>
+    <maven.surefire.version>2.16</maven.surefire.version>
+    <checkstyle.version>2.12</checkstyle.version>
   </properties>
   <modules>
     <module>distributions/</module>
+    <module>features/</module>
   </modules>
+
   <repositories>
-    <!-- jsonrpc4j mirror -->
-    <repository>
-      <id>jsonrpc4j-webdav-maven-repo</id>
-      <name>jsonrpc4j maven repository</name>
-      <url>${nexusproxy}/repositories/jsonrpc4j-webdav-maven-repo/</url>
-    </repository>
-    <!-- OpenDayLight Released artifact -->
+
+    <!-- OpenDayLight Repo Mirror -->
     <repository>
-      <id>opendaylight-release</id>
-      <name>opendaylight-release</name>
-      <url>${nexusproxy}/repositories/opendaylight.release/</url>
+      <id>opendaylight-mirror</id>
+      <name>opendaylight-mirror</name>
+      <url>${nexusproxy}/groups/public/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+          <updatePolicy>never</updatePolicy>
+      </releases>
     </repository>
     <!-- OpenDayLight Snapshot artifact -->
     <repository>
       <id>opendaylight-snapshot</id>
       <name>opendaylight-snapshot</name>
       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-    </repository>
-    <!-- EBR release -->
-    <!-- http://repository.springsource.com/maven/bundles/release -->
-    <repository>
-      <id>ebr-bundles-release</id>
-      <name>ebr-bundles-release</name>
-      <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
-    </repository>
-    <!-- EBR external -->
-    <!-- http://repository.springsource.com/maven/bundles/external -->
-    <repository>
-      <id>ebr-bundles-external</id>
-      <name>ebr-bundles-external</name>
-      <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
-    </repository>
-    <!-- Maven repo1 -->
-    <!-- http://repo1.maven.org/maven2 -->
-    <repository>
-      <id>central</id>
-      <name>central</name>
-      <url>http://repo1.maven.org/maven2</url>
-    </repository>
-    <!-- Third Packages hosted in local maven because not available in
-         other places -->
-    <repository>
-      <id>thirdparty</id>
-      <name>thirdparty</name>
-      <url>${nexusproxy}/repositories/thirdparty/</url>
-    </repository>
-    <!-- Jboss mirror -->
-    <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
-    <repository>
-      <id>jboss.releases</id>
-      <name>jboss.releases</name>
-      <url>${nexusproxy}/repositories/jboss.releases/</url>
+      <snapshots>
+          <enabled>true</enabled>
+      </snapshots>
+      <releases>
+          <enabled>false</enabled>
+      </releases>
     </repository>
   </repositories>
 
       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
     </pluginRepository>
   </pluginRepositories>
+
+  <distributionManagement>
+    <!-- OpenDayLight Released artifact -->
+    <repository>
+      <id>opendaylight-release</id>
+      <url>${nexusproxy}/repositories/opendaylight.release/</url>
+    </repository>
+    <!-- OpenDayLight Snapshot artifact -->
+    <snapshotRepository>
+      <id>opendaylight-snapshot</id>
+      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+    </snapshotRepository>
+    <site>
+      <id>${project.artifactId}-site</id>
+      <url>./</url>
+    </site>
+  </distributionManagement>
+  <dependencyManagement>
+      <dependencies>
+        <!-- Karaf basic pieces -->
+        <dependency>
+          <!-- scope is compile so all features (there is only one) are installed
+            into startup.properties and the feature repo itself is not installed -->
+          <groupId>org.apache.karaf.features</groupId>
+          <artifactId>framework</artifactId>
+          <version>${karaf.version}</version>
+          <type>kar</type>
+        </dependency>
+        <!-- scope is runtime so the feature repo is listed in the features
+          service config file, and features may be installed using the
+          karaf-maven-plugin configuration -->
+        <dependency>
+          <groupId>org.apache.karaf.features</groupId>
+          <artifactId>standard</artifactId>
+          <version>${karaf.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+
+        <!-- Karaf Branding -->
+        <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>karaf.branding</artifactId>
+          <version>${karaf.branding.version}</version>
+        </dependency>
+
+        <!-- Integration features -->
+        <dependency>
+          <groupId>org.opendaylight.integration</groupId>
+          <artifactId>features-integration</artifactId>
+          <version>${project.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+        <!-- MD-SAL Related Features -->
+        <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>features-mdsal</artifactId>
+          <version>${feature.mdsal.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+        <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>features-flow</artifactId>
+          <version>${feature.flow.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+        <!-- AD-SAL Related Features -->
+        <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>features-adsal</artifactId>
+          <version>${feature.adsal.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+        <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>features-nsf</artifactId>
+          <version>${feature.nsf.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+        <!-- VTN Features -->
+        <dependency>
+          <groupId>org.opendaylight.vtn</groupId>
+          <artifactId>features-vtn-manager</artifactId>
+          <version>${feature.vtn-manager.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+
+        <dependency>
+          <groupId>org.opendaylight.bgpcep</groupId>
+          <artifactId>features-bgp</artifactId>
+          <version>${feature.bgp.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+
+        <!-- OVSDB Related Features -->
+        <dependency>
+          <groupId>org.opendaylight.ovsdb</groupId>
+          <artifactId>features-ovsdb</artifactId>
+          <version>${feature.ovsdb.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+
+        <!-- test to validate features.xml -->
+        <dependency>
+          <groupId>org.opendaylight.yangtools</groupId>
+          <artifactId>features-test</artifactId>
+          <version>${feature.yangtools.version}</version>
+        </dependency>
+      </dependencies>
+  </dependencyManagement>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>{$maven.surefire.version}</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
 </project>