e8b8d4641686271a1f7b26eda4114c426da4292c
[netvirt.git] / vpnservice / distribution / karaf / 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 INTERNAL
8 -->
9 <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">
10   <parent>
11     <groupId>org.opendaylight.odlparent</groupId>
12     <artifactId>karaf-parent</artifactId>
13     <version>1.8.0-SNAPSHOT</version>
14     <relativePath/>
15   </parent>
16   <modelVersion>4.0.0</modelVersion>
17   <groupId>org.opendaylight.netvirt</groupId>
18   <artifactId>vpnservice-karaf</artifactId>
19   <version>0.4.0-SNAPSHOT</version>
20   <name>${project.artifactId}</name>
21   <prerequisites>
22     <maven>3.1.1</maven>
23   </prerequisites>
24   <properties>
25     <!-- <karaf.localFeature>odl-vpnservice-core</karaf.localFeature> -->
26   </properties>
27   <dependencyManagement>
28     <dependencies>
29       <dependency>
30         <groupId>${project.groupId}</groupId>
31         <artifactId>vpnservice-artifacts</artifactId>
32         <version>${project.version}</version>
33         <type>pom</type>
34         <scope>import</scope>
35       </dependency>
36     </dependencies>
37   </dependencyManagement>
38   <dependencies>
39     <dependency>
40       <!-- scope is compile so all features (there is only one) are installed
41       into startup.properties and the feature repo itself is not installed -->
42       <groupId>org.apache.karaf.features</groupId>
43       <artifactId>framework</artifactId>
44       <type>kar</type>
45     </dependency>
46
47     <dependency>
48       <groupId>${project.groupId}</groupId>
49       <artifactId>vpnservice-features</artifactId>
50       <classifier>features</classifier>
51       <type>xml</type>
52       <scope>runtime</scope>
53     </dependency>
54   </dependencies>
55
56   <build>
57     <plugins>
58       <!-- DO NOT deploy the karaf artifact -->
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>