6fb97ade58096431e391f47bf3b6d997f3920990
[serviceutils.git] / shell / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.genius</groupId>
13     <artifactId>binding-parent</artifactId>
14     <version>0.4.0-SNAPSHOT</version>
15     <relativePath>../../commons/binding-parent</relativePath>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.genius</groupId>
20   <artifactId>srm-shell</artifactId>
21   <version>${genius.version}</version>
22   <packaging>bundle</packaging>
23   <!-- <name> formatting is used by autorelease to parse and notify projects on
24        build failure. Please do not modify this unless you have a good reason. -->
25   <name>ODL :: genius :: ${project.artifactId}</name>
26
27   <dependencies>
28     <dependency>
29       <groupId>org.opendaylight.genius</groupId>
30       <artifactId>mdsalutil-api</artifactId>
31       <version>${genius.version}</version>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.genius</groupId>
35       <artifactId>srm-api</artifactId>
36       <version>${genius.version}</version>
37     </dependency>
38     <dependency>
39         <groupId>org.opendaylight.controller</groupId>
40         <artifactId>sal-binding-api</artifactId>
41         <version>${controller.mdsal.version}</version>
42     </dependency>
43     <dependency>
44       <groupId>org.apache.karaf.shell</groupId>
45       <artifactId>org.apache.karaf.shell.console</artifactId>
46    </dependency>
47   </dependencies>
48   <build>
49     <plugins>
50       <plugin>
51         <groupId>org.apache.maven.plugins</groupId>
52         <artifactId>maven-checkstyle-plugin</artifactId>
53         <configuration>
54           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
55         </configuration>
56       </plugin>
57       <plugin>
58         <groupId>org.apache.felix</groupId>
59         <artifactId>maven-bundle-plugin</artifactId>
60         <extensions>true</extensions>
61         <configuration>
62           <instructions>
63             <!-- This bundle works with Karaf 3 and 4.0, see https://wiki.opendaylight.org/view/Karaf_4_migration#Karaf_CLI_commands -->
64             <Import-Package>
65               org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
66               org.apache.karaf.shell.console;version="[3.0.0,4.1)",
67               *
68             </Import-Package>
69           </instructions>
70         </configuration>
71       </plugin>
72     </plugins>
73   </build>
74 </project>