Add Karaf build profile
[ovsdb.git] / southbound / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2014, 2016 Cisco Systems 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 -->
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">
9
10   <parent>
11     <groupId>org.opendaylight.odlparent</groupId>
12     <artifactId>odlparent-lite</artifactId>
13     <version>3.0.2</version>
14     <relativePath/>
15   </parent>
16
17   <groupId>org.opendaylight.ovsdb</groupId>
18   <artifactId>southbound-aggregator</artifactId>
19   <version>1.7.0-SNAPSHOT</version>
20   <!-- <name> formatting is used by autorelease to parse and notify projects on
21        build failure. Please do not modify this unless you have a good reason. -->
22   <name>ODL :: ovsdb :: ${project.artifactId}</name>
23   <packaging>pom</packaging>
24   <modelVersion>4.0.0</modelVersion>
25   <modules>
26     <module>southbound-api</module>
27     <module>southbound-impl</module>
28     <module>southbound-features</module>
29     <module>southbound-artifacts</module>
30     <module>southbound-it</module>
31   </modules>
32
33   <profiles>
34     <profile>
35       <id>karaf</id>
36       <activation>
37         <activeByDefault>true</activeByDefault>
38       </activation>
39
40       <modules>
41         <module>southbound-karaf</module>
42       </modules>
43     </profile>
44   </profiles>
45
46   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
47   <build>
48     <plugins>
49       <plugin>
50         <groupId>org.apache.maven.plugins</groupId>
51         <artifactId>maven-deploy-plugin</artifactId>
52         <configuration>
53           <skip>true</skip>
54         </configuration>
55       </plugin>
56       <plugin>
57         <groupId>org.apache.maven.plugins</groupId>
58         <artifactId>maven-install-plugin</artifactId>
59         <configuration>
60           <skip>true</skip>
61         </configuration>
62       </plugin>
63     </plugins>
64   </build>
65 </project>