Drop Maven prerequisite
[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   <properties>
22     <!-- <karaf.localFeature>odl-vpnservice-core</karaf.localFeature> -->
23   </properties>
24   <dependencyManagement>
25     <dependencies>
26       <dependency>
27         <groupId>${project.groupId}</groupId>
28         <artifactId>vpnservice-artifacts</artifactId>
29         <version>${project.version}</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33     </dependencies>
34   </dependencyManagement>
35   <dependencies>
36     <dependency>
37       <!-- scope is compile so all features (there is only one) are installed
38       into startup.properties and the feature repo itself is not installed -->
39       <groupId>org.apache.karaf.features</groupId>
40       <artifactId>framework</artifactId>
41       <type>kar</type>
42     </dependency>
43
44     <dependency>
45       <groupId>${project.groupId}</groupId>
46       <artifactId>vpnservice-features</artifactId>
47       <classifier>features</classifier>
48       <type>xml</type>
49       <scope>runtime</scope>
50     </dependency>
51   </dependencies>
52
53   <build>
54     <plugins>
55       <!-- DO NOT deploy the karaf artifact -->
56       <plugin>
57         <groupId>org.apache.maven.plugins</groupId>
58         <artifactId>maven-deploy-plugin</artifactId>
59         <configuration>
60           <skip>true</skip>
61         </configuration>
62       </plugin>
63     </plugins>
64   </build>
65
66   <!--
67       Maven Site Configuration
68
69       The following configuration is necessary for maven-site-plugin to
70       correctly identify the correct deployment path for OpenDaylight Maven
71       sites.
72   -->
73   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
74
75   <distributionManagement>
76     <site>
77       <id>opendaylight-site</id>
78       <url>${nexus.site.url}/${project.artifactId}/</url>
79     </site>
80   </distributionManagement>
81 </project>