Fix mdsal-binding-spi parent setup
[mdsal.git] / binding / mdsal-binding-spi / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright © 2018 Red Hat, Inc. and others.
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"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <parent>
15         <groupId>org.opendaylight.odlparent</groupId>
16         <artifactId>bundle-parent</artifactId>
17         <version>4.0.2</version>
18         <relativePath/>
19     </parent>
20
21     <groupId>org.opendaylight.mdsal</groupId>
22     <artifactId>mdsal-binding-spi</artifactId>
23     <version>3.0.1-SNAPSHOT</version>
24     <packaging>bundle</packaging>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>org.opendaylight.mdsal</groupId>
30                 <artifactId>mdsal-artifacts</artifactId>
31                 <version>3.0.1-SNAPSHOT</version>
32                 <type>pom</type>
33                 <scope>import</scope>
34             </dependency>
35         </dependencies>
36     </dependencyManagement>
37
38     <dependencies>
39         <dependency>
40             <groupId>org.opendaylight.mdsal</groupId>
41             <artifactId>mdsal-binding-api</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.mdsal</groupId>
45             <artifactId>yang-binding</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>com.google.guava</groupId>
49             <artifactId>guava</artifactId>
50         </dependency>
51     </dependencies>
52
53     <build>
54         <plugins>
55             <plugin>
56                 <groupId>org.apache.maven.plugins</groupId>
57                 <artifactId>maven-checkstyle-plugin</artifactId>
58                 <configuration>
59                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
60                 </configuration>
61             </plugin>
62             <plugin>
63                 <groupId>com.github.spotbugs</groupId>
64                 <artifactId>spotbugs-maven-plugin</artifactId>
65                 <configuration>
66                     <failOnError>true</failOnError>
67                 </configuration>
68             </plugin>
69         </plugins>
70     </build>
71
72 </project>