Update all pom.xml to be aligned with Oxygen
[transportpce.git] / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016 Orange 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" 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>karaf4-parent</artifactId>
14     <version>2.0.5</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.transportpce</groupId>
19   <artifactId>transportpce-karaf</artifactId>
20   <version>0.2.0-SNAPSHOT</version>
21   <name>${project.artifactId}</name>
22   <packaging>pom</packaging>
23
24   <properties>
25     <karaf.localFeature>odl-transportpce-ui</karaf.localFeature>
26   </properties>
27
28   <dependencyManagement>
29     <dependencies>
30       <dependency>
31         <groupId>${project.groupId}</groupId>
32         <artifactId>transportpce-artifacts</artifactId>
33         <version>${project.version}</version>
34         <type>pom</type>
35         <scope>import</scope>
36       </dependency>
37     </dependencies>
38   </dependencyManagement>
39
40   <dependencies>
41     <dependency>
42       <!-- scope is compile so all features (there is only one) are installed
43       into startup.properties and the feature repo itself is not installed -->
44       <groupId>org.apache.karaf.features</groupId>
45       <artifactId>framework</artifactId>
46       <type>kar</type>
47     </dependency>
48
49     <dependency>
50       <groupId>${project.groupId}</groupId>
51       <artifactId>features-transportpce</artifactId>
52       <version>${project.version}</version>
53       <classifier>features</classifier>
54       <type>xml</type>
55       <scope>runtime</scope>
56     </dependency>
57   </dependencies>
58
59   <build>
60     <plugins>
61       <!-- DO NOT deploy the karaf artifact -->
62       <plugin>
63         <groupId>org.apache.maven.plugins</groupId>
64         <artifactId>maven-deploy-plugin</artifactId>
65         <configuration>
66           <skip>true</skip>
67         </configuration>
68       </plugin>
69       <plugin>
70         <groupId>org.apache.maven.plugins</groupId>
71         <artifactId>maven-install-plugin</artifactId>
72         <configuration>
73           <skip>true</skip>
74         </configuration>
75       </plugin>
76     </plugins>
77   </build>
78 </project>