Release Carbon
[controller.git] / opendaylight / md-sal / mdsal-trace / cli / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2017 Red Hat 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"
10   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.odlparent</groupId>
15     <artifactId>bundle-parent</artifactId>
16     <version>1.8.4-Carbon</version>
17     <relativePath />
18   </parent>
19
20   <groupId>org.opendaylight.controller</groupId>
21   <artifactId>mdsal-trace-cli</artifactId>
22   <version>1.5.4-Carbon</version>
23   <packaging>bundle</packaging>
24
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.controller</groupId>
29         <artifactId>mdsal-artifacts</artifactId>
30         <version>${project.version}</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34     </dependencies>
35   </dependencyManagement>
36
37   <dependencies>
38     <dependency>
39       <groupId>${project.groupId}</groupId>
40       <artifactId>mdsal-trace-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.apache.karaf.shell</groupId>
44       <artifactId>org.apache.karaf.shell.console</artifactId>
45       <exclusions>
46         <exclusion>
47           <groupId>*</groupId>
48           <artifactId>*</artifactId>
49         </exclusion>
50       </exclusions>
51     </dependency>
52   </dependencies>
53
54   <build>
55     <plugins>
56       <plugin>
57         <groupId>org.apache.felix</groupId>
58         <artifactId>maven-bundle-plugin</artifactId>
59         <extensions>true</extensions>
60         <configuration>
61           <instructions>
62            <!-- This bundle works with Karaf 3 and 4.0, see https://wiki.opendaylight.org/view/Karaf_4_migration#Karaf_CLI_commands -->
63            <Import-Package>
64              org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
65              org.apache.karaf.shell.console;version="[3.0.0,4.1)",
66              *
67            </Import-Package>
68           </instructions>
69         </configuration>
70       </plugin>
71       <plugin>
72         <groupId>org.apache.maven.plugins</groupId>
73         <artifactId>maven-checkstyle-plugin</artifactId>
74         <configuration>
75           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
76         </configuration>
77       </plugin>
78       <plugin>
79        <groupId>org.codehaus.mojo</groupId>
80        <artifactId>findbugs-maven-plugin</artifactId>
81        <configuration>
82          <failOnError>true</failOnError>
83        </configuration>
84      </plugin>
85     </plugins>
86   </build>
87 </project>