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