Merge "Modify <repository> by alphabetical order"
[integration/distribution.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 6df257cba52cead8a03171baaca572e17791ad80..68151d0373e82b25503a880a5c50258dd7af526c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
   </prerequisites>
   <groupId>org.opendaylight.integration</groupId>
   <artifactId>root</artifactId>
-  <version>0.1.2-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>
   <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.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>
       <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>