Merge "fix netconf testtool portmapping"
[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>3.1.3</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.transportpce</groupId>
20   <artifactId>transportpce-karaf</artifactId>
21   <version>0.3.0-SNAPSHOT</version>
22   <name>${project.artifactId}</name>
23   <packaging>pom</packaging>
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     <dependencyManagement>
36         <dependencies>
37             <dependency>
38                 <groupId>${project.groupId}</groupId>
39                 <artifactId>transportpce-artifacts</artifactId>
40                 <version>${project.version}</version>
41                 <type>pom</type>
42                 <scope>import</scope>
43             </dependency>
44             <dependency>
45                 <groupId>${project.groupId}.ordmodels</groupId>
46                 <artifactId>transportpce-ordmodels-device</artifactId>
47                 <version>${project.version}</version>
48                 <type>pom</type>
49                 <scope>import</scope>
50             </dependency>
51         </dependencies>
52     </dependencyManagement>
53
54     <dependencies>
55         <dependency>
56             <!-- scope is compile so all features (there is only one) are installed into startup.properties
57                 and the feature repo itself is not installed -->
58             <groupId>org.apache.karaf.features</groupId>
59             <artifactId>framework</artifactId>
60             <type>kar</type>
61         </dependency>
62
63         <dependency>
64             <groupId>${project.groupId}</groupId>
65             <artifactId>features-transportpce</artifactId>
66             <version>${project.version}</version>
67             <classifier>features</classifier>
68             <type>xml</type>
69             <scope>runtime</scope>
70         </dependency>
71     </dependencies>
72
73      <build>
74          <plugins>
75              <plugin>
76                  <groupId>org.apache.maven.plugins</groupId>
77                  <artifactId>maven-deploy-plugin</artifactId>
78                  <configuration>
79                      <skip>true</skip>
80                  </configuration>
81              </plugin>
82          </plugins>
83      </build>
84
85
86 </project>