Merge "Remove <Embed-Dependency> in netconf-config pom"
[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.odlparent</groupId>
13     <artifactId>bundle-parent</artifactId>
14     <version>2.0.2</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.netconf</groupId>
19   <artifactId>netconf-console</artifactId>
20   <version>1.3.0-SNAPSHOT</version>
21   <name>${project.artifactId}</name>
22   <packaging>bundle</packaging>
23
24   <dependencyManagement>
25     <dependencies>
26       <dependency>
27         <groupId>org.opendaylight.netconf</groupId>
28         <artifactId>netconf-subsystem</artifactId>
29         <version>${project.version}</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33     </dependencies>
34   </dependencyManagement>
35
36   <dependencies>
37       <!-- Apache Karaf console dependency -->
38       <dependency>
39           <groupId>org.apache.karaf.shell</groupId>
40           <artifactId>org.apache.karaf.shell.console</artifactId>
41           <version>${karaf.version}</version>
42           <scope>provided</scope>
43       </dependency>
44       <dependency>
45           <groupId>org.apache.karaf.shell</groupId>
46           <artifactId>org.apache.karaf.shell.table</artifactId>
47           <version>${karaf.version}</version>
48           <scope>provided</scope>
49       </dependency>
50
51       <!-- Project Dependencies -->
52       <dependency>
53           <groupId>org.opendaylight.netconf</groupId>
54           <artifactId>sal-netconf-connector</artifactId>
55       </dependency>
56       <dependency>
57           <groupId>org.mockito</groupId>
58           <artifactId>mockito-core</artifactId>
59           <scope>test</scope>
60       </dependency>
61       <dependency>
62           <groupId>org.opendaylight.controller</groupId>
63           <artifactId>sal-distributed-datastore</artifactId>
64           <scope>test</scope>
65       </dependency>
66       <dependency>
67           <groupId>org.powermock</groupId>
68           <artifactId>powermock-module-junit4</artifactId>
69           <scope>test</scope>
70       </dependency>
71       <dependency>
72           <groupId>org.powermock</groupId>
73           <artifactId>powermock-api-mockito</artifactId>
74           <scope>test</scope>
75       </dependency>
76       <dependency>
77           <groupId>org.powermock</groupId>
78           <artifactId>powermock-core</artifactId>
79       </dependency>
80       <dependency>
81           <groupId>org.opendaylight.yangtools</groupId>
82           <artifactId>yang-test-util</artifactId>
83       </dependency>
84   </dependencies>
85
86   <build>
87     <plugins>
88       <plugin>
89         <groupId>org.apache.felix</groupId>
90         <artifactId>maven-bundle-plugin</artifactId>
91         <extensions>true</extensions>
92           <configuration>
93             <instructions>
94               <!-- This bundle works with Karaf 3 and 4.0 -->
95               <Import-Package>
96                   org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
97                   org.apache.karaf.shell.console;version="[3.0.0,4.1)",
98                   org.apache.karaf.shell.table;version="[3.0.0,4.1)",
99                   *
100               </Import-Package>
101             </instructions>
102           </configuration>
103         </plugin>
104         <plugin>
105             <groupId>org.apache.maven.plugins</groupId>
106             <artifactId>maven-checkstyle-plugin</artifactId>
107             <configuration>
108                 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
109             </configuration>
110         </plugin>
111     </plugins>
112   </build>
113 </project>