Merge "idmanager Checkstyle now enforced, incl. much work on exception handling"
[genius.git] / mdsalutil / mdsalutil-testutils / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2016 Red Hat, 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"
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.genius</groupId>
15     <artifactId>config-parent</artifactId>
16     <version>0.2.0-SNAPSHOT</version>
17     <relativePath>../../commons/config-parent</relativePath>
18   </parent>
19
20   <groupId>org.opendaylight.genius</groupId>
21   <artifactId>mdsalutil-testutils</artifactId>
22
23   <dependencies>
24     <dependency>
25       <groupId>org.opendaylight.genius</groupId>
26       <artifactId>mdsalutil-api</artifactId>
27       <version>${project.version}</version>
28     </dependency>
29     <dependency>
30       <groupId>org.awaitility</groupId>
31       <artifactId>awaitility</artifactId>
32       <scope>compile</scope> <!-- Do *NOT* use <scope>test</scope> here, because this is a testutils -->
33     </dependency>
34     <dependency>
35       <groupId>org.hamcrest</groupId>
36       <artifactId>hamcrest-core</artifactId>
37       <!-- Hamcrest is internally used by Awaitility, so must be compile instead of test scope for build to work -->
38       <scope>compile</scope>
39     </dependency>
40     <dependency>
41       <groupId>com.google.inject</groupId>
42       <artifactId>guice</artifactId>
43       <scope>compile</scope>
44     </dependency>
45   </dependencies>
46
47   <build>
48     <plugins>
49       <plugin>
50         <groupId>org.apache.maven.plugins</groupId>
51         <artifactId>maven-checkstyle-plugin</artifactId>
52         <configuration>
53           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
54         </configuration>
55       </plugin>
56       <plugin>
57         <groupId>org.codehaus.mojo</groupId>
58         <artifactId>findbugs-maven-plugin</artifactId>
59         <configuration>
60           <failOnError>true</failOnError>
61         </configuration>
62       </plugin>
63     </plugins>
64   </build>
65 </project>