Set root pom.xml <name> for Sonar
[integration/distribution.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 6df257cba52cead8a03171baaca572e17791ad80..134d40c8a02d3835df1b3125a97919ceedddf5b8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,8 +6,8 @@
   </prerequisites>
   <groupId>org.opendaylight.integration</groupId>
   <artifactId>root</artifactId>
-  <version>0.1.2-SNAPSHOT</version>
-  <name>OpenDaylight Integration Project</name>
+  <version>0.3.0-SNAPSHOT</version>
+  <name>integration</name> <!-- Used by Sonar to set project name -->
   <packaging>pom</packaging>
   <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
   <scm>
   <properties>
     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <feature.dlux.version>0.2.0-SNAPSHOT</feature.dlux.version>
+    <feature.mdsal.version>1.2.0-SNAPSHOT</feature.mdsal.version>
+    <feature.flow.version>1.2.0-SNAPSHOT</feature.flow.version>
+    <feature.yangtools.version>0.7.0-SNAPSHOT</feature.yangtools.version>
+    <feature.adsal.version>0.9.0-SNAPSHOT</feature.adsal.version>
+    <feature.nsf.version>0.5.0-SNAPSHOT</feature.nsf.version>
+    <feature.ovsdb.version>1.1.0-SNAPSHOT</feature.ovsdb.version>
+    <feature.ovsdb.openstack.version>1.1.0-SNAPSHOT</feature.ovsdb.openstack.version>
+    <feature.groupbasedpolicy.version>0.2.0-SNAPSHOT</feature.groupbasedpolicy.version>
+    <feature.lispflowmapping.version>1.2.0-SNAPSHOT</feature.lispflowmapping.version>
+    <feature.sfc.version>0.1.0-SNAPSHOT</feature.sfc.version>
+    <feature.snbi.version>1.1.0-SNAPSHOT</feature.snbi.version>
+    <feature.ttp.version>0.1.0-SNAPSHOT</feature.ttp.version>
+    <feature.vtn-manager.version>0.3.0-SNAPSHOT</feature.vtn-manager.version>
+    <feature.bgp.version>0.4.0-SNAPSHOT</feature.bgp.version>
+    <feature.packetcable.version>1.2.0-SNAPSHOT</feature.packetcable.version>
+    <feature.plugin2oc.version>0.2.0-SNAPSHOT</feature.plugin2oc.version>
+    <feature.tcpmd5.version>1.1.0-SNAPSHOT</feature.tcpmd5.version>
+    <karaf.branding.version>1.1.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>
+    <module>feature-selector</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>
+
+
+        <!-- GBP Features -->
+        <dependency>
+          <groupId>org.opendaylight.groupbasedpolicy</groupId>
+          <artifactId>features-groupbasedpolicy</artifactId>
+          <version>${feature.groupbasedpolicy.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+
+        <!-- SFC features -->
+       <dependency>
+          <groupId>org.opendaylight.sfc</groupId>
+          <artifactId>features-sfc</artifactId>
+          <version>${feature.sfc.version}</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+       </dependency>
+
+        <dependency>
+          <groupId>org.opendaylight.tcpmd5</groupId>
+          <artifactId>features-tcpmd5</artifactId>
+          <version>${feature.tcpmd5.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>
+
+        <!-- Plugin2oc Related Features -->
+        <dependency>
+          <groupId>org.opendaylight.plugin2oc</groupId>
+          <artifactId>features-plugin2oc</artifactId>
+          <version>0.2.0-SNAPSHOT</version>
+          <classifier>features</classifier>
+          <type>xml</type>
+        </dependency>
+
+        <!-- packetcable Related Features -->
+        <dependency>
+           <groupId>org.opendaylight.packetcable</groupId>
+           <artifactId>features-packetcable</artifactId>
+           <version>${feature.packetcable.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>