Create a parent pom for md-sal sub-projects
[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.controller</groupId>
15     <artifactId>mdsal-parent</artifactId>
16     <version>1.8.0-SNAPSHOT</version>
17     <relativePath>../../parent</relativePath>
18   </parent>
19
20   <groupId>org.opendaylight.controller</groupId>
21   <artifactId>mdsal-trace-cli</artifactId>
22   <version>1.8.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24
25   <dependencies>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>mdsal-trace-api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.apache.karaf.shell</groupId>
32       <artifactId>org.apache.karaf.shell.core</artifactId>
33       <!-- TODO remove <version> once https://git.opendaylight.org/gerrit/#/c/62397/ is merged-->
34       <version>4.0.9</version>
35       <exclusions>
36         <exclusion>
37           <groupId>*</groupId>
38           <artifactId>*</artifactId>
39         </exclusion>
40       </exclusions>
41     </dependency>
42   </dependencies>
43
44   <build>
45     <plugins>
46       <plugin>
47         <groupId>org.apache.felix</groupId>
48         <artifactId>maven-bundle-plugin</artifactId>
49         <extensions>true</extensions>
50         <configuration>
51           <instructions>
52             <Karaf-Commands>*</Karaf-Commands>
53           </instructions>
54         </configuration>
55       </plugin>
56       <plugin>
57         <groupId>org.apache.maven.plugins</groupId>
58         <artifactId>maven-checkstyle-plugin</artifactId>
59         <configuration>
60           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
61         </configuration>
62       </plugin>
63       <plugin>
64        <groupId>org.codehaus.mojo</groupId>
65        <artifactId>findbugs-maven-plugin</artifactId>
66        <configuration>
67          <failOnError>true</failOnError>
68        </configuration>
69      </plugin>
70     </plugins>
71   </build>
72 </project>