c3b5223d6773be77c585991042b5fd7954b8bec1
[netvirt.git] / openstack / net-virt-sfc / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2015 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 INTERNAL
7 -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0"
9          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   <parent>
12     <groupId>org.opendaylight.odlparent</groupId>
13     <artifactId>karaf-parent</artifactId>
14     <version>1.8.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.netvirt</groupId>
19   <artifactId>openstack.net-virt-sfc-karaf</artifactId>
20   <version>1.4.0-SNAPSHOT</version>
21   <name>${project.artifactId}</name>
22   <prerequisites>
23     <maven>3.1.1</maven>
24   </prerequisites>
25   <properties>
26     <karaf.localFeature>odl-ovsdb-sfc-test</karaf.localFeature>
27   </properties>
28   <dependencyManagement>
29     <dependencies>
30       <dependency>
31         <groupId>${project.groupId}</groupId>
32         <artifactId>openstack.net-virt-sfc-artifacts</artifactId>
33         <version>${project.version}</version>
34         <type>pom</type>
35         <scope>import</scope>
36       </dependency>
37     </dependencies>
38   </dependencyManagement>
39   <dependencies>
40     <dependency>
41       <!-- scope is compile so all features (there is only one) are installed
42       into startup.properties and the feature repo itself is not installed -->
43       <groupId>org.apache.karaf.features</groupId>
44       <artifactId>framework</artifactId>
45       <type>kar</type>
46     </dependency>
47     <dependency>
48       <groupId>${project.groupId}</groupId>
49       <artifactId>openstack.net-virt-sfc-features</artifactId>
50       <version>${project.version}</version>
51       <classifier>features</classifier>
52       <type>xml</type>
53       <scope>runtime</scope>
54     </dependency>
55   </dependencies>
56   <!-- DO NOT install or deploy the karaf artifact -->
57   <build>
58     <plugins>
59       <plugin>
60         <groupId>org.apache.maven.plugins</groupId>
61         <artifactId>maven-deploy-plugin</artifactId>
62         <configuration>
63           <skip>true</skip>
64         </configuration>
65       </plugin>
66     </plugins>
67   </build>
68
69   <!--
70       Maven Site Configuration
71
72       The following configuration is necessary for maven-site-plugin to
73       correctly identify the correct deployment path for OpenDaylight Maven
74       sites.
75   -->
76   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
77
78   <distributionManagement>
79     <site>
80       <id>opendaylight-site</id>
81       <url>${nexus.site.url}/${project.artifactId}/</url>
82     </site>
83   </distributionManagement>
84 </project>