Fix karaf4 features
[bgpcep.git] / bgp / cli / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 Inocybe Technologies.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <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">
12
13     <modelVersion>4.0.0</modelVersion>
14     <parent>
15         <groupId>org.opendaylight.bgpcep</groupId>
16         <artifactId>bundle-parent</artifactId>
17         <version>0.8.0-SNAPSHOT</version>
18         <relativePath>../../bundle-parent</relativePath>
19     </parent>
20
21     <artifactId>bgp-cli</artifactId>
22     <description>BGP CLI</description>
23     <packaging>bundle</packaging>
24     <name>${project.artifactId}</name>
25
26     <dependencies>
27         <dependency>
28             <groupId>${project.groupId}</groupId>
29             <artifactId>bgp-parser-api</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>${project.groupId}</groupId>
33             <artifactId>bgp-rib-impl</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>${project.groupId}</groupId>
37             <artifactId>bgp-concepts</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>${project.groupId}</groupId>
41             <artifactId>concepts</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.mdsal</groupId>
45             <artifactId>yang-binding</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.yangtools</groupId>
49             <artifactId>yang-common</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.yangtools</groupId>
53             <artifactId>concepts</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.controller</groupId>
57             <artifactId>config-api</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.mdsal.model</groupId>
61             <artifactId>ietf-inet-types</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>com.google.guava</groupId>
65             <artifactId>guava</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>org.apache.karaf.shell</groupId>
69             <artifactId>org.apache.karaf.shell.console</artifactId>
70             <version>${karaf.version}</version>
71             <scope>provided</scope>
72         </dependency>
73         <dependency>
74             <groupId>org.apache.karaf.shell</groupId>
75             <artifactId>org.apache.karaf.shell.table</artifactId>
76             <version>${karaf.version}</version>
77             <scope>provided</scope>
78         </dependency>
79         <dependency>
80             <groupId>org.apache.karaf.shell</groupId>
81             <artifactId>org.apache.karaf.shell.commands</artifactId>
82             <version>${karaf.version}</version>
83             <scope>provided</scope>
84         </dependency>
85
86         <dependency>
87              <groupId>junit</groupId>
88              <artifactId>junit</artifactId>
89          </dependency>
90          <dependency>
91              <groupId>org.mockito</groupId>
92              <artifactId>mockito-core</artifactId>
93              <scope>test</scope>
94          </dependency>
95     </dependencies>
96
97     <build>
98         <plugins>
99             <plugin>
100                 <groupId>org.apache.felix</groupId>
101                 <artifactId>maven-bundle-plugin</artifactId>
102                 <extensions>true</extensions>
103                 <configuration>
104                     <instructions>
105                         <!-- This bundle works with Karaf 3 and 4.0, see https://wiki.opendaylight.org/view/Karaf_4_migration#Karaf_CLI_commands -->
106                         <Import-Package>
107                             org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
108                             org.apache.karaf.shell.console;version="[3.0.0,4.1)",
109                             org.apache.karaf.shell.table;version="[3.0.0,4.1)",
110                             *
111                         </Import-Package>
112                     </instructions>
113                 </configuration>
114             </plugin>
115         </plugins>
116     </build>
117
118     <scm>
119         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
120         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
121         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
122         <tag>HEAD</tag>
123     </scm>
124
125     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
126     <distributionManagement>
127         <site>
128             <id>opendaylight-site</id>
129             <url>${nexus.site.url}/${project.artifactId}/</url>
130         </site>
131     </distributionManagement>
132 </project>