Rationalize features
[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"
9     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10     <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <artifactId>karaf4-parent</artifactId>
15     <version>6.0.4</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.transportpce</groupId>
20   <artifactId>transportpce-karaf</artifactId>
21   <version>1.0.0-SNAPSHOT</version>
22   <packaging>pom</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <karaf.localFeature>odl-transportpce</karaf.localFeature>
27     <device.yang.jar.extract.directory>
28         ${project.build.outputDirectory}/../yang-models/schema
29     </device.yang.jar.extract.directory>
30     <device.yang.final.directory>
31         ${project.build.outputDirectory}/../assembly/cache/schema
32     </device.yang.final.directory>
33   </properties>
34
35   <dependencies>
36
37     <dependency>
38     <!-- scope is compile so all features (there is only one) are installed into startup.properties
39                 and the feature repo itself is not installed -->
40       <groupId>org.apache.karaf.features</groupId>
41       <artifactId>framework</artifactId>
42       <type>kar</type>
43     </dependency>
44
45     <dependency>
46       <groupId>${project.groupId}</groupId>
47       <artifactId>odl-transportpce</artifactId>
48       <version>${project.version}</version>
49       <classifier>features</classifier>
50       <type>xml</type>
51       <scope>runtime</scope>
52     </dependency>
53     <dependency>
54       <groupId>${project.groupId}</groupId>
55       <artifactId>odl-transportpce-tapi</artifactId>
56       <version>${project.version}</version>
57       <classifier>features</classifier>
58       <type>xml</type>
59       <scope>runtime</scope>
60     </dependency>
61     <dependency>
62       <groupId>${project.groupId}</groupId>
63       <artifactId>odl-transportpce-inventory</artifactId>
64       <version>${project.version}</version>
65       <classifier>features</classifier>
66       <type>xml</type>
67       <scope>runtime</scope>
68     </dependency>
69
70   </dependencies>
71
72   <build>
73     <plugins>
74       <plugin>
75         <groupId>org.apache.maven.plugins</groupId>
76         <artifactId>maven-deploy-plugin</artifactId>
77         <configuration>
78           <skip>true</skip>
79         </configuration>
80       </plugin>
81     </plugins>
82   </build>
83 </project>