Migrate to odlparent 1.8.0-Carbon
[alto.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 9f46be64ebc91f5a0db4fd6c7b4f5c8dbe4f9cfe..35fab01cd428e5f938a471ef96d1f6edd8780553 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.6.0-SNAPSHOT</version>
+    <version>1.8.0-Carbon</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.alto</groupId>
   <artifactId>alto-parent</artifactId>
-  <version>0.2.0-SNAPSHOT</version>
+  <version>0.5.0-SNAPSHOT</version>
   <name>alto</name> <!-- Used by Sonar to set project name -->
   <packaging>pom</packaging>
 
     <tag>HEAD</tag>
   </scm>
 
-  <modules>
-    <module>alto-model</module>
-    <module>alto-config</module> <!-- required by alto-manager -->
-    <module>alto-provider</module>
-    <module>alto-hosttracker</module>
-    <module>features</module>
-    <module>alto-commons</module>
-    <module>alto-manager</module>
-    <module>alto-services/api</module>
-    <module>alto-services/provider</module>
-    <module>alto-extensions</module>
-    <module>alto-northbound</module>
-    <!-- <module>alto-karaf</module> -->
-  </modules>
+  <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>
-    <odl.version>1.6.0-SNAPSHOT</odl.version>
-    <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.8-SNAPSHOT</ietf.model.version>
-    <ietf.yang.types.version>2013.07.15.8-SNAPSHOT</ietf.yang.types.version>
-    <restconf.version>1.3.0-SNAPSHOT</restconf.version>
-
-    <!-- used by yangtools, but the name is strange.
-         TODO: need more investigation -->
-    <config.version>0.4.0-SNAPSHOT</config.version>
-
-    <sal.version>0.10.0-SNAPSHOT</sal.version>
-    <war.version>${karaf.version}</war.version>
-    <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
-    <mdsal.model.version>0.8.0-SNAPSHOT</mdsal.model.version>
-    <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
-    <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
-
-    <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
-
-    <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
-      0.2.0-SNAPSHOT
-    </controller.checkstyle.version>
-    <controller.commons.northbound.version> <!-- required by alto-northbound -->
-      0.6.0-SNAPSHOT
-    </controller.commons.northbound.version>
-    <l2switch.version>0.3.0-SNAPSHOT</l2switch.version>
-    <ietf.topology.version>2013.10.21.8-SNAPSHOT</ietf.topology.version>
-    <commons.catalina.version>7.0.53.v201406061610</commons.catalina.version>
-    <commons.coyote.version>7.0.53.v201406070630</commons.coyote.version>
-    <commons.juli.version>7.0.53.v201406060720</commons.juli.version>
-    <commons.tomcat.api.version>7.0.53.v201406060720</commons.tomcat.api.version>
-    <commons.tomcat.util.version>7.0.53.v201406070630</commons.tomcat.util.version>
-    <servlet.version>3.0.1</servlet.version>
-  </properties>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.opendaylight.mdsal</groupId>
-        <artifactId>mdsal-artifacts</artifactId>
-        <version>2.0.0-SNAPSHOT</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.mdsal.model</groupId>
-        <artifactId>mdsal-model-artifacts</artifactId>
-        <version>${mdsal.model.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </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>
-      <dependency>
-        <groupId>com.googlecode.concurrent-trees</groupId>
-        <artifactId>concurrent-trees</artifactId>
-        <version>2.4.0</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>
-
-        <plugin>
-          <groupId>org.jacoco</groupId>
-          <artifactId>jacoco-maven-plugin</artifactId>
-          <executions>
-            <execution>
-              <id>prepare-ut-agent</id>
-              <phase>process-test-classes</phase>
-              <goals>
-                <goal>prepare-agent</goal>
-              </goals>
-              <configuration>
-                <destFile>${sonar.jacoco.reportPath}</destFile>
-              </configuration>
-            </execution>
-            <execution>
-              <id>prepare-it-agent</id>
-              <phase>pre-integration-test</phase>
-              <goals>
-                <goal>prepare-agent</goal>
-              </goals>
-              <configuration>
-                <destFile>${sonar.jacoco.itReportPath}</destFile>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-
-    <plugins>
-      <plugin>
-        <groupId>org.jacoco</groupId>
-        <artifactId>jacoco-maven-plugin</artifactId>
-      </plugin>
-    </plugins>
-  </build>
 </project>