Properties in root pom.xml are sorted now.
[integration/distribution.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 68151d0373e82b25503a880a5c50258dd7af526c..a17b42aa70996792d7c0578605bbffb6899e5fd9 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,13 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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">
+  <parent>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>odlparent</artifactId>
+    <version>1.5.0-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
   <modelVersion>4.0.0</modelVersion>
-  <prerequisites>
-    <maven>3.0</maven>
-  </prerequisites>
   <groupId>org.opendaylight.integration</groupId>
   <artifactId>root</artifactId>
-  <version>0.2.0-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>
     <tag>HEAD</tag>
   </scm>
   <properties>
+    <!-- Keep this list sorted alphabetically please -->
+    <checkstyle.version>2.13</checkstyle.version>
+    <didm.version>0.1.0-SNAPSHOT</didm.version>
+    <enforcer.version>1.3.1</enforcer.version>
+    <feature.adsal.version>0.9.0-SNAPSHOT</feature.adsal.version>
+    <feature.bgpcep.version>0.4.0-SNAPSHOT</feature.bgpcep.version>
+    <feature.capwap.version>0.1.0-SNAPSHOT</feature.capwap.version>
+    <feature.dlux.version>0.2.0-SNAPSHOT</feature.dlux.version>
+    <feature.flow.version>1.2.0-SNAPSHOT</feature.flow.version>
+    <feature.groupbasedpolicy.version>0.2.0-SNAPSHOT</feature.groupbasedpolicy.version>
+    <feature.iotdm.version>0.0.1-SNAPSHOT</feature.iotdm.version>
+    <feature.lacp.version>1.0.0-SNAPSHOT</feature.lacp.version>
+    <feature.lispflowmapping.version>1.2.0-SNAPSHOT</feature.lispflowmapping.version>
+    <feature.mdsal.version>1.2.0-SNAPSHOT</feature.mdsal.version>
+    <feature.nsf.version>0.5.0-SNAPSHOT</feature.nsf.version>
+    <feature.neutron.version>0.5.0-SNAPSHOT</feature.neutron.version>
+    <feature.openflowplugin.version>0.1.0-SNAPSHOT</feature.openflowplugin.version>
+    <feature.ovsdb.openstack.version>1.1.0-SNAPSHOT</feature.ovsdb.openstack.version>
+    <feature.ovsdb.version>1.1.0-SNAPSHOT</feature.ovsdb.version>
+    <feature.packetcable.version>1.2.0-SNAPSHOT</feature.packetcable.version>
+    <feature.plugin2oc.version>0.2.0-SNAPSHOT</feature.plugin2oc.version>
+    <feature.sfc.version>0.1.0-SNAPSHOT</feature.sfc.version>
+    <feature.snbi.version>1.1.0-SNAPSHOT</feature.snbi.version>
+    <feature.tcpmd5.version>1.1.0-SNAPSHOT</feature.tcpmd5.version>
+    <feature.topoprocessing.version>0.0.1-SNAPSHOT</feature.topoprocessing.version>
+    <feature.ttp.version>0.1.0-SNAPSHOT</feature.ttp.version>
+    <feature.usc.version>1.0-SNAPSHOT</feature.usc.version>
+    <feature.vpnservice.version>1.0-SNAPSHOT</feature.vpnservice.version>
+    <feature.vtn-manager.version>0.3.0-SNAPSHOT</feature.vtn-manager.version>
+    <feature.yangtools.version>0.7.0-SNAPSHOT</feature.yangtools.version>
+    <karaf.branding.version>1.1.0-SNAPSHOT</karaf.branding.version>
+    <maven.surefire.version>2.16</maven.surefire.version>
     <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>
+    <snmp.plugin.version>1.0-SNAPSHOT</snmp.plugin.version>
+    <!-- Keep this list sorted alphabetically please -->
   </properties>
   <modules>
     <module>distributions/</module>
     <module>features/</module>
+    <module>feature-selector</module>
   </modules>
-
   <repositories>
-
     <!-- OpenDayLight Repo Mirror -->
     <repository>
       <id>opendaylight-mirror</id>
@@ -67,7 +89,6 @@
       </releases>
     </repository>
   </repositories>
-
   <pluginRepositories>
     <pluginRepository>
       <id>central2</id>
       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
     </pluginRepository>
   </pluginRepositories>
-
   <distributionManagement>
     <!-- OpenDayLight Released artifact -->
     <repository>
       <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>
+          <version>${maven.surefire.version}</version>
         </plugin>
       </plugins>
     </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>${enforcer.version}</version>
+        <executions>
+          <execution>
+            <id>enforce-maven</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <version>3.1.1</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
 </project>