Add Karaf build profile
[alto.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2015 Copyright (c) Yale University and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 --><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">
8   <modelVersion>4.0.0</modelVersion>
9   <prerequisites>
10     <maven>3.0</maven>
11   </prerequisites>
12
13   <parent>
14     <groupId>org.opendaylight.odlparent</groupId>
15     <artifactId>odlparent</artifactId>
16     <version>1.8.4-SNAPSHOT</version>
17     <relativePath/>
18   </parent>
19
20   <groupId>org.opendaylight.alto</groupId>
21   <artifactId>alto-parent</artifactId>
22   <version>0.4.4-SNAPSHOT</version>
23   <name>alto</name> <!-- Used by Sonar to set project name -->
24   <packaging>pom</packaging>
25
26   <scm>
27     <connection>scm:git:ssh://git.opendaylight.org:29418/alto.git</connection>
28     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/alto.git</developerConnection>
29     <url>https://wiki.opendaylight.org/view/ALTO:Main</url>
30     <tag>HEAD</tag>
31   </scm>
32
33   <profiles>
34     <profile>
35       <id>minimal</id>
36       <activation>
37         <activeByDefault>true</activeByDefault>
38       </activation>
39       <modules>
40         <module>alto-core</module>
41         <module>alto-basic</module>
42         <module>alto-extensions</module>
43         <module>alto-release-features</module>
44       </modules>
45     </profile>
46
47     <profile>
48       <id>alto-test</id>
49       <modules>
50         <module>alto-core</module>
51         <module>alto-basic</module>
52         <module>alto-extensions</module>
53         <module>alto-release-features</module>
54       </modules>
55     </profile>
56
57     <profile>
58       <id>karaf</id>
59       <activation>
60         <activeByDefault>true</activeByDefault>
61       </activation>
62
63       <modules>
64         <module>alto-karaf</module>
65       </modules>
66     </profile>
67   </profiles>
68
69 </project>