Fail build on checkstyle errors
[ovsdb.git] / southbound / southbound-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2014 Cisco Systems, Inc. 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10   <parent>
11     <groupId>org.opendaylight.yangtools</groupId>
12     <artifactId>binding-parent</artifactId>
13     <version>0.7.0-SNAPSHOT</version>
14     <relativePath/>
15   </parent>
16
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.ovsdb</groupId>
19   <artifactId>southbound-api</artifactId>
20   <version>1.1.0-SNAPSHOT</version>
21   <packaging>bundle</packaging>
22   <dependencies>
23     <dependency>
24       <groupId>org.opendaylight.yangtools.model</groupId>
25       <artifactId>ietf-topology</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.yangtools.model</groupId>
29       <artifactId>yang-ext</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.yangtools.model</groupId>
33       <artifactId>ietf-inet-types</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.yangtools.model</groupId>
37       <artifactId>ietf-yang-types-20130715</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.yangtools.model</groupId>
41       <artifactId>opendaylight-l2-types</artifactId>
42     </dependency>
43   </dependencies>
44   <build>
45     <plugins>
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-checkstyle-plugin</artifactId>
49         <configuration>
50           <configLocation>
51             ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
52           </configLocation>
53           <failsOnError>true</failsOnError>
54           <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
55           <excludes>**/yang/</excludes>
56         </configuration>
57       </plugin>
58     </plugins>
59   </build>
60
61 </project>