Release Sulfur
[integration/distribution.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 1eca8076621eb8279edd8427ac4007d8f2d69ffe..c1bcacec7de35d7caa4bc30166e79679c65670e9 100644 (file)
--- a/pom.xml
+++ b/pom.xml
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+ Copyright (c) 2014-2017 Cisco Systems, Inc. and others.  All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
 <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.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: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>
-    <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>
-
-    <!-- OpenDayLight Repo Mirror -->
-    <repository>
-      <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>
-      <snapshots>
-          <enabled>true</enabled>
-      </snapshots>
-      <releases>
-          <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-
-  <pluginRepositories>
-    <pluginRepository>
-      <id>central2</id>
-      <name>central2</name>
-      <url>${nexusproxy}/repositories/central2/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <id>opendaylight-snapshot</id>
-      <name>central2</name>
-      <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>
-
-        <!-- 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>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>10.0.0</version>
+        <relativePath/>
+    </parent>
+    <groupId>org.opendaylight.integration</groupId>
+    <artifactId>distribution-aggregator</artifactId>
+    <version>0.16.0</version>
+    <packaging>pom</packaging>
+    <!-- <name> value is used by Sonar to set project name -->
+    <name>Integration/Distribution</name>
+    <description>OpenDaylight Integration/Distribution project, used for creating complete Karaf distribution packages.</description>
+    <url>https://wiki.opendaylight.org/x/ggYF</url>
+    <licenses>
+        <license>
+            <name>Eclipse Public License v1.0</name>
+            <url>http://www.eclipse.org/legal/epl-v10.html</url>
+        </license>
+    </licenses>
+    <!-- FIXME: Add developers section -->
+    <scm>
+        <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
+        <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;hb=HEAD</url>
+        <tag>HEAD</tag>
+    </scm>
+    <profiles>
+        <profile>
+            <id>managed</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <modules>
+                <module>artifacts</module>
+                <module>karaf-scripts</module>
+                <module>karaf</module>
+                <module>features</module>
+                <module>onap-karaf</module>
+            </modules>
+        </profile>
+       <profile>
+            <id>unmanaged</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <modules>
+                <module>opendaylight</module>
+            </modules>
+        </profile>
+    </profiles>
 </project>