Karaf4 Migration
[alto.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 33403b660e2efef287ee8899ea698969bb549356..7b94d33d0f165e8f95b05e7c356409d56f2bebbb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,10 @@
 <?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">
+<!--
+Copyright © 2015 Copyright (c) Yale University 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 INTERNAL
+--><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>
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
-    <version>1.5.0-SNAPSHOT</version>
+    <version>1.8.0-SNAPSHOT</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.alto</groupId>
   <artifactId>alto-parent</artifactId>
-  <version>0.1.0-SNAPSHOT</version>
+  <version>0.4.0-SNAPSHOT</version>
   <name>alto</name> <!-- Used by Sonar to set project name -->
   <packaging>pom</packaging>
 
-  <modules>
-    <module>alto-model</module>
-    <module>alto-config</module> <!-- required by alto-manager -->
-    <module>alto-provider</module>
-    <module>features</module>
-    <module>alto-commons</module>
-    <module>alto-manager</module>
-    <module>alto-services/api</module>
-    <module>alto-services/ext</module>
-    <!-- <module>alto-karaf</module> -->
-    <module>alto-northbound</module>
-  </modules>
+  <scm>
+    <connection>scm:git:ssh://git.opendaylight.org:29418/alto.git</connection>
+    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/alto.git</developerConnection>
+    <url>https://wiki.opendaylight.org/view/ALTO:Main</url>
+    <tag>HEAD</tag>
+  </scm>
+
+  <profiles>
+    <profile>
+      <id>minimal</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <modules>
+        <module>alto-core</module>
+        <module>alto-basic</module>
+        <module>alto-extensions</module>
+        <module>alto-release-features</module>
+      </modules>
+    </profile>
+
+    <profile>
+      <id>alto-test</id>
+      <modules>
+        <module>alto-core</module>
+        <module>alto-basic</module>
+        <module>alto-extensions</module>
+        <module>alto-release-features</module>
+        <module>alto-karaf</module>
+      </modules>
+    </profile>
+  </profiles>
 
-  <properties>
-    <karaf.shell.version>2.2.11</karaf.shell.version>
-
-    <!-- required by alto command line -->
-    <httpclient.version>4.4.1</httpclient.version>
-
-    <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
-    <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
-
-    <!-- used by yangtools, but the name is strange.
-         TODO: need more investigation -->
-    <config.version>0.3.0-SNAPSHOT</config.version>
-
-    <sal.version>0.7.1-SNAPSHOT</sal.version>
-    <war.version>${karaf.version}</war.version>
-    <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
-    <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
-    <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
-
-    <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
-
-    <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
-      0.1.0-SNAPSHOT
-    </controller.checkstyle.version>
-    <controller.commons.northbound.version> <!-- required by alto-northbound -->
-      0.5.0-SNAPSHOT
-    </controller.commons.northbound.version>
-  </properties>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.opendaylight.yangtools.model</groupId>
-        <artifactId>ietf-inet-types</artifactId>
-        <version>${ietf.model.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.yangtools.model</groupId>
-        <artifactId>ietf-yang-types-20130715</artifactId>
-        <version>${ietf.yang.types.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpclient-osgi</artifactId>
-        <version>${httpclient.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpcore-osgi</artifactId>
-        <version>${httpclient.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>sal-binding-api</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>sal-binding-config</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>sal-common-util</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin> <!-- used by most projects -->
-          <groupId>org.opendaylight.yangtools</groupId>
-          <artifactId>yang-maven-plugin</artifactId>
-          <version>${yangtools.version}</version>
-        </plugin>
-
-        <plugin> <!-- global checkstyle -->
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>${checkstyle.version}</version>
-
-          <executions>
-            <execution>
-              <phase>process-sources</phase>
-              <goals>
-                <goal>check</goal>
-              </goals>
-            </execution>
-          </executions>
-
-          <configuration>
-            <!-- TODO: remove before releasing -->
-            <failsOnError>true</failsOnError>
-            <configLocation>controller/checkstyle.xml</configLocation>
-            <consoleOutput>true</consoleOutput>
-            <includeTestSourceDirectory>true</includeTestSourceDirectory>
-            <sourceDirectory>${project.basedir}</sourceDirectory>
-            <excludes>**\/target\/,**\/bin\/,**\/third-party\/,**\/yang\/gen\/,**\/yang-gen-sal\/</excludes>
-          </configuration>
-
-          <dependencies>
-            <dependency>
-              <groupId>org.opendaylight.controller</groupId>
-              <artifactId>checkstyle</artifactId>
-              <version>${controller.checkstyle.version}</version>
-            </dependency>
-          </dependencies>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
 </project>