Disable building sfc by default
[netvirt.git] / artifacts / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>odlparent-lite</artifactId>
15         <version>3.0.2</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.netvirt</groupId>
20     <artifactId>netvirt-artifacts</artifactId>
21     <version>0.7.0-SNAPSHOT</version>
22     <name>ODL :: netvirt :: ${project.artifactId}</name>
23     <packaging>pom</packaging>
24     <modelVersion>4.0.0</modelVersion>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>${project.groupId}</groupId>
30                 <artifactId>netvirt-features</artifactId>
31                 <version>${project.version}</version>
32                 <classifier>features</classifier>
33                 <type>xml</type>
34             </dependency>
35             <dependency>
36                 <groupId>${project.groupId}</groupId>
37                 <artifactId>odl-netvirt-api</artifactId>
38                 <version>${project.version}</version>
39                 <classifier>features</classifier>
40                 <type>xml</type>
41             </dependency>
42             <dependency>
43                 <groupId>${project.groupId}</groupId>
44                 <artifactId>odl-netvirt-impl</artifactId>
45                 <version>${project.version}</version>
46                 <classifier>features</classifier>
47                 <type>xml</type>
48             </dependency>
49             <dependency>
50                 <groupId>${project.groupId}</groupId>
51                 <artifactId>odl-netvirt-openstack</artifactId>
52                 <version>${project.version}</version>
53                 <classifier>features</classifier>
54                 <type>xml</type>
55             </dependency>
56             <!--<dependency>
57               <groupId>${project.groupId}</groupId>
58               <artifactId>odl-netvirt-ui</artifactId>
59               <version>${project.version}</version>
60               <classifier>features</classifier>
61               <type>xml</type>
62             </dependency>-->
63         </dependencies>
64     </dependencyManagement>
65
66     <profiles>
67         <profile>
68             <id>sfc</id>
69             <activation>
70                 <activeByDefault>false</activeByDefault>
71             </activation>
72             <dependencyManagement>
73                 <dependencies>
74                     <dependency>
75                         <groupId>${project.groupId}</groupId>
76                         <artifactId>odl-netvirt-sfc</artifactId>
77                         <version>${project.version}</version>
78                         <classifier>features</classifier>
79                         <type>xml</type>
80                     </dependency>
81                 </dependencies>
82             </dependencyManagement>
83         </profile>
84         <profile>
85             <!-- When enabled, this empty profile disables the “sfc” profile above -->
86             <id>no-sfc</id>
87         </profile>
88     </profiles>
89 </project>