Create a parent pom for md-sal sub-projects
[controller.git] / opendaylight / md-sal / samples / toaster-consumer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>mdsal-parent</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8     <relativePath>../../parent</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.controller.samples</groupId>
12   <artifactId>sample-toaster-consumer</artifactId>
13   <version>1.8.0-SNAPSHOT</version>
14   <packaging>bundle</packaging>
15
16   <dependencies>
17     <dependency>
18       <groupId>${project.groupId}</groupId>
19       <artifactId>sample-toaster</artifactId>
20       <version>${project.version}</version>
21     </dependency>
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>sal-common-util</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal-binding-api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.osgi</groupId>
32       <artifactId>org.osgi.core</artifactId>
33     </dependency>
34   </dependencies>
35
36   <build>
37     <plugins>
38       <plugin>
39          <groupId>org.apache.maven.plugins</groupId>
40          <artifactId>maven-checkstyle-plugin</artifactId>
41          <configuration>
42            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
43          </configuration>
44       </plugin>
45       <plugin>
46         <groupId>org.codehaus.mojo</groupId>
47         <artifactId>findbugs-maven-plugin</artifactId>
48         <configuration>
49           <failOnError>true</failOnError>
50         </configuration>
51       </plugin>
52     </plugins>
53   </build>
54
55   <scm>
56     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
57     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
58     <tag>HEAD</tag>
59     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
60   </scm>
61 </project>