Create a parent pom for md-sal sub-projects
[controller.git] / opendaylight / md-sal / samples / toaster-provider / 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-provider</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-binding-api</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal-common-util</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.osgi</groupId>
32       <artifactId>org.osgi.core</artifactId>
33     </dependency>
34
35     <!-- dependencies to use AbstractDataBrokerTest -->
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>sal-binding-broker-impl</artifactId>
39       <scope>test</scope>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>sal-binding-broker-impl</artifactId>
44       <type>test-jar</type>
45       <scope>test</scope>
46     </dependency>
47     <!-- used to mock up classes -->
48      <dependency>
49       <groupId>org.mockito</groupId>
50       <artifactId>mockito-core</artifactId>
51       <scope>test</scope>
52     </dependency>
53   </dependencies>
54
55   <build>
56     <plugins>
57       <plugin>
58          <groupId>org.apache.maven.plugins</groupId>
59          <artifactId>maven-checkstyle-plugin</artifactId>
60          <configuration>
61            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
62          </configuration>
63       </plugin>
64       <plugin>
65         <groupId>org.codehaus.mojo</groupId>
66         <artifactId>findbugs-maven-plugin</artifactId>
67         <configuration>
68           <failOnError>true</failOnError>
69         </configuration>
70       </plugin>
71     </plugins>
72   </build>
73
74   <scm>
75     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
76     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
77     <tag>HEAD</tag>
78     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
79   </scm>
80 </project>