BUG-7529: provide Karaf 4 features
[netconf.git] / netconf / netconf-console / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2016 Inocybe Technologies. 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.controller</groupId>
13     <artifactId>config-parent</artifactId>
14     <version>0.6.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.netconf</groupId>
19   <artifactId>netconf-console</artifactId>
20   <version>1.2.0-SNAPSHOT</version>
21   <name>${project.artifactId}</name>
22   <packaging>bundle</packaging>
23
24   <dependencies>
25       <!-- Apache Karaf console dependency -->
26       <dependency>
27           <groupId>org.apache.karaf.shell</groupId>
28           <artifactId>org.apache.karaf.shell.console</artifactId>
29           <version>${karaf.version}</version>
30           <scope>provided</scope>
31       </dependency>
32       <dependency>
33           <groupId>org.apache.karaf.shell</groupId>
34           <artifactId>org.apache.karaf.shell.table</artifactId>
35           <version>${karaf.version}</version>
36           <scope>provided</scope>
37       </dependency>
38
39       <!-- Project Dependencies -->
40       <dependency>
41           <groupId>org.opendaylight.netconf</groupId>
42           <artifactId>sal-netconf-connector</artifactId>
43           <version>${mdsal.version}</version>
44       </dependency>
45       <dependency>
46           <groupId>org.mockito</groupId>
47           <artifactId>mockito-core</artifactId>
48           <scope>test</scope>
49       </dependency>
50       <dependency>
51           <groupId>org.opendaylight.controller</groupId>
52           <artifactId>sal-distributed-datastore</artifactId>
53           <scope>test</scope>
54       </dependency>
55       <dependency>
56           <groupId>org.powermock</groupId>
57           <artifactId>powermock-module-junit4</artifactId>
58           <scope>test</scope>
59       </dependency>
60       <dependency>
61           <groupId>org.powermock</groupId>
62           <artifactId>powermock-api-mockito</artifactId>
63           <scope>test</scope>
64       </dependency>
65       <dependency>
66           <groupId>org.powermock</groupId>
67           <artifactId>powermock-core</artifactId>
68       </dependency>
69       <dependency>
70           <groupId>org.opendaylight.yangtools</groupId>
71           <artifactId>yang-test-util</artifactId>
72       </dependency>
73   </dependencies>
74
75   <build>
76     <plugins>
77       <plugin>
78         <groupId>org.apache.felix</groupId>
79         <artifactId>maven-bundle-plugin</artifactId>
80         <extensions>true</extensions>
81           <configuration>
82             <instructions>
83               <!-- This bundle works with Karaf 3 and 4.0 -->
84               <Import-Package>
85                   org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
86                   org.apache.karaf.shell.console;version="[3.0.0,4.1)",
87                   org.apache.karaf.shell.table;version="[3.0.0,4.1)",
88                   *
89               </Import-Package>
90             </instructions>
91           </configuration>
92         </plugin>
93     </plugins>
94   </build>
95 </project>